]>
git.ipfire.org Git - thirdparty/chrony.git/log
Miroslav Lichvar [Tue, 27 Apr 2010 13:56:48 +0000 (15:56 +0200)]
Don't log network is unreachable errors
Miroslav Lichvar [Tue, 27 Apr 2010 11:47:40 +0000 (13:47 +0200)]
Fix name resolving when IPv6 support is disabled
Miroslav Lichvar [Mon, 26 Apr 2010 15:38:09 +0000 (17:38 +0200)]
Add delayed name resolving for servers and peers
Resolving is retried in increasing intervals (maximum is one hour)
until it succeeds or fails with a non-temporary error.
Unresolved sources are included in the activity report as offline
sources and the online command can be used to retry it immediately.
This could be improved by resolving in a separate thread/process
to avoid blocking.
Miroslav Lichvar [Mon, 26 Apr 2010 14:05:56 +0000 (16:05 +0200)]
Don't retry resolving in DNS_Name2IPAddress
Instead of retrying to resolve it in the function and blocking for a
long time, return a TryAgain status and let the caller retry it later if
necessary.
Miroslav Lichvar [Mon, 26 Apr 2010 13:04:00 +0000 (15:04 +0200)]
Merge NSR/NCR server and peer functions
Miroslav Lichvar [Fri, 23 Apr 2010 10:53:26 +0000 (12:53 +0200)]
Set maxupdateskew to 1000 ppm by default
This will prevent from using unreliable frequency estimate on iburst
when starting without drift file.
Miroslav Lichvar [Fri, 23 Apr 2010 10:40:50 +0000 (12:40 +0200)]
Add iburst server option
Miroslav Lichvar [Wed, 21 Apr 2010 15:30:35 +0000 (17:30 +0200)]
Clamp tick value before calling adjtimex
If tick is outside allowed adjtimex range, clamp it and log a warning
instead of aborting.
Miroslav Lichvar [Tue, 20 Apr 2010 16:29:39 +0000 (18:29 +0200)]
Return actual frequency in drv_set_freq functions
This is needed to keep sourcestats accurate when the actual frequency is
different from the requested frequency due to clamping (or possibly
rounding in future system drivers).
Miroslav Lichvar [Tue, 20 Apr 2010 12:26:59 +0000 (14:26 +0200)]
Add dispersion after Linux makestep
Miroslav Lichvar [Mon, 19 Apr 2010 14:26:14 +0000 (16:26 +0200)]
Mark source unreachable after offline burst
Miroslav Lichvar [Mon, 19 Apr 2010 13:53:39 +0000 (15:53 +0200)]
Increase burst polling interval
To avoid getting KoD RATE from NTP server (triggering discard minimum 1)
when burst sampling, increase polling interval to 2 seconds.
Miroslav Lichvar [Mon, 19 Apr 2010 13:10:25 +0000 (15:10 +0200)]
Stop burst sampling when received KoD RATE
Miroslav Lichvar [Thu, 15 Apr 2010 13:48:31 +0000 (15:48 +0200)]
Update drift file at most once per hour
Instead of writing to the file on every reference update, update it
on first update, on exit and otherwise only once per hour.
Miroslav Lichvar [Wed, 21 Apr 2010 12:26:17 +0000 (14:26 +0200)]
Remove absolute frequency from handler parameters
None of the current handlers really need it and with temperature
compensation enabled it would be necessary to undo the compensation
before passing it to the handlers.
Miroslav Lichvar [Mon, 12 Apr 2010 15:07:57 +0000 (17:07 +0200)]
Add temperature compensation
A new tempcomp directive can be used to specify a file for reading
current temperature, update interval and compensation coefficients. The
clock frequency corrections are applied in local module and are invisible
in upper layers. The measurements and corrections can be logged to
tempcomp.log file.
Miroslav Lichvar [Fri, 9 Apr 2010 12:29:11 +0000 (14:29 +0200)]
Add fallback drifts
Fallback drifts are long-term averages of the system clock drift
calculated over exponentially increasing intervals. They are used when
the clock is unsynchronised to avoid quickly drifting away from true
time if there was a short-term deviation in drift before the
synchronisation was lost.
Miroslav Lichvar [Wed, 21 Apr 2010 08:29:04 +0000 (10:29 +0200)]
Fix frequency accumulation
Miroslav Lichvar [Tue, 13 Apr 2010 13:10:44 +0000 (15:10 +0200)]
Fix possible memory leak in mkdir_and_parents()
Miroslav Lichvar [Tue, 13 Apr 2010 13:09:28 +0000 (15:09 +0200)]
Refactor file logging
Håkan Johansson [Wed, 7 Apr 2010 12:26:41 +0000 (14:26 +0200)]
Avoid large times in chronyc sources / sourcestats overflowing lines
Main trouble was double values too large to be represented as ints being
converted to -INT_MAX and then passing the < 9999 cut.
Miroslav Lichvar [Fri, 2 Apr 2010 13:55:58 +0000 (15:55 +0200)]
Mark offline sources unreachable
Miroslav Lichvar [Tue, 2 Mar 2010 12:10:54 +0000 (13:10 +0100)]
Add refclock precision
Miroslav Lichvar [Tue, 2 Mar 2010 12:07:37 +0000 (13:07 +0100)]
Reduce noise in refclock sample dispersions
Use the estimated dispersion only if it's higher than long-term average.
This should improve performance with short polling intervals.
Miroslav Lichvar [Wed, 24 Feb 2010 11:07:08 +0000 (12:07 +0100)]
Log also filtered samples
Miroslav Lichvar [Wed, 24 Feb 2010 11:02:53 +0000 (12:02 +0100)]
Adjust refclock filter parameters
Drop only about 40 percent of samples, change default length to 64,
require at least 4 samples between polls (or full filter for lengths
below 4).
Miroslav Lichvar [Thu, 11 Feb 2010 19:35:19 +0000 (20:35 +0100)]
Make linear fit in refclock dispersion calculation
This should improve reaction to sudden temperature changes with
very precise refclocks and/or long polling intervals.
Miroslav Lichvar [Wed, 10 Feb 2010 17:04:32 +0000 (18:04 +0100)]
Estimate offset correction error in Linux driver
Miroslav Lichvar [Tue, 16 Feb 2010 17:16:03 +0000 (18:16 +0100)]
Add dispersion notification handlers
Miroslav Lichvar [Wed, 10 Feb 2010 15:05:13 +0000 (16:05 +0100)]
Include offset correction error in dispersion
Miroslav Lichvar [Wed, 10 Feb 2010 14:59:40 +0000 (15:59 +0100)]
Prepare for handling offset correction error
Miroslav Lichvar [Thu, 11 Feb 2010 18:23:26 +0000 (19:23 +0100)]
Don't set system precision to log2 based value
Miroslav Lichvar [Tue, 16 Feb 2010 15:27:56 +0000 (16:27 +0100)]
Fix stratum with locked PPS refclock and local stratum
Miroslav Lichvar [Thu, 4 Feb 2010 11:43:33 +0000 (12:43 +0100)]
Update NEWS
Miroslav Lichvar [Wed, 13 Jan 2010 18:02:07 +0000 (19:02 +0100)]
Limit rate of syslog messages
Error messages caused by incoming packets need to be rate limited
to avoid filling up disk space.
Miroslav Lichvar [Wed, 13 Jan 2010 16:40:20 +0000 (17:40 +0100)]
Don't reply to invalid chronyc packets
Miroslav Lichvar [Thu, 4 Feb 2010 11:51:52 +0000 (12:51 +0100)]
Update list of commands not using authentication in documentation
Miroslav Lichvar [Thu, 4 Feb 2010 11:39:18 +0000 (12:39 +0100)]
Initialize local_ntp_tx in ntp_core
This fixes another valgrind error.
Miroslav Lichvar [Fri, 29 Jan 2010 08:50:51 +0000 (09:50 +0100)]
Allow to set only permission bits with perm option
Miroslav Lichvar [Thu, 28 Jan 2010 09:03:54 +0000 (10:03 +0100)]
Add perm option to SHM driver
Miroslav Lichvar [Thu, 28 Jan 2010 08:14:42 +0000 (09:14 +0100)]
Add common refclock driver option parsing
Miroslav Lichvar [Wed, 27 Jan 2010 18:14:38 +0000 (19:14 +0100)]
Add lock option for PPS refclocks
Miroslav Lichvar [Wed, 27 Jan 2010 12:53:49 +0000 (13:53 +0100)]
Don't start chronyd with unrecognized command line options
Hattink, Tjalling (FINT) [Tue, 26 Jan 2010 16:11:33 +0000 (17:11 +0100)]
Fix scheduler to allow stepping clock from timeout handler
Miroslav Lichvar [Mon, 25 Jan 2010 14:33:56 +0000 (15:33 +0100)]
Add makestep directive
Miroslav Lichvar [Mon, 25 Jan 2010 12:07:13 +0000 (13:07 +0100)]
Handle immediate step in local module instead of system driver
This fixes the problem where scheduler wasn't notified about performed
steps and it also makes the command available on all supported systems.
Miroslav Lichvar [Thu, 21 Jan 2010 16:11:17 +0000 (17:11 +0100)]
Limit timeout for end of slew to avoid overflow
Miroslav Lichvar [Wed, 13 Jan 2010 13:40:13 +0000 (14:40 +0100)]
Don't require _bigadj kernel symbol in NetBSD driver
Miroslav Lichvar [Wed, 13 Jan 2010 13:00:12 +0000 (14:00 +0100)]
Print only printable characters from refid
Miroslav Lichvar [Tue, 12 Jan 2010 17:28:04 +0000 (18:28 +0100)]
Fix name resolving on NetBSD
Miroslav Lichvar [Tue, 12 Jan 2010 17:05:41 +0000 (18:05 +0100)]
Increase buffers used to print IPv6 addresses
Miroslav Lichvar [Tue, 12 Jan 2010 16:58:03 +0000 (17:58 +0100)]
Return 0 from DNS_IPAddress2Name when name was truncated
Miroslav Lichvar [Tue, 12 Jan 2010 15:59:11 +0000 (16:59 +0100)]
Write banner to tracking log when not synchronized
Bill Unruh [Sun, 20 Dec 2009 11:23:02 +0000 (12:23 +0100)]
Log warning when changing file ownership fails
Miroslav Lichvar [Tue, 15 Dec 2009 15:07:34 +0000 (16:07 +0100)]
Update NEWS
Miroslav Lichvar [Sun, 13 Dec 2009 13:53:58 +0000 (14:53 +0100)]
Move estimated offset and error to sourcestats report
And print the estimated offset in sourcestats output.
Miroslav Lichvar [Sat, 12 Dec 2009 19:15:51 +0000 (20:15 +0100)]
Check also for log and pow functions in configure
Miroslav Lichvar [Sat, 12 Dec 2009 18:40:30 +0000 (19:40 +0100)]
Add FreeBSD-amd64 to configure
Miroslav Lichvar [Sat, 12 Dec 2009 17:44:35 +0000 (18:44 +0100)]
Replace integer microseconds in reports with floating-point values
Miroslav Lichvar [Sat, 12 Dec 2009 17:36:32 +0000 (18:36 +0100)]
Remove resid_freq and resid_skew from source report
They were not printed and they are also in sourcestats report.
Miroslav Lichvar [Sat, 12 Dec 2009 17:23:26 +0000 (18:23 +0100)]
Replace fixed-point format with floating-point in cmdmon protocol
Miroslav Lichvar [Sat, 12 Dec 2009 15:44:38 +0000 (16:44 +0100)]
Use nanoseconds in timevals in cmdmon protocol
Miroslav Lichvar [Thu, 10 Dec 2009 17:36:52 +0000 (18:36 +0100)]
Use AI_ADDRCONFIG only when defined
This seems to be missing on NetBSD.
John G. Hasler [Thu, 10 Dec 2009 13:55:02 +0000 (07:55 -0600)]
Edited faq.txt to match the version on the Website.
Miroslav Lichvar [Mon, 7 Dec 2009 11:51:56 +0000 (12:51 +0100)]
Use exact address size in bind and sendto calls
Apparently this is needed on some systems, otherwise the calls
return EINVAL.
Miroslav Lichvar [Mon, 7 Dec 2009 11:39:16 +0000 (12:39 +0100)]
Use IP_PKTINFO and SO_TIMESTAMP only when defined
Miroslav Lichvar [Mon, 7 Dec 2009 11:32:28 +0000 (12:32 +0100)]
Fix sys_sunos compilation
Miroslav Lichvar [Mon, 7 Dec 2009 11:31:35 +0000 (12:31 +0100)]
Remove socket binding in chronyc
Randomly assigned port should work fine, no need for binding.
Miroslav Lichvar [Sat, 5 Dec 2009 12:26:25 +0000 (13:26 +0100)]
Add missing commands to chronyc help
Miroslav Lichvar [Sat, 5 Dec 2009 12:25:56 +0000 (13:25 +0100)]
Add dns command to configure DNS resolving in chronyc
Miroslav Lichvar [Sat, 5 Dec 2009 00:13:26 +0000 (01:13 +0100)]
Fix request_reply() return code if no response received
Miroslav Lichvar [Fri, 4 Dec 2009 11:57:26 +0000 (12:57 +0100)]
Update documentation a bit more
Miroslav Lichvar [Fri, 4 Dec 2009 11:30:30 +0000 (12:30 +0100)]
Set default chrony.conf path according to sysconfdir
Miroslav Lichvar [Fri, 4 Dec 2009 11:26:25 +0000 (12:26 +0100)]
Improve configure
Miroslav Lichvar [Thu, 3 Dec 2009 11:20:50 +0000 (12:20 +0100)]
Don't call ReadCookedTime after select timeout
Miroslav Lichvar [Wed, 2 Dec 2009 14:35:15 +0000 (15:35 +0100)]
Update documentation
Miroslav Lichvar [Wed, 2 Dec 2009 14:19:54 +0000 (15:19 +0100)]
Add flags field to chronyc add source request
This will allow adding new flags without breaking compatibility.
Miroslav Lichvar [Tue, 1 Dec 2009 16:17:18 +0000 (17:17 +0100)]
Remove hyphen from git commands in make_release
Miroslav Lichvar [Tue, 1 Dec 2009 15:01:31 +0000 (16:01 +0100)]
Close socket in SOCK finalise
Miroslav Lichvar [Mon, 30 Nov 2009 16:18:28 +0000 (17:18 +0100)]
Fix printing refclocks and IPv6 sources in statistics log
Miroslav Lichvar [Mon, 30 Nov 2009 16:03:04 +0000 (17:03 +0100)]
Flush filter when PPS refclock lost sync
Miroslav Lichvar [Mon, 30 Nov 2009 15:51:29 +0000 (16:51 +0100)]
Mark SOCK driver as PPS capable
Miroslav Lichvar [Mon, 30 Nov 2009 15:46:08 +0000 (16:46 +0100)]
Open rtc log after dropping root privileges
Miroslav Lichvar [Mon, 30 Nov 2009 15:34:47 +0000 (16:34 +0100)]
Swap leap signs in measurements log description
Miroslav Lichvar [Mon, 30 Nov 2009 15:33:06 +0000 (16:33 +0100)]
Add refclocks log
Miroslav Lichvar [Mon, 30 Nov 2009 12:19:55 +0000 (13:19 +0100)]
Read local time immediately after select()
This removes a small inaccuracy caused by delay between select() and
file handler calls.
Miroslav Lichvar [Fri, 27 Nov 2009 15:25:39 +0000 (16:25 +0100)]
Clean up configure a bit
Miroslav Lichvar [Fri, 27 Nov 2009 14:59:32 +0000 (15:59 +0100)]
Add editline, readline, linuxcaps detection to configure
Miroslav Lichvar [Fri, 27 Nov 2009 12:21:57 +0000 (13:21 +0100)]
Use 644/755 permissions instead of 444/555
Miroslav Lichvar [Fri, 27 Nov 2009 12:20:57 +0000 (13:20 +0100)]
Don't change file ownership in installation
Miroslav Lichvar [Fri, 27 Nov 2009 12:11:29 +0000 (13:11 +0100)]
Add bindir, sbindir, docdir options to configure
Miroslav Lichvar [Fri, 27 Nov 2009 11:27:11 +0000 (12:27 +0100)]
Regenerate getdate.c
Miroslav Lichvar [Fri, 27 Nov 2009 11:25:36 +0000 (12:25 +0100)]
Include getdate.y to allow regenerating getdate.c
Taken from GNU tar-1.13. Patched yylex and yyerror declarations to avoid
compiler warnings.
Miroslav Lichvar [Thu, 26 Nov 2009 12:41:07 +0000 (13:41 +0100)]
Add s390 and powerpc definitions to io_linux.h
Miroslav Lichvar [Wed, 25 Nov 2009 13:22:11 +0000 (14:22 +0100)]
Clean up system options code
Abort with error message when trying to use unsupported/disabled
system specific option.
Miroslav Lichvar [Wed, 25 Nov 2009 11:37:32 +0000 (12:37 +0100)]
Add new cmdmon status codes for packet version and length mismatch
With next procotol version this will allow chronyc to report that
chronyd is using a different protocol version.
Miroslav Lichvar [Tue, 24 Nov 2009 16:48:30 +0000 (17:48 +0100)]
Check SOCK protocol version
Miroslav Lichvar [Tue, 24 Nov 2009 16:16:24 +0000 (17:16 +0100)]
Add PPS support to SOCK driver
Miroslav Lichvar [Tue, 24 Nov 2009 15:52:52 +0000 (16:52 +0100)]
Make some socket error messages more descriptive
Miroslav Lichvar [Tue, 24 Nov 2009 15:05:47 +0000 (16:05 +0100)]
Add option to limit clientlog memory