]> git.ipfire.org Git - thirdparty/chrony.git/log
thirdparty/chrony.git
15 years agoUpdate NEWS 1.23-security 1.23.1
Miroslav Lichvar [Tue, 2 Feb 2010 17:43:06 +0000 (18:43 +0100)] 
Update NEWS

15 years agoAdd option to limit clientlog memory
Miroslav Lichvar [Thu, 14 Jan 2010 14:34:56 +0000 (15:34 +0100)] 
Add option to limit clientlog memory

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

17 years agoUpdate NEWS for 1.23 1.23
Richard P. Curnow [Sun, 2 Dec 2007 14:53:09 +0000 (14:53 +0000)] 
Update NEWS for 1.23

17 years agoDefine io_linux.h constants for x86_64
Richard P. Curnow [Sun, 2 Dec 2007 14:39:50 +0000 (14:39 +0000)] 
Define io_linux.h constants for x86_64

Based on thread from chrony-users, October 2007.

18 years agogit archive's --prefix arg needs a trailing / 1.23-pre1
Richard P. Curnow [Wed, 27 Jun 2007 22:57:03 +0000 (23:57 +0100)] 
git archive's --prefix arg needs a trailing /

18 years agoUse git-archive instead of the obsolete git-tar-tree in make_release
Richard P. Curnow [Wed, 27 Jun 2007 22:54:43 +0000 (23:54 +0100)] 
Use git-archive instead of the obsolete git-tar-tree in make_release

18 years agoMerge branch 'bu'
Richard P. Curnow [Tue, 26 Jun 2007 22:51:18 +0000 (23:51 +0100)] 
Merge branch 'bu'

18 years agoFix formatting from last patch
Richard P. Curnow [Tue, 26 Jun 2007 22:50:53 +0000 (23:50 +0100)] 
Fix formatting from last patch

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.

18 years agoFix sign v zero extension error in handling IP address
Stefan Lucke [Tue, 26 Jun 2007 22:02:33 +0000 (23:02 +0100)] 
Fix sign v zero extension error in handling IP address

I switch to the git version of chrony. Accidently this version did not
talk to by lokal server at 192.168.192.4. Instead it continuosly tried
255.255.192.4 :-( .

Tracked that down to "char", "unsigned char" issue in nameserv.c:

18 years agoMerge branch 'vm'
Richard P. Curnow [Tue, 26 Jun 2007 21:13:40 +0000 (22:13 +0100)] 
Merge branch 'vm'

18 years agoconfigure: fix indentation from previous patch
Richard P. Curnow [Tue, 26 Jun 2007 21:11:19 +0000 (22:11 +0100)] 
configure: fix indentation from previous patch

18 years agoAllow RTC support to be excluded at compile time.
Vladimir Michl [Tue, 26 Jun 2007 21:08:49 +0000 (22:08 +0100)] 
Allow RTC support to be excluded at compile time.

Add a new option to configure script, allowing
to disable (and exclude) RTC module. It saves same memory.

18 years agoAdd support for Linux/arm
Vladimir Michl [Tue, 26 Jun 2007 21:06:39 +0000 (22:06 +0100)] 
Add support for Linux/arm

19 years agoFix format of "could not send to" message
Richard P. Curnow [Sat, 15 Apr 2006 22:57:42 +0000 (23:57 +0100)] 
Fix format of "could not send to" message

19 years agoRename round() function to avoid clash with builtin mandriva-1.22
Richard P. Curnow [Fri, 14 Apr 2006 23:34:04 +0000 (00:34 +0100)] 
Rename round() function to avoid clash with builtin

19 years agoMerge quashing of compile warnings
Richard P. Curnow [Fri, 14 Apr 2006 23:32:08 +0000 (00:32 +0100)] 
Merge quashing of compile warnings

19 years agoQuash a load of compile warnings
kevin lyda [Fri, 14 Apr 2006 16:48:43 +0000 (17:48 +0100)] 
Quash a load of compile warnings

Kevin Lyda writes:
I enclose the following patch which removes all but three of the warnings.  i
don't have any non-linux systems handy to test a fix to the round() function.
but having it return a double should be fine.

It doesn't actually fix anything, it just shuts up -Wall, so it's certainly an
optional type of patch.

19 years agoFix version.txt to remove compile warning
Richard P. Curnow [Fri, 14 Apr 2006 23:27:07 +0000 (00:27 +0100)] 
Fix version.txt to remove compile warning

19 years agoFix bogus "system time" report for 64 bit systems
Eric Lammerts [Thu, 13 Apr 2006 15:15:26 +0000 (11:15 -0400)] 
Fix bogus "system time" report for 64 bit systems

Eric Lammerts writes:
This is known as Debian bug #195620, which is almost three years old!

The problem is that a uint32_t which comes out of ntohl() (but
actually represents a signed value) is directly promoted to long.
Therefore no sign extension takes place.

Patch below solves the problem. There are other places where this
needs to be fixed, but I'll leave that to a less lazy person.

19 years agoRemove volatile keyword from function declarations
Richard P. Curnow [Fri, 14 Apr 2006 23:10:21 +0000 (00:10 +0100)] 
Remove volatile keyword from function declarations

This silences a lot of gcc-4 compile warnings

19 years agoFix linux_io.h for MIPS
Bernhard Weiss [Sat, 24 Sep 2005 16:17:56 +0000 (18:17 +0200)] 
Fix linux_io.h for MIPS

Bernard Weiss writes:
I managed to compile the chrony 1.21 package for the MIPS architecture.
For the package to compile I had to add the following lines to io_linux.h:

[patch]

These values are taken from the ioctl.h file of linux 2.4.30 for the MIPS arch
(__ASM_MIPS_IOCTL_H).

19 years agoFreeBSD support
NAKAMURA Takumi [Sun, 11 Sep 2005 11:09:56 +0000 (20:09 +0900)] 
FreeBSD support

NAKAMURA Takumi writes:

I tried to compile chrony-1.21 on FreeBSD 4.8-RELEASE & 5.4-RELEASE.
I modify two files, configure, sysinc.h.

configure:
    add label "FreeBSD-i386" to "BSD/386" line
sysincl.h:
    1. FreeBSD obsoletes alloca.h
    2. FreeBSD use stdlib.h instead of malloc.h, to use malloc(), free()

Attached file includes the above modifications.

19 years agoFlush chronyc output buffers.
Paul Elliott [Mon, 5 Dec 2005 07:16:26 +0000 (01:16 -0600)] 
Flush chronyc output buffers.

The following is a patch to chronyc that causes it
to flush the buffers to stderr and stdout after
executing each command. This is needed if
you are controling chronyc from a program (i.e. chronyc's
input and output descriptors are pipes which are being
written/read by another program) and
you do not want to block waiting for chronyc response
which is trapped in a buffer!

19 years agoAdd a .gitignore file
Richard P. Curnow [Sun, 29 Jan 2006 23:29:01 +0000 (23:29 +0000)] 
Add a .gitignore file

19 years agomanpage improvements.
Richard P. Curnow [Sun, 29 Jan 2006 23:23:52 +0000 (23:23 +0000)] 
manpage improvements.

Try to address this Debian bug:
  Bug#345034: chrony: man pages refer to wrong sections

19 years ago1st attempt at a git-compatible make_release script
Richard P. Curnow [Sun, 22 Jan 2006 23:54:19 +0000 (23:54 +0000)] 
1st attempt at a git-compatible make_release script

19 years agoTidy up io_linux.h so unknown architecture result in compile-time error again
Richard P. Curnow [Sun, 22 Jan 2006 23:38:43 +0000 (23:38 +0000)] 
Tidy up io_linux.h so unknown architecture result in compile-time error again

19 years agoMore architectures in io_linux.h (John Hasler)
Richard P. Curnow [Sun, 22 Jan 2006 23:36:16 +0000 (23:36 +0000)] 
More architectures in io_linux.h (John Hasler)

19 years agoFix gcc-4 compilation of addrfilt.c
Richard P. Curnow [Thu, 19 Jan 2006 21:56:19 +0000 (21:56 +0000)] 
Fix gcc-4 compilation of addrfilt.c

John Hasler sent in a patch to do this (which still wouldn't make it compile
for me).  This reminded me that I had tackled this myself when my distro moved
to gcc-4 a while back.  It turned out I had never even checked in the file from
the working copy I was using (!).  Anyway, here it is now.

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.