]> git.ipfire.org Git - thirdparty/chrony.git/log
thirdparty/chrony.git
10 years agosys: move getpwnam() call to main.c
Miroslav Lichvar [Mon, 10 Aug 2015 13:53:36 +0000 (15:53 +0200)] 
sys: move getpwnam() call to main.c

Pass uid/gid instead of user name to the root dropping function.

10 years agoutil: add mode, uid, gid parameters to UTI_CreateDirAndParents()
Miroslav Lichvar [Mon, 10 Aug 2015 12:56:17 +0000 (14:56 +0200)] 
util: add mode, uid, gid parameters to UTI_CreateDirAndParents()

10 years agoutil: don't try to create current directory
Miroslav Lichvar [Wed, 5 Aug 2015 14:53:02 +0000 (16:53 +0200)] 
util: don't try to create current directory

This prevents error messages when running chronyd -d/-q/-Q with default
logdir in a directory chronyd is not allowed do access after dropping
the root privileges.

10 years agomove mkdirpp code to util.c
Miroslav Lichvar [Wed, 5 Aug 2015 14:30:20 +0000 (16:30 +0200)] 
move mkdirpp code to util.c

10 years agoclient: check if memory allocation fails
Miroslav Lichvar [Wed, 5 Aug 2015 13:47:00 +0000 (15:47 +0200)] 
client: check if memory allocation fails

10 years agoclient: add logging function to allow linking with memory.o
Miroslav Lichvar [Wed, 5 Aug 2015 13:43:39 +0000 (15:43 +0200)] 
client: add logging function to allow linking with memory.o

10 years agodoc: update FAQ
Miroslav Lichvar [Tue, 4 Aug 2015 15:23:27 +0000 (17:23 +0200)] 
doc: update FAQ

10 years agosys: add drift removal to Mac OS X driver
Bryan Christianson [Wed, 29 Jul 2015 21:50:26 +0000 (09:50 +1200)] 
sys: add drift removal to Mac OS X driver

The darwin kernel implementation of adjtime() does not require the
adjustment to be aligned to a tickadj boundary, and we can apply
adjustments to the nearest microsecond. Rounding is accounted for by
adding any rounding errors back into the offset.

10 years agocmdmon: listen on Unix domain socket
Miroslav Lichvar [Tue, 28 Jul 2015 13:29:30 +0000 (15:29 +0200)] 
cmdmon: listen on Unix domain socket

In addition to the IPv4/IPv6 command sockets, create also a Unix domain
socket to process cmdmon requests. For now, there is no difference for
authorized commands, packets from all sockets need to be authenticated.

The default path of the socket is /var/run/chrony/chronyd.sock. It can
be configured with the bindcmdaddress directive with an address starting
with /.

10 years agoclientlog: refactor CLG_Log*Access functions a bit
Miroslav Lichvar [Tue, 28 Jul 2015 12:44:25 +0000 (14:44 +0200)] 
clientlog: refactor CLG_Log*Access functions a bit

10 years agoclientlog: allow unspecified address in CLG_Log*Access functions
Miroslav Lichvar [Tue, 28 Jul 2015 12:29:29 +0000 (14:29 +0200)] 
clientlog: allow unspecified address in CLG_Log*Access functions

10 years agoutil: add function to get sockaddr family name
Miroslav Lichvar [Tue, 28 Jul 2015 11:03:23 +0000 (13:03 +0200)] 
util: add function to get sockaddr family name

10 years agoclient: handle signals
Miroslav Lichvar [Mon, 27 Jul 2015 12:46:50 +0000 (14:46 +0200)] 
client: handle signals

Add a signal handler and rework the code to go through close_io() even
when terminated by a signal. This will allow chronyc to remove Unix
domain sockets on exit.

10 years agoutil: use sigaction() to set signal handler
Miroslav Lichvar [Mon, 27 Jul 2015 12:41:14 +0000 (14:41 +0200)] 
util: use sigaction() to set signal handler

10 years agomain: move signal handler setting to util.c
Miroslav Lichvar [Mon, 27 Jul 2015 12:27:41 +0000 (14:27 +0200)] 
main: move signal handler setting to util.c

10 years agocmdmon: add debug messages for receiving/sending packets
Miroslav Lichvar [Fri, 24 Jul 2015 13:19:31 +0000 (15:19 +0200)] 
cmdmon: add debug messages for receiving/sending packets

10 years agoutil: remove INLINE_UTILITIES support
Miroslav Lichvar [Mon, 27 Jul 2015 11:24:12 +0000 (13:24 +0200)] 
util: remove INLINE_UTILITIES support

10 years agoremove getdate.c from repository
Miroslav Lichvar [Mon, 27 Jul 2015 14:30:29 +0000 (16:30 +0200)] 
remove getdate.c from repository

Building from repository now requires installed bison, but released
tarballs will still include a generated getdate.c.

10 years agoinclude config.h in all compiled files
Miroslav Lichvar [Mon, 27 Jul 2015 14:20:58 +0000 (16:20 +0200)] 
include config.h in all compiled files

After running configure script (new config.h written), all objects
should be recompiled.

10 years agosys: add new log message for kernel status reset after leap second
Miroslav Lichvar [Mon, 27 Jul 2015 10:24:13 +0000 (12:24 +0200)] 
sys: add new log message for kernel status reset after leap second

When a leap second is applied by the kernel, it doesn't actually clear
the STA_INS|STA_DEL bits from the status word, but the state returned
by ntp_adjtime()/adjtimex() is TIME_WAIT until the application clears
the bits.

Add "System clock status reset after leap second" log message for this
case.

10 years agoutil: fix rounding of negative numbers in UTI_DoubleToTimeval()
Bryan Christianson [Thu, 23 Jul 2015 11:59:31 +0000 (23:59 +1200)] 
util: fix rounding of negative numbers in UTI_DoubleToTimeval()

10 years agoutil: fix UTI_Log2ToDouble() for maximum/minimum exponent
Miroslav Lichvar [Thu, 23 Jul 2015 09:44:00 +0000 (11:44 +0200)] 
util: fix UTI_Log2ToDouble() for maximum/minimum exponent

10 years agoconfigure: replace echo -n with printf
Miroslav Lichvar [Thu, 23 Jul 2015 09:23:36 +0000 (11:23 +0200)] 
configure: replace echo -n with printf

POSIX doesn't require echo to support -n.

10 years agomake_release: don't package chrony.txt
Miroslav Lichvar [Wed, 22 Jul 2015 16:14:40 +0000 (18:14 +0200)] 
make_release: don't package chrony.txt

10 years agomakefile: install chrony.txt in install-doc only
Miroslav Lichvar [Wed, 22 Jul 2015 15:42:42 +0000 (17:42 +0200)] 
makefile: install chrony.txt in install-doc only

Don't install chrony.txt in make install to avoid dependency on makeinfo
since chrony.texi is prepared by configure to set the default paths in
the documentation.

10 years agomakefile: don't install COPYING and README
Miroslav Lichvar [Wed, 22 Jul 2015 15:38:00 +0000 (17:38 +0200)] 
makefile: don't install COPYING and README

10 years agodoc: update NEWS 2.1.1
Miroslav Lichvar [Tue, 23 Jun 2015 13:07:59 +0000 (15:07 +0200)] 
doc: update NEWS

10 years agosys: fix clock stepping by integer number of seconds on Linux
Miroslav Lichvar [Tue, 23 Jun 2015 12:48:31 +0000 (14:48 +0200)] 
sys: fix clock stepping by integer number of seconds on Linux

The kernel requires in the ADJ_SETOFFSET | ADJ_NANO mode that the
timex.time.tv_usec value is smaller than 10^9 nanosecond, which wasn't
the case with a negative integer offset (e.g. inserted leap second).

10 years agodoc: update NEWS 2.1
Miroslav Lichvar [Mon, 22 Jun 2015 09:21:48 +0000 (11:21 +0200)] 
doc: update NEWS

10 years agontp: use specific reference ID when smoothing served time
Miroslav Lichvar [Mon, 22 Jun 2015 09:09:31 +0000 (11:09 +0200)] 
ntp: use specific reference ID when smoothing served time

Set refid in server/broadcast packets to 127.127.1.255 when a time
smoothing offset is applied to the timestamps. This allows the clients
and administrators to detect that the server is not serving its best
estimate of the true time.

10 years agontp: remove unnecessary casting
Miroslav Lichvar [Mon, 22 Jun 2015 09:07:53 +0000 (11:07 +0200)] 
ntp: remove unnecessary casting

10 years agoreference: move definition of special refids to ntp.h
Miroslav Lichvar [Mon, 22 Jun 2015 07:13:15 +0000 (09:13 +0200)] 
reference: move definition of special refids to ntp.h

10 years agotest: require latest clknetsim
Miroslav Lichvar [Fri, 19 Jun 2015 10:47:25 +0000 (12:47 +0200)] 
test: require latest clknetsim

10 years agodoc: update leapsecmode and smoothtime descriptions
Miroslav Lichvar [Thu, 18 Jun 2015 16:07:34 +0000 (18:07 +0200)] 
doc: update leapsecmode and smoothtime descriptions

10 years agodoc: add Mac OS X to supported platforms
Miroslav Lichvar [Thu, 18 Jun 2015 14:16:03 +0000 (16:16 +0200)] 
doc: add Mac OS X to supported platforms

10 years agoupdate copyright years
Miroslav Lichvar [Thu, 18 Jun 2015 13:30:22 +0000 (15:30 +0200)] 
update copyright years

10 years agodoc: refer to authhash command in password command description
Miroslav Lichvar [Wed, 17 Jun 2015 16:30:10 +0000 (18:30 +0200)] 
doc: refer to authhash command in password command description

10 years agodoc: convert FAQ to AsciiDoc and update it
Miroslav Lichvar [Wed, 17 Jun 2015 15:57:52 +0000 (17:57 +0200)] 
doc: convert FAQ to AsciiDoc and update it

It's now in a separate file again.

10 years agosys: MacOS X driver ported from NetBSD
Bryan Christianson [Fri, 12 Jun 2015 19:56:39 +0000 (07:56 +1200)] 
sys: MacOS X driver ported from NetBSD

10 years agontp: add debug message to print number of resolved addresses
Miroslav Lichvar [Mon, 15 Jun 2015 11:03:11 +0000 (13:03 +0200)] 
ntp: add debug message to print number of resolved addresses

10 years agoupdate NEWS 2.1-pre1
Miroslav Lichvar [Wed, 10 Jun 2015 12:44:54 +0000 (14:44 +0200)] 
update NEWS

10 years agocmdmon: reply with STT_INVALID on invalid option in handle_manual()
Miroslav Lichvar [Tue, 9 Jun 2015 15:05:15 +0000 (17:05 +0200)] 
cmdmon: reply with STT_INVALID on invalid option in handle_manual()

10 years agomakefile: warn when Makefile needs to be regenerated
Miroslav Lichvar [Tue, 9 Jun 2015 14:43:56 +0000 (16:43 +0200)] 
makefile: warn when Makefile needs to be regenerated

10 years agosources: remove unused code in SRC_SelectSource()
Miroslav Lichvar [Tue, 9 Jun 2015 12:05:21 +0000 (14:05 +0200)] 
sources: remove unused code in SRC_SelectSource()

10 years agoclient: add smoothtime command
Miroslav Lichvar [Tue, 9 Jun 2015 10:52:31 +0000 (12:52 +0200)] 
client: add smoothtime command

10 years agocmdmon: add smoothtime command
Miroslav Lichvar [Tue, 9 Jun 2015 10:51:49 +0000 (12:51 +0200)] 
cmdmon: add smoothtime command

This adds a command to reset or activate the time smoothing process.

10 years agoclient: add smoothing command
Miroslav Lichvar [Tue, 9 Jun 2015 09:32:47 +0000 (11:32 +0200)] 
client: add smoothing command

10 years agocmdmon: add smoothing command
Miroslav Lichvar [Tue, 9 Jun 2015 09:32:37 +0000 (11:32 +0200)] 
cmdmon: add smoothing command

This adds a new request to get a current report on time smoothing.

10 years agosmooth: fix resetting
Miroslav Lichvar [Mon, 8 Jun 2015 15:22:01 +0000 (17:22 +0200)] 
smooth: fix resetting

10 years agocmdmon: use SCH_GetLastEventTime() to get current time
Miroslav Lichvar [Mon, 8 Jun 2015 13:07:18 +0000 (15:07 +0200)] 
cmdmon: use SCH_GetLastEventTime() to get current time

It's cheaper and accurate enough.

10 years agosched: detect timeout overflow in SCH_AddTimeoutByDelay()
Miroslav Lichvar [Mon, 8 Jun 2015 12:49:52 +0000 (14:49 +0200)] 
sched: detect timeout overflow in SCH_AddTimeoutByDelay()

Abort when the system time gets so close to the end of 32-bit time_t
that timeouts added by delay start to overflow. This is an addition to
the loop detector in dispatch_timeouts().

10 years agoarray: allow arrays larger than 4 GB
Miroslav Lichvar [Mon, 8 Jun 2015 12:43:16 +0000 (14:43 +0200)] 
array: allow arrays larger than 4 GB

It's not expected we will work with such large arrays anytime soon, but
better be safe than sorry.

Also, limit the number of elements to 2^31-1 to prevent infinite loop in
the calculation of allocated elements.

10 years agotest: add 202-prefer
Miroslav Lichvar [Mon, 8 Jun 2015 10:16:01 +0000 (12:16 +0200)] 
test: add 202-prefer

10 years agotest: add option to override generated server directives on client
Miroslav Lichvar [Mon, 8 Jun 2015 10:13:22 +0000 (12:13 +0200)] 
test: add option to override generated server directives on client

10 years agosources: fix marking of non-preferred selectable sources
Miroslav Lichvar [Mon, 8 Jun 2015 09:48:29 +0000 (11:48 +0200)] 
sources: fix marking of non-preferred selectable sources

When reducing the list of selectable sources to sources with the prefer
option, sources before the first preferred source were left with the
SRC_OK status, which triggered an assertion failure in the next
selection.

10 years agosmooth: add option to smooth out only leap seconds
Miroslav Lichvar [Tue, 2 Jun 2015 11:24:04 +0000 (13:24 +0200)] 
smooth: add option to smooth out only leap seconds

The leaponly option can be used to enable a mode where only leap seconds
are smoothed out and normal offset/frequency changes are ignored. This
is useful to make the interval in which a leap second is smoothed out
constant and allow an NTP client to use multiple leap smearing servers
safely.

10 years agocmdmon: replace definitions of empty requests with null request
Miroslav Lichvar [Thu, 28 May 2015 15:00:47 +0000 (17:00 +0200)] 
cmdmon: replace definitions of empty requests with null request

10 years agocmdmon: set only non-success status in command handling functions
Miroslav Lichvar [Thu, 28 May 2015 13:21:25 +0000 (15:21 +0200)] 
cmdmon: set only non-success status in command handling functions

10 years agocmdmon: refactor allow/deny functions
Miroslav Lichvar [Thu, 28 May 2015 12:31:34 +0000 (14:31 +0200)] 
cmdmon: refactor allow/deny functions

10 years agontp: include message precision in peer dispersion
Miroslav Lichvar [Thu, 28 May 2015 10:58:20 +0000 (12:58 +0200)] 
ntp: include message precision in peer dispersion

10 years agoutil: add UTI_Log2ToDouble()
Miroslav Lichvar [Thu, 28 May 2015 10:34:08 +0000 (12:34 +0200)] 
util: add UTI_Log2ToDouble()

10 years agoutil: handle NaN in UTI_FloatHostToNetwork()
Miroslav Lichvar [Mon, 18 May 2015 13:50:07 +0000 (15:50 +0200)] 
util: handle NaN in UTI_FloatHostToNetwork()

10 years agoclient: handle empty hostname before slash in allow/deny commands
Miroslav Lichvar [Mon, 18 May 2015 13:36:52 +0000 (15:36 +0200)] 
client: handle empty hostname before slash in allow/deny commands

10 years agodoc: remove chrony(1) man page
Miroslav Lichvar [Mon, 18 May 2015 10:58:34 +0000 (12:58 +0200)] 
doc: remove chrony(1) man page

It's a copy of README, chrony(1) is not a program itself.

10 years agontp: increase minimum replacement interval to 30 minutes
Miroslav Lichvar [Mon, 18 May 2015 09:57:19 +0000 (11:57 +0200)] 
ntp: increase minimum replacement interval to 30 minutes

10 years agontp: replace non-pool sources when unreachable or falsetickers
Miroslav Lichvar [Fri, 15 May 2015 16:38:03 +0000 (18:38 +0200)] 
ntp: replace non-pool sources when unreachable or falsetickers

Sources that are not specified as a pool and have a name (i.e. not
specified by an IP address or added from chronyc) will be replaced with
a newly resolved address of the name when they become unreachable or
falseticker too.

10 years agontp: add sources specified by IP directly without name resolving
Miroslav Lichvar [Mon, 18 May 2015 09:20:03 +0000 (11:20 +0200)] 
ntp: add sources specified by IP directly without name resolving

10 years agontp: improve alignment of columns in banner for measurements log
Miroslav Lichvar [Mon, 4 May 2015 08:23:17 +0000 (10:23 +0200)] 
ntp: improve alignment of columns in banner for measurements log

10 years agodoc: update NEWS 2.0
Miroslav Lichvar [Fri, 24 Apr 2015 10:01:45 +0000 (12:01 +0200)] 
doc: update NEWS

10 years agodoc: update chrony description
Miroslav Lichvar [Fri, 24 Apr 2015 08:46:52 +0000 (10:46 +0200)] 
doc: update chrony description

10 years agodoc: document when smoothtime function is activated
Miroslav Lichvar [Tue, 21 Apr 2015 12:06:32 +0000 (14:06 +0200)] 
doc: document when smoothtime function is activated

10 years agosys: fix TMX_ResetOffset() to set status back correctly
Miroslav Lichvar [Mon, 27 Apr 2015 10:27:13 +0000 (12:27 +0200)] 
sys: fix TMX_ResetOffset() to set status back correctly

10 years agoreference: use 2012 leap second in leapsectz test
Miroslav Lichvar [Fri, 24 Apr 2015 10:13:24 +0000 (12:13 +0200)] 
reference: use 2012 leap second in leapsectz test

10 years agosources: ignore reselect distance when combining with refclock
Miroslav Lichvar [Mon, 20 Apr 2015 10:59:12 +0000 (12:59 +0200)] 
sources: ignore reselect distance when combining with refclock

10 years agouse return to exit from main function
Miroslav Lichvar [Fri, 17 Apr 2015 15:19:24 +0000 (17:19 +0200)] 
use return to exit from main function

10 years agoclient: improve usage line
Miroslav Lichvar [Fri, 17 Apr 2015 15:15:23 +0000 (17:15 +0200)] 
client: improve usage line

10 years agomain: print usage with -h option
Miroslav Lichvar [Fri, 17 Apr 2015 15:14:51 +0000 (17:14 +0200)] 
main: print usage with -h option

10 years agontp: don't log error when socket() fails for client only socket
Miroslav Lichvar [Tue, 14 Apr 2015 13:59:55 +0000 (15:59 +0200)] 
ntp: don't log error when socket() fails for client only socket

10 years agodoc: don't mention ancient systems
Miroslav Lichvar [Mon, 13 Apr 2015 15:08:29 +0000 (17:08 +0200)] 
doc: don't mention ancient systems

Also, don't try to track working versions of supported systems, assume
current versions are ok.

10 years agoupdate copyright years
Miroslav Lichvar [Fri, 10 Apr 2015 09:06:32 +0000 (11:06 +0200)] 
update copyright years

10 years agodoc: warn that unauthenticated peers are vulnerable to DoS attack
Miroslav Lichvar [Fri, 10 Apr 2015 08:35:21 +0000 (10:35 +0200)] 
doc: warn that unauthenticated peers are vulnerable to DoS attack

10 years agosys: clamp frequency set in generic driver on exit
Miroslav Lichvar [Fri, 10 Apr 2015 08:21:26 +0000 (10:21 +0200)] 
sys: clamp frequency set in generic driver on exit

10 years agoutil: don't allow time too close to 32-bit time_t overflow
Miroslav Lichvar [Fri, 10 Apr 2015 07:30:52 +0000 (09:30 +0200)] 
util: don't allow time too close to 32-bit time_t overflow

In UTI_IsTimeOffsetSane() consider time in one year interval before
32-bit time_t overflow (in 2038) as invalid. Hopefully everything will
be using 64-bit time_t when that time comes.

10 years agodoc: fix CVE-ID in NEWS
Miroslav Lichvar [Wed, 8 Apr 2015 06:44:42 +0000 (08:44 +0200)] 
doc: fix CVE-ID in NEWS

CVE-2015-1853 is for chrony, CVE-2015-1799 is for ntp.

10 years agodoc: update NEWS 2.0-pre2
Miroslav Lichvar [Tue, 7 Apr 2015 14:14:09 +0000 (16:14 +0200)] 
doc: update NEWS

10 years agoMerge branch '1.31-security'
Miroslav Lichvar [Tue, 7 Apr 2015 13:34:39 +0000 (15:34 +0200)] 
Merge branch '1.31-security'

Conflicts:
NEWS
ntp_core.c

10 years agosys: allow drivers to fail when applying step offset
Miroslav Lichvar [Tue, 7 Apr 2015 13:03:44 +0000 (15:03 +0200)] 
sys: allow drivers to fail when applying step offset

Different systems may consider different time values to be valid.
Don't exit on settimeofday()/adjtimex() error in case the check in
UTI_IsTimeOffsetSane() isn't restrictive enough.

10 years agorefclock: check offset sanity
Miroslav Lichvar [Tue, 7 Apr 2015 13:02:32 +0000 (15:02 +0200)] 
refclock: check offset sanity

10 years agomanual: check offset sanity
Miroslav Lichvar [Tue, 7 Apr 2015 13:01:30 +0000 (15:01 +0200)] 
manual: check offset sanity

10 years agolocal: check offset sanity before accumulation
Miroslav Lichvar [Tue, 7 Apr 2015 12:58:58 +0000 (14:58 +0200)] 
local: check offset sanity before accumulation

Don't accept an offset that points to time before 1970 or outside the
interval to which is mapped NTP time.

10 years agolocal: clamp frequency offset
Miroslav Lichvar [Tue, 7 Apr 2015 12:13:41 +0000 (14:13 +0200)] 
local: clamp frequency offset

Don't allow frequency offset larger than 50%, the tracked time must not
stop or run backwards.

10 years agocmdmon: fix handling of client access command
Miroslav Lichvar [Tue, 7 Apr 2015 12:07:40 +0000 (14:07 +0200)] 
cmdmon: fix handling of client access command

Rework the loop to limit the number of iterations to MAX_CLIENT_ACCESSES
and not waste CPU.

10 years agontp: set maximum allowed polling interval
Miroslav Lichvar [Tue, 7 Apr 2015 12:01:25 +0000 (14:01 +0200)] 
ntp: set maximum allowed polling interval

To have an upper bound don't allow polling interval be larger than 24
(194 days).

10 years agodoc: document smoothtime directive
Miroslav Lichvar [Tue, 7 Apr 2015 10:25:01 +0000 (12:25 +0200)] 
doc: document smoothtime directive

10 years agodoc: update NEWS
Miroslav Lichvar [Mon, 30 Mar 2015 13:19:12 +0000 (15:19 +0200)] 
doc: update NEWS

10 years agocmdmon: fix initialization of allocated reply slots
Miroslav Lichvar [Mon, 30 Mar 2015 13:13:27 +0000 (15:13 +0200)] 
cmdmon: fix initialization of allocated reply slots

When allocating memory to save unacknowledged replies to authenticated
command requests, the last "next" pointer was not initialized to NULL.
When all allocated reply slots were used, the next reply could be
written to an invalid memory instead of allocating a new slot for it.

An attacker that has the command key and is allowed to access cmdmon
(only localhost is allowed by default) could exploit this to crash
chronyd or possibly execute arbitrary code with the privileges of the
chronyd process.

10 years agoaddrfilt: fix access configuration with subnet size indivisible by 4
Miroslav Lichvar [Mon, 30 Mar 2015 12:41:37 +0000 (14:41 +0200)] 
addrfilt: fix access configuration with subnet size indivisible by 4

When NTP or cmdmon access was configured (from chrony.conf or via
authenticated cmdmon) with a subnet size that is indivisible by 4 and
an address that has nonzero bits in the 4-bit subnet remainder (e.g.
192.168.15.0/22 or f000::/3), the new setting was written to an
incorrect location, possibly outside the allocated array.

An attacker that has the command key and is allowed to access cmdmon
(only localhost is allowed by default) could exploit this to crash
chronyd or possibly execute arbitrary code with the privileges of the
chronyd process.

10 years agotest: extend 113-leapsecond for leap smear
Miroslav Lichvar [Wed, 1 Apr 2015 15:35:39 +0000 (17:35 +0200)] 
test: extend 113-leapsecond for leap smear

10 years agontp: smear leap second with slewing mode and smoothing
Miroslav Lichvar [Wed, 1 Apr 2015 15:33:39 +0000 (17:33 +0200)] 
ntp: smear leap second with slewing mode and smoothing

Suppress leap second in packets sent to clients when smoothing and leap
second slew mode are enabled.

10 years agotest: add 119-smoothtime
Miroslav Lichvar [Thu, 2 Apr 2015 14:51:23 +0000 (16:51 +0200)] 
test: add 119-smoothtime