[chrony-dev] [GIT] chrony/chrony.git branch master updated. 3.2-pre1-16-g4b51114 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
This is an automated email from git. It was generated because a ref
change was pushed to the "chrony/chrony.git" repository.
The branch, master has been updated
via 4b511143b876ebbf02a67bf63d879c2513b30aee (commit)
via 93076e7e1c25dce4214b4e5ae7633ac849e1a12a (commit)
via 1c51feb3c5977e39b9ad60fe33a9508d0058a55d (commit)
via c2773dbc2f737cdeb2f6a7e7c37b965a9220e6c7 (commit)
via 4534db84c4001779a1550de66136a357855ba4e9 (commit)
via be8215e181abfee35bff673a359a225676b9f205 (commit)
via ae82bbbacecec56e1f893fd038ca10323f8760f0 (commit)
via 2b6ea41062655a07b84465cbeb436c4df096db27 (commit)
via d9f745fe70bb6a0799e1febe25f53102541e7af2 (commit)
via 9aac17936778ef105559ddaa9816fe8f11b456ca (commit)
via b896bb5a783d3fc741b94bf65616b69097b5ecaf (commit)
via 64c2fd9888d02f5427a5df02a4b6c4a2abc3476b (commit)
via 2668a12e4ebfea04fca6c3a846e380ce404fcf29 (commit)
via e1645966ec926e9ac9840f9b31d407d5cccf571a (commit)
via 4f1fc1ee78b18d37a6e66534a723c3d8f4359d50 (commit)
via d70df3daab0020ba9ce9b0333a0c1c3f2a350ca1 (commit)
from 554b9b06de3cc17187cac2f5b0b7d7fc40d161c2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4b511143b876ebbf02a67bf63d879c2513b30aee
Author: Bryan Christianson <bryan@xxxxxxxxxxxxx>
Date: Wed Aug 9 05:14:05 2017 +1200
sys_netbsd: fix adjtime() fault on macOS
On some systems, passing NULL as the first argument to adjtime, will
result in returning the amount of adjustment outstanding from a previous
call to adjtime().
On macOS this is not allowed and the adjtime call will fault. We can
simulate the behaviour of the other systems by cancelling the current
adjustment then restarting the adjustment using the outstanding time
that was returned. On macOS 10.13 and later, the netbsd driver is now
used and must use these semantics when making/measuring corrections.
commit 93076e7e1c25dce4214b4e5ae7633ac849e1a12a
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Tue Aug 8 14:08:30 2017 +0200
client: fix parsing of -v command option
The sources and sourcestats commands accept -v as an option, but the
glibc implementation of getopt() reorders the arguments and parses the
option as a command-line option of chronyc.
Add '+' to the getopt string to disable this feature. Other getopt()
implementations should consider it a new command-line option, which will
be handled as an error if present.
commit 1c51feb3c5977e39b9ad60fe33a9508d0058a55d
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Tue Aug 8 13:27:30 2017 +0200
sched: add new timeout class for peer transmissions
This allows transmissions in symmetric mode to be scheduled
independently from client transmissions. This reduces maximum delay
in scheduling when chronyd is configured with a larger number of
servers.
commit c2773dbc2f737cdeb2f6a7e7c37b965a9220e6c7
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Fri Aug 4 15:24:03 2017 +0200
test: improve hwclock unit test
commit 4534db84c4001779a1550de66136a357855ba4e9
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Fri Aug 4 15:08:40 2017 +0200
hwclock: fix conversion of HW timestamps
Fix a sign error in conversion of HW time to local time, which caused
the jitter to be amplified instead of reduced. NTP with HW timestamping
should now be more stable and able to ignore occasionally delayed
readings of PHC.
commit be8215e181abfee35bff673a359a225676b9f205
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Thu Aug 3 17:21:16 2017 +0200
ntp: minimize data in client mode packets
In basic client mode, set the origin and receive timestamp to zero.
This reduces the amount of information useful for fingerprinting and
improves privacy as the origin timestamp allows a passive observer to
track individual NTP clients as they move across networks. (With chrony
clients that assumes the timestamp wasn't reset by the chronyc offline
and online commands.)
This follows recommendations from the current version of IETF draft on
NTP data minimization [1].
The timestamp could be theoretically useful for enhanced rate limiting
which can limit individual clients behind NAT and better deal with DoS
attacks, but no server implementation is known to do that.
[1] https://tools.ietf.org/html/draft-ietf-ntp-data-minimization-01
commit ae82bbbacecec56e1f893fd038ca10323f8760f0
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Thu Aug 3 16:13:05 2017 +0200
examples: improve NetworkManager dispatcher script
When no default route is configured, check each source if it has a
route. If the system has multiple network interfaces, this prevents
setting local NTP servers to offline when they can still be reached over
one of the interfaces.
commit 2b6ea41062655a07b84465cbeb436c4df096db27
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Wed Aug 2 16:51:17 2017 +0200
doc: fix server mode number in chrony.conf man page
commit d9f745fe70bb6a0799e1febe25f53102541e7af2
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Wed Aug 2 16:48:33 2017 +0200
doc: update chrony.conf man page for recent changes
commit 9aac17936778ef105559ddaa9816fe8f11b456ca
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Wed Aug 2 15:01:27 2017 +0200
ntp: skip IPv6 extension headers
Handle IPv6 packets with extension headers received from the error queue
on Linux.
commit b896bb5a783d3fc741b94bf65616b69097b5ecaf
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Wed Aug 2 10:54:50 2017 +0200
ntp: don't send useless requests in interleaved client mode
In interleaved client mode, when so many consecutive requests were lost
that the first valid (interleaved) response would be dropped for being
too old, switch to basic mode so the response can be accepted if it
doesn't fail in the other tests.
This reworks commit 16afa8eb5022792c1b4bf08e3b01095ca5ebd0f5.
commit 64c2fd9888d02f5427a5df02a4b6c4a2abc3476b
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Tue Aug 1 17:29:47 2017 +0200
ntp: limit number of interleaved responses in symmetric mode
In symmetric mode, don't send a packet in interleaved mode unless it is
the first response to the last valid request received from the peer and
there was just one response to the previous valid request. This prevents
the peer from matching the transmit timestamp with an older response if
it can't detect missed responses.
commit 2668a12e4ebfea04fca6c3a846e380ce404fcf29
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Tue Aug 1 12:42:35 2017 +0200
ntp: improve detection of missed packets in interleaved mode
In interleaved symmetric mode, check if the remote TX timestamp is
before RX timestamp. Only the first response from the peer after
receiving a request should pass this test. Check also the interval
between last two remote transmit timestamps when we know the remote poll
can't be constrained by minpoll. Use the minimum of previous remote and
local poll as a lower bound of the actual interval between peer's
transmissions.
commit e1645966ec926e9ac9840f9b31d407d5cccf571a
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Tue Aug 1 10:01:53 2017 +0200
ntp: enable maxdelayratio test in interleaved client mode
With more accurate delay in interleaved mode the test should now be as
reliable as in basic mode.
commit 4f1fc1ee78b18d37a6e66534a723c3d8f4359d50
Author: Bryan Christianson <bryan@xxxxxxxxxxxxx>
Date: Mon Jul 31 22:19:22 2017 +1200
main: fix -q option
Attempting to step the system clock by using the -q option with chronyd
would fail.
commit d70df3daab0020ba9ce9b0333a0c1c3f2a350ca1
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Wed Jul 26 17:31:34 2017 +0200
logging: enable line buffering of file log
The file log specified with the -l option should have the messages as
soon as they are produced.
-----------------------------------------------------------------------
Summary of changes:
client.c | 2 +-
doc/chrony.conf.adoc | 32 +++++++--------
examples/chrony.nm-dispatcher | 34 +++++++++++----
hwclock.c | 2 +-
logging.c | 3 ++
main.c | 7 +++-
ntp_core.c | 96 ++++++++++++++++++++++++++++++-------------
ntp_io_linux.c | 39 +++++++++++++++---
sched.h | 3 +-
sys_netbsd.c | 9 ++++
test/simulation/122-xleave | 1 +
test/unit/hwclock.c | 20 ++++++---
test/unit/ntp_core.c | 3 +-
13 files changed, 180 insertions(+), 71 deletions(-)
hooks/post-receive
--
chrony/chrony.git
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.