]>
git.ipfire.org Git - thirdparty/chrony.git/log
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
Miroslav Lichvar [Tue, 24 Nov 2009 14:20:23 +0000 (15:20 +0100)]
Multiply clientlog node table size when reallocating
Miroslav Lichvar [Mon, 23 Nov 2009 16:24:44 +0000 (17:24 +0100)]
Use NULLs in select call instead of empty sets
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.
Miroslav Lichvar [Wed, 18 Nov 2009 14:36:13 +0000 (15:36 +0100)]
Don't read past buffer in find_ordered_entry_with_flags
Miroslav Lichvar [Wed, 18 Nov 2009 11:53:31 +0000 (12:53 +0100)]
Avoid blocking read in rtc_linux
Miroslav Lichvar [Thu, 12 Nov 2009 15:48:09 +0000 (16:48 +0100)]
Add spaces when catenating chronyc command line arguments
Miroslav Lichvar [Thu, 12 Nov 2009 15:43:34 +0000 (16:43 +0100)]
Use non-zero exit code in chronyc to report errors
Miroslav Lichvar [Thu, 12 Nov 2009 14:36:12 +0000 (15:36 +0100)]
Improve status checking and printing in chronyc
Miroslav Lichvar [Thu, 12 Nov 2009 14:06:40 +0000 (15:06 +0100)]
Check in chronyc that command in reply is same as requested
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.
Miroslav Lichvar [Tue, 10 Nov 2009 15:25:59 +0000 (16:25 +0100)]
Allow overriding system detection in configure
Miroslav Lichvar [Mon, 9 Nov 2009 13:35:39 +0000 (14:35 +0100)]
Document -4 and -6 options
Miroslav Lichvar [Wed, 4 Nov 2009 14:46:58 +0000 (15:46 +0100)]
Support LDFLAGS and CPPFLAGS in configure
Jonathan Cameron [Wed, 4 Nov 2009 14:04:02 +0000 (15:04 +0100)]
Allow LDFLAGS to be used in linking
Miroslav Lichvar [Tue, 3 Nov 2009 15:40:12 +0000 (16:40 +0100)]
Validate sample times received in refclock
Miroslav Lichvar [Tue, 3 Nov 2009 15:36:02 +0000 (16:36 +0100)]
Don't forget to save last PPS sequence number
Miroslav Lichvar [Fri, 30 Oct 2009 10:13:08 +0000 (11:13 +0100)]
Avoid compiler warnings in util.c on 32-bit archs
John G. Hasler [Thu, 29 Oct 2009 21:14:39 +0000 (16:14 -0500)]
Replaced references to sunsite with references to tuxfamily.
Miroslav Lichvar [Wed, 28 Oct 2009 16:53:33 +0000 (17:53 +0100)]
Update COPYING and FSF address
Miroslav Lichvar [Wed, 28 Oct 2009 16:53:10 +0000 (17:53 +0100)]
Update copyrights
Miroslav Lichvar [Wed, 28 Oct 2009 15:53:03 +0000 (16:53 +0100)]
Update documentation for refclock and IPv6 support
Miroslav Lichvar [Wed, 28 Oct 2009 15:31:58 +0000 (16:31 +0100)]
Remove forgotten text in server directive description
Miroslav Lichvar [Wed, 28 Oct 2009 11:23:00 +0000 (12:23 +0100)]
Add PPS API refclock driver
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.
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.
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.
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.
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.
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
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.
Miroslav Lichvar [Fri, 9 Oct 2009 13:00:59 +0000 (15:00 +0200)]
Add IPv6 support
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.
Miroslav Lichvar [Mon, 21 Sep 2009 10:45:33 +0000 (12:45 +0200)]
Don't forget to free capability object
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.
Miroslav Lichvar [Wed, 9 Sep 2009 15:12:43 +0000 (17:12 +0200)]
Fix string termination in refclock parameter parser
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.