]> git.ipfire.org Git - thirdparty/chrony.git/log
thirdparty/chrony.git
15 years agoUpdate drift file at most once per hour
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.

15 years agoRemove absolute frequency from handler parameters
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.

15 years agoAdd temperature compensation
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.

15 years agoAdd fallback drifts
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.

15 years agoFix frequency accumulation
Miroslav Lichvar [Wed, 21 Apr 2010 08:29:04 +0000 (10:29 +0200)] 
Fix frequency accumulation

15 years agoFix possible memory leak in mkdir_and_parents()
Miroslav Lichvar [Tue, 13 Apr 2010 13:10:44 +0000 (15:10 +0200)] 
Fix possible memory leak in mkdir_and_parents()

15 years agoRefactor file logging
Miroslav Lichvar [Tue, 13 Apr 2010 13:09:28 +0000 (15:09 +0200)] 
Refactor file logging

15 years agoAvoid large times in chronyc sources / sourcestats overflowing lines
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.

15 years agoMark offline sources unreachable
Miroslav Lichvar [Fri, 2 Apr 2010 13:55:58 +0000 (15:55 +0200)] 
Mark offline sources unreachable

15 years agoAdd refclock precision
Miroslav Lichvar [Tue, 2 Mar 2010 12:10:54 +0000 (13:10 +0100)] 
Add refclock precision

15 years agoReduce noise in refclock sample dispersions
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.

15 years agoLog also filtered samples
Miroslav Lichvar [Wed, 24 Feb 2010 11:07:08 +0000 (12:07 +0100)] 
Log also filtered samples

15 years agoAdjust refclock filter parameters
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).

15 years agoMake linear fit in refclock dispersion calculation
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.

15 years agoEstimate offset correction error in Linux driver
Miroslav Lichvar [Wed, 10 Feb 2010 17:04:32 +0000 (18:04 +0100)] 
Estimate offset correction error in Linux driver

15 years agoAdd dispersion notification handlers
Miroslav Lichvar [Tue, 16 Feb 2010 17:16:03 +0000 (18:16 +0100)] 
Add dispersion notification handlers

15 years agoInclude offset correction error in dispersion
Miroslav Lichvar [Wed, 10 Feb 2010 15:05:13 +0000 (16:05 +0100)] 
Include offset correction error in dispersion

15 years agoPrepare for handling offset correction error
Miroslav Lichvar [Wed, 10 Feb 2010 14:59:40 +0000 (15:59 +0100)] 
Prepare for handling offset correction error

15 years agoDon't set system precision to log2 based value
Miroslav Lichvar [Thu, 11 Feb 2010 18:23:26 +0000 (19:23 +0100)] 
Don't set system precision to log2 based value

15 years agoFix stratum with locked PPS refclock and local stratum
Miroslav Lichvar [Tue, 16 Feb 2010 15:27:56 +0000 (16:27 +0100)] 
Fix stratum with locked PPS refclock and local stratum

15 years agoUpdate NEWS 1.24
Miroslav Lichvar [Thu, 4 Feb 2010 11:43:33 +0000 (12:43 +0100)] 
Update NEWS

15 years agoLimit rate of syslog messages
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.

15 years agoDon't reply to invalid chronyc packets
Miroslav Lichvar [Wed, 13 Jan 2010 16:40:20 +0000 (17:40 +0100)] 
Don't reply to invalid chronyc packets

15 years agoUpdate list of commands not using authentication in documentation
Miroslav Lichvar [Thu, 4 Feb 2010 11:51:52 +0000 (12:51 +0100)] 
Update list of commands not using authentication in documentation

15 years agoInitialize local_ntp_tx in ntp_core
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.

15 years agoAllow to set only permission bits with perm option
Miroslav Lichvar [Fri, 29 Jan 2010 08:50:51 +0000 (09:50 +0100)] 
Allow to set only permission bits with perm option

15 years agoAdd perm option to SHM driver
Miroslav Lichvar [Thu, 28 Jan 2010 09:03:54 +0000 (10:03 +0100)] 
Add perm option to SHM driver

15 years agoAdd common refclock driver option parsing
Miroslav Lichvar [Thu, 28 Jan 2010 08:14:42 +0000 (09:14 +0100)] 
Add common refclock driver option parsing

15 years agoAdd lock option for PPS refclocks
Miroslav Lichvar [Wed, 27 Jan 2010 18:14:38 +0000 (19:14 +0100)] 
Add lock option for PPS refclocks

15 years agoDon't start chronyd with unrecognized command line options
Miroslav Lichvar [Wed, 27 Jan 2010 12:53:49 +0000 (13:53 +0100)] 
Don't start chronyd with unrecognized command line options

15 years agoFix scheduler to allow stepping clock from timeout handler
Hattink, Tjalling (FINT) [Tue, 26 Jan 2010 16:11:33 +0000 (17:11 +0100)] 
Fix scheduler to allow stepping clock from timeout handler

15 years agoAdd makestep directive
Miroslav Lichvar [Mon, 25 Jan 2010 14:33:56 +0000 (15:33 +0100)] 
Add makestep directive

15 years agoHandle immediate step in local module instead of system driver
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.

15 years agoLimit timeout for end of slew to avoid overflow
Miroslav Lichvar [Thu, 21 Jan 2010 16:11:17 +0000 (17:11 +0100)] 
Limit timeout for end of slew to avoid overflow

15 years agoDon't require _bigadj kernel symbol in NetBSD driver
Miroslav Lichvar [Wed, 13 Jan 2010 13:40:13 +0000 (14:40 +0100)] 
Don't require _bigadj kernel symbol in NetBSD driver

15 years agoPrint only printable characters from refid
Miroslav Lichvar [Wed, 13 Jan 2010 13:00:12 +0000 (14:00 +0100)] 
Print only printable characters from refid

15 years agoFix name resolving on NetBSD
Miroslav Lichvar [Tue, 12 Jan 2010 17:28:04 +0000 (18:28 +0100)] 
Fix name resolving on NetBSD

15 years agoIncrease buffers used to print IPv6 addresses
Miroslav Lichvar [Tue, 12 Jan 2010 17:05:41 +0000 (18:05 +0100)] 
Increase buffers used to print IPv6 addresses

15 years agoReturn 0 from DNS_IPAddress2Name when name was truncated
Miroslav Lichvar [Tue, 12 Jan 2010 16:58:03 +0000 (17:58 +0100)] 
Return 0 from DNS_IPAddress2Name when name was truncated

15 years agoWrite banner to tracking log when not synchronized
Miroslav Lichvar [Tue, 12 Jan 2010 15:59:11 +0000 (16:59 +0100)] 
Write banner to tracking log when not synchronized

15 years agoLog warning when changing file ownership fails
Bill Unruh [Sun, 20 Dec 2009 11:23:02 +0000 (12:23 +0100)] 
Log warning when changing file ownership fails

15 years agoUpdate NEWS 1.24-pre1
Miroslav Lichvar [Tue, 15 Dec 2009 15:07:34 +0000 (16:07 +0100)] 
Update NEWS

15 years agoMove estimated offset and error to sourcestats report
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.

15 years agoCheck also for log and pow functions in configure
Miroslav Lichvar [Sat, 12 Dec 2009 19:15:51 +0000 (20:15 +0100)] 
Check also for log and pow functions in configure

15 years agoAdd FreeBSD-amd64 to configure
Miroslav Lichvar [Sat, 12 Dec 2009 18:40:30 +0000 (19:40 +0100)] 
Add FreeBSD-amd64 to configure

15 years agoReplace integer microseconds in reports with floating-point values
Miroslav Lichvar [Sat, 12 Dec 2009 17:44:35 +0000 (18:44 +0100)] 
Replace integer microseconds in reports with floating-point values

15 years agoRemove resid_freq and resid_skew from source report
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.

15 years agoReplace fixed-point format with floating-point in cmdmon protocol
Miroslav Lichvar [Sat, 12 Dec 2009 17:23:26 +0000 (18:23 +0100)] 
Replace fixed-point format with floating-point in cmdmon protocol

15 years agoUse nanoseconds in timevals in cmdmon protocol
Miroslav Lichvar [Sat, 12 Dec 2009 15:44:38 +0000 (16:44 +0100)] 
Use nanoseconds in timevals in cmdmon protocol

15 years agoUse AI_ADDRCONFIG only when defined
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.

15 years agoEdited faq.txt to match the version on the Website.
John G. Hasler [Thu, 10 Dec 2009 13:55:02 +0000 (07:55 -0600)] 
Edited faq.txt to match the version on the Website.

15 years agoUse exact address size in bind and sendto calls
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.

15 years agoUse IP_PKTINFO and SO_TIMESTAMP only when defined
Miroslav Lichvar [Mon, 7 Dec 2009 11:39:16 +0000 (12:39 +0100)] 
Use IP_PKTINFO and SO_TIMESTAMP only when defined

15 years agoFix sys_sunos compilation
Miroslav Lichvar [Mon, 7 Dec 2009 11:32:28 +0000 (12:32 +0100)] 
Fix sys_sunos compilation

15 years agoRemove socket binding in chronyc
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.

15 years agoAdd missing commands to chronyc help
Miroslav Lichvar [Sat, 5 Dec 2009 12:26:25 +0000 (13:26 +0100)] 
Add missing commands to chronyc help

15 years agoAdd dns command to configure DNS resolving in chronyc
Miroslav Lichvar [Sat, 5 Dec 2009 12:25:56 +0000 (13:25 +0100)] 
Add dns command to configure DNS resolving in chronyc

15 years agoFix request_reply() return code if no response received
Miroslav Lichvar [Sat, 5 Dec 2009 00:13:26 +0000 (01:13 +0100)] 
Fix request_reply() return code if no response received

15 years agoUpdate documentation a bit more
Miroslav Lichvar [Fri, 4 Dec 2009 11:57:26 +0000 (12:57 +0100)] 
Update documentation a bit more

15 years agoSet default chrony.conf path according to sysconfdir
Miroslav Lichvar [Fri, 4 Dec 2009 11:30:30 +0000 (12:30 +0100)] 
Set default chrony.conf path according to sysconfdir

15 years agoImprove configure
Miroslav Lichvar [Fri, 4 Dec 2009 11:26:25 +0000 (12:26 +0100)] 
Improve configure

15 years agoDon't call ReadCookedTime after select timeout
Miroslav Lichvar [Thu, 3 Dec 2009 11:20:50 +0000 (12:20 +0100)] 
Don't call ReadCookedTime after select timeout

15 years agoUpdate documentation
Miroslav Lichvar [Wed, 2 Dec 2009 14:35:15 +0000 (15:35 +0100)] 
Update documentation

15 years agoAdd flags field to chronyc add source request
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.

15 years agoRemove hyphen from git commands in make_release
Miroslav Lichvar [Tue, 1 Dec 2009 16:17:18 +0000 (17:17 +0100)] 
Remove hyphen from git commands in make_release

15 years agoClose socket in SOCK finalise
Miroslav Lichvar [Tue, 1 Dec 2009 15:01:31 +0000 (16:01 +0100)] 
Close socket in SOCK finalise

15 years agoFix printing refclocks and IPv6 sources in statistics log
Miroslav Lichvar [Mon, 30 Nov 2009 16:18:28 +0000 (17:18 +0100)] 
Fix printing refclocks and IPv6 sources in statistics log

15 years agoFlush filter when PPS refclock lost sync
Miroslav Lichvar [Mon, 30 Nov 2009 16:03:04 +0000 (17:03 +0100)] 
Flush filter when PPS refclock lost sync

15 years agoMark SOCK driver as PPS capable
Miroslav Lichvar [Mon, 30 Nov 2009 15:51:29 +0000 (16:51 +0100)] 
Mark SOCK driver as PPS capable

15 years agoOpen rtc log after dropping root privileges
Miroslav Lichvar [Mon, 30 Nov 2009 15:46:08 +0000 (16:46 +0100)] 
Open rtc log after dropping root privileges

15 years agoSwap leap signs in measurements log description
Miroslav Lichvar [Mon, 30 Nov 2009 15:34:47 +0000 (16:34 +0100)] 
Swap leap signs in measurements log description

15 years agoAdd refclocks log
Miroslav Lichvar [Mon, 30 Nov 2009 15:33:06 +0000 (16:33 +0100)] 
Add refclocks log

15 years agoRead local time immediately after select()
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.

15 years agoClean up configure a bit
Miroslav Lichvar [Fri, 27 Nov 2009 15:25:39 +0000 (16:25 +0100)] 
Clean up configure a bit

15 years agoAdd editline, readline, linuxcaps detection to configure
Miroslav Lichvar [Fri, 27 Nov 2009 14:59:32 +0000 (15:59 +0100)] 
Add editline, readline, linuxcaps detection to configure

15 years agoUse 644/755 permissions instead of 444/555
Miroslav Lichvar [Fri, 27 Nov 2009 12:21:57 +0000 (13:21 +0100)] 
Use 644/755 permissions instead of 444/555

15 years agoDon't change file ownership in installation
Miroslav Lichvar [Fri, 27 Nov 2009 12:20:57 +0000 (13:20 +0100)] 
Don't change file ownership in installation

15 years agoAdd bindir, sbindir, docdir options to configure
Miroslav Lichvar [Fri, 27 Nov 2009 12:11:29 +0000 (13:11 +0100)] 
Add bindir, sbindir, docdir options to configure

15 years agoRegenerate getdate.c
Miroslav Lichvar [Fri, 27 Nov 2009 11:27:11 +0000 (12:27 +0100)] 
Regenerate getdate.c

15 years agoInclude getdate.y to allow regenerating 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.

15 years agoAdd s390 and powerpc definitions to io_linux.h
Miroslav Lichvar [Thu, 26 Nov 2009 12:41:07 +0000 (13:41 +0100)] 
Add s390 and powerpc definitions to io_linux.h

15 years agoClean up system options code
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.

15 years agoAdd new cmdmon status codes for packet version and length mismatch
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.

15 years agoCheck SOCK protocol version
Miroslav Lichvar [Tue, 24 Nov 2009 16:48:30 +0000 (17:48 +0100)] 
Check SOCK protocol version

15 years agoAdd PPS support to SOCK driver
Miroslav Lichvar [Tue, 24 Nov 2009 16:16:24 +0000 (17:16 +0100)] 
Add PPS support to SOCK driver

15 years agoMake some socket error messages more descriptive
Miroslav Lichvar [Tue, 24 Nov 2009 15:52:52 +0000 (16:52 +0100)] 
Make some socket error messages more descriptive

15 years agoAdd option to limit clientlog memory
Miroslav Lichvar [Tue, 24 Nov 2009 15:05:47 +0000 (16:05 +0100)] 
Add option to limit clientlog memory

15 years agoMultiply clientlog node table size when reallocating
Miroslav Lichvar [Tue, 24 Nov 2009 14:20:23 +0000 (15:20 +0100)] 
Multiply clientlog node table size when reallocating

15 years agoUse NULLs in select call instead of empty sets
Miroslav Lichvar [Mon, 23 Nov 2009 16:24:44 +0000 (17:24 +0100)] 
Use NULLs in select call instead of empty sets

15 years agoReduce adjtime calling
Miroslav Lichvar [Mon, 23 Nov 2009 16:23:43 +0000 (17:23 +0100)] 
Reduce adjtime calling

Don't call adjtime to determine remaining offset when there is no slewing
running.

15 years agoDon't read past buffer in find_ordered_entry_with_flags
Miroslav Lichvar [Wed, 18 Nov 2009 14:36:13 +0000 (15:36 +0100)] 
Don't read past buffer in find_ordered_entry_with_flags

15 years agoAvoid blocking read in rtc_linux
Miroslav Lichvar [Wed, 18 Nov 2009 11:53:31 +0000 (12:53 +0100)] 
Avoid blocking read in rtc_linux

15 years agoAdd spaces when catenating chronyc command line arguments
Miroslav Lichvar [Thu, 12 Nov 2009 15:48:09 +0000 (16:48 +0100)] 
Add spaces when catenating chronyc command line arguments

15 years agoUse non-zero exit code in chronyc to report errors
Miroslav Lichvar [Thu, 12 Nov 2009 15:43:34 +0000 (16:43 +0100)] 
Use non-zero exit code in chronyc to report errors

15 years agoImprove status checking and printing in chronyc
Miroslav Lichvar [Thu, 12 Nov 2009 14:36:12 +0000 (15:36 +0100)] 
Improve status checking and printing in chronyc

15 years agoCheck in chronyc that command in reply is same as requested
Miroslav Lichvar [Thu, 12 Nov 2009 14:06:40 +0000 (15:06 +0100)] 
Check in chronyc that command in reply is same as requested

15 years agoDon't set NTP source as reachable when reply doesn't have valid data
Miroslav Lichvar [Thu, 12 Nov 2009 11:40:45 +0000 (12:40 +0100)] 
Don't set NTP source as reachable when reply doesn't have valid data

This fixes using uninitialized sourcestats values when selecting source.

15 years agoAllow overriding system detection in configure
Miroslav Lichvar [Tue, 10 Nov 2009 15:25:59 +0000 (16:25 +0100)] 
Allow overriding system detection in configure

15 years agoDocument -4 and -6 options
Miroslav Lichvar [Mon, 9 Nov 2009 13:35:39 +0000 (14:35 +0100)] 
Document -4 and -6 options

16 years agoSupport LDFLAGS and CPPFLAGS in configure
Miroslav Lichvar [Wed, 4 Nov 2009 14:46:58 +0000 (15:46 +0100)] 
Support LDFLAGS and CPPFLAGS in configure