]> git.ipfire.org Git - thirdparty/chrony.git/log
thirdparty/chrony.git
18 years agoFix handling of stratum zero.
Bill Unruh [Tue, 26 Jun 2007 22:46:33 +0000 (23:46 +0100)] 
Fix handling of stratum zero.

Further to the discussion with John Hasler, here are new diffs which
handles the incoming stratum 0 claim of a remote server by redefining the
incoming stratum as one bigger than the Max if it is zero, as per the NTP
version 4 documentation.

If the incoming stratum is zero it sets it to NTP_MAX_STRATUM+1 . If our
current stratum is larger than the NTP_MAX_STRATUM, the outgoing stratum is
also set to zero as per the suggestions in the NTP docs.
Introduces the new NTP_INVALID_STRATUM of 0 for doing these tests or
setting the outgoing stratum.

It is unclear whether chrony wants to follow NTP in setting the outgoing
stratum to zero if it is unknown or invalid, rather than a number larger
than the max stratum. Setting it to zero seems silly, since zero is already
used to define the stratum of a hardware clock (GPS, atomic, etc). This
seems ripe for confusion. But the fact that the ntp docs state to do this,
and that ntp servers (eg ntp.ubc.ca) are already doing this (using 0 to
mean invalid) means that chrony has to handle it on the incoming packets
from the servers.

18 years agoHandle fluctuations in peer distance better.
Bill Unruh [Tue, 26 Jun 2007 22:45:04 +0000 (23:45 +0100)] 
Handle fluctuations in peer distance better.

18 years agoFix whitespace issue with last patch
Richard P. Curnow [Tue, 26 Jun 2007 22:43:28 +0000 (23:43 +0100)] 
Fix whitespace issue with last patch

18 years agoFix problems with rtc_linux.
Bill Unruh [Tue, 26 Jun 2007 22:42:11 +0000 (23:42 +0100)] 
Fix problems with rtc_linux.

2) Changes to rtc_linux.c which a) do a double read of /dev/rtc when the
PPM interupt is turned on after the wait time expires. The current read
does not block to the second, as it should, thus two reads are needed.

Also, changes so that at startup the system properly ignores the last
system time from the initial burst mode for setting the system time since
it can be way off. At present this last system time is included in the
regression, which throws it off until finally that sample is dropped.

19 years agoFix potential buffer overflow problem (Martin Simmons) 1.21
Richard Curnow [Mon, 8 Aug 2005 22:40:31 +0000 (22:40 +0000)] 
Fix potential buffer overflow problem (Martin Simmons)

19 years agoMore build_kit fixes
Richard Curnow [Tue, 19 Jul 2005 22:09:30 +0000 (22:09 +0000)] 
More build_kit fixes

19 years agoFirst stab at moving build_kit to release versioning based on tla
Richard Curnow [Tue, 19 Jul 2005 22:04:01 +0000 (22:04 +0000)] 
First stab at moving build_kit to release versioning based on tla

19 years agoRTC usage bails out cleanly if accessing it goes wrong (e.g. HPET without generic...
Richard Curnow [Tue, 19 Jul 2005 21:22:52 +0000 (21:22 +0000)] 
RTC usage bails out cleanly if accessing it goes wrong (e.g. HPET without generic RTC emulation)

19 years agoFurther fixes to avoid use of linux kernel header files
Richard Curnow [Wed, 6 Jul 2005 22:49:13 +0000 (22:49 +0000)] 
Further fixes to avoid use of linux kernel header files

19 years agoRemove dependence on <linux/spinlock.h>
Richard Curnow [Mon, 11 Oct 2004 22:37:04 +0000 (22:37 +0000)] 
Remove dependence on <linux/spinlock.h>

Use local definitions for the ioctl codes needed to access the RTC.

Note : not tested.  Some architectures not handled yet.

19 years agoPick up tla version.txt
Richard P. Curnow [Tue, 17 Jan 2006 00:19:22 +0000 (00:19 +0000)] 
Pick up tla version.txt

19 years agoOutput to syslog more debugging information at startup 1.20
richard [Sat, 4 Oct 2003 19:56:40 +0000 (19:56 +0000)] 
Output to syslog more debugging information at startup

19 years agoFix snprintf buffer size bug
richard [Sun, 28 Sep 2003 22:21:17 +0000 (22:21 +0000)] 
Fix snprintf buffer size bug

19 years agoAdd usage function and -h/--help
richard [Mon, 22 Sep 2003 21:53:57 +0000 (21:53 +0000)] 
Add usage function and -h/--help

19 years agoUpdate copyright to 2003
richard [Mon, 22 Sep 2003 21:22:30 +0000 (21:22 +0000)] 
Update copyright to 2003

19 years agoRemove msg about SH-5 (backed out)
richard [Mon, 22 Sep 2003 21:06:50 +0000 (21:06 +0000)] 
Remove msg about SH-5 (backed out)

19 years agoReplace sprintf by snprintf (John Hasler)
richard [Sun, 21 Sep 2003 23:11:06 +0000 (23:11 +0000)] 
Replace sprintf by snprintf (John Hasler)

19 years agoFix install rule if chronyd file is busy (Juliusz Chroboczek)
richard [Fri, 19 Sep 2003 22:48:26 +0000 (22:48 +0000)] 
Fix install rule if chronyd file is busy (Juliusz Chroboczek)

19 years agoFix initstepslew with no sources specified (John Hasler)
richard [Fri, 19 Sep 2003 22:44:06 +0000 (22:44 +0000)] 
Fix initstepslew with no sources specified (John Hasler)

19 years agoFix for chrony.spec on SuSE (Paul Elliot)
richard [Sun, 14 Sep 2003 21:56:56 +0000 (21:56 +0000)] 
Fix for chrony.spec on SuSE (Paul Elliot)

19 years agoTentative support for Linux 2.5/6/7/8
richard [Sun, 14 Sep 2003 21:55:23 +0000 (21:55 +0000)] 
Tentative support for Linux 2.5/6/7/8

19 years agoBack out SH-5 denorms fix (now in kernel)
richard [Thu, 17 Jul 2003 21:23:09 +0000 (21:23 +0000)] 
Back out SH-5 denorms fix (now in kernel)

19 years agoRecognize kernel versions 2.[678]
richard [Thu, 17 Jul 2003 21:22:23 +0000 (21:22 +0000)] 
Recognize kernel versions 2.[678]

19 years agoEquivalent to V1.19.99.1
Richard P. Curnow [Thu, 19 Jan 2006 21:34:28 +0000 (21:34 +0000)] 
Equivalent to V1.19.99.1

This is a verbatim copy of the files at that stage of the repository that was
built from the CVS import.  It allows future development to see a bit of recent
history, but without carrying around the baggage going back to 1997.  If that
is really required, git grafts can be used.