]> git.ipfire.org Git - thirdparty/chrony.git/log
thirdparty/chrony.git
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

16 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

16 years agoAllow LDFLAGS to be used in linking
Jonathan Cameron [Wed, 4 Nov 2009 14:04:02 +0000 (15:04 +0100)] 
Allow LDFLAGS to be used in linking

16 years agoValidate sample times received in refclock
Miroslav Lichvar [Tue, 3 Nov 2009 15:40:12 +0000 (16:40 +0100)] 
Validate sample times received in refclock

16 years agoDon't forget to save last PPS sequence number
Miroslav Lichvar [Tue, 3 Nov 2009 15:36:02 +0000 (16:36 +0100)] 
Don't forget to save last PPS sequence number

16 years agoAvoid compiler warnings in util.c on 32-bit archs
Miroslav Lichvar [Fri, 30 Oct 2009 10:13:08 +0000 (11:13 +0100)] 
Avoid compiler warnings in util.c on 32-bit archs

16 years agoReplaced references to sunsite with references to tuxfamily.
John G. Hasler [Thu, 29 Oct 2009 21:14:39 +0000 (16:14 -0500)] 
Replaced references to sunsite with references to tuxfamily.

16 years agoUpdate COPYING and FSF address
Miroslav Lichvar [Wed, 28 Oct 2009 16:53:33 +0000 (17:53 +0100)] 
Update COPYING and FSF address

16 years agoUpdate copyrights
Miroslav Lichvar [Wed, 28 Oct 2009 16:53:10 +0000 (17:53 +0100)] 
Update copyrights

16 years agoUpdate documentation for refclock and IPv6 support
Miroslav Lichvar [Wed, 28 Oct 2009 15:53:03 +0000 (16:53 +0100)] 
Update documentation for refclock and IPv6 support

16 years agoRemove forgotten text in server directive description
Miroslav Lichvar [Wed, 28 Oct 2009 15:31:58 +0000 (16:31 +0100)] 
Remove forgotten text in server directive description

16 years agoAdd PPS API refclock driver
Miroslav Lichvar [Wed, 28 Oct 2009 11:23:00 +0000 (12:23 +0100)] 
Add PPS API refclock driver

16 years agoReselect source also according to distance
Miroslav Lichvar [Tue, 27 Oct 2009 13:28:19 +0000 (14:28 +0100)] 
Reselect source also according to distance

Reselect when a source with the same stratum is available and has
significantly better distance than the current source.

16 years agoMake default refclock refid from number of the source
Miroslav Lichvar [Tue, 27 Oct 2009 13:04:59 +0000 (14:04 +0100)] 
Make default refclock refid from number of the source

It should avoid having two or more refclocks with the same refid.

16 years agoAdd refclock option for delay
Miroslav Lichvar [Tue, 27 Oct 2009 13:02:16 +0000 (14:02 +0100)] 
Add refclock option for delay

This is useful when refclocks don't agree on time, increasing the
delay will widen the interval used in the source selection algorithm.

16 years agoReduce size of NTP sources hash table
Miroslav Lichvar [Tue, 13 Oct 2009 15:16:41 +0000 (17:16 +0200)] 
Reduce size of NTP sources hash table

IPv6 addressing significantly increased size of the table,
keep only pointers to get it back.

16 years agoInclude both refid and IP address in tracking and sourcestats reports
Miroslav Lichvar [Tue, 13 Oct 2009 14:04:24 +0000 (16:04 +0200)] 
Include both refid and IP address in tracking and sourcestats reports

ref_id is not sufficient for IPv6 addresses and ref_id is needed for
reference clocks.

16 years agoAdd -4 and -6 options to set address family when resolving names
Miroslav Lichvar [Tue, 13 Oct 2009 11:10:28 +0000 (13:10 +0200)] 
Add -4 and -6 options to set address family when resolving names

16 years agoAlways send timevals in cmdmon protocol in 64-bit format
Miroslav Lichvar [Fri, 9 Oct 2009 13:31:59 +0000 (15:31 +0200)] 
Always send timevals in cmdmon protocol in 64-bit format

This is to avoid incompatibility between 64/32-bit client/server.
While at it, convert all time values in the protocol to timeval
to avoid Y2K38 problem.

16 years agoAdd IPv6 support
Miroslav Lichvar [Fri, 9 Oct 2009 13:00:59 +0000 (15:00 +0200)] 
Add IPv6 support

16 years agoDon't use uninitialized values
Miroslav Lichvar [Wed, 7 Oct 2009 13:11:09 +0000 (15:11 +0200)] 
Don't use uninitialized values

This fixes a bunch or valgrind errors.

16 years agoDon't forget to free capability object
Miroslav Lichvar [Mon, 21 Sep 2009 10:45:33 +0000 (12:45 +0200)] 
Don't forget to free capability object

16 years agoDon't copy util functions in client.c
Miroslav Lichvar [Tue, 15 Sep 2009 16:08:58 +0000 (18:08 +0200)] 
Don't copy util functions in client.c

This requires moving croak() to logging.c and avoiding use
of log functions in util.c.

16 years agoFix string termination in refclock parameter parser
Miroslav Lichvar [Wed, 9 Sep 2009 15:12:43 +0000 (17:12 +0200)] 
Fix string termination in refclock parameter parser

16 years agoDon't lose remaining adjtime in initiate_slew
Miroslav Lichvar [Wed, 26 Aug 2009 15:58:57 +0000 (17:58 +0200)] 
Don't lose remaining adjtime in initiate_slew

initiate_slew is called also from set_frequency which doesn't read
the remaining adjtime. This wasn't a problem before commit 8c0f3f4
as offset_register was 0.0 and initiate_slew immediately returned.