chrony/test/unit
Miroslav Lichvar eae4b2abe5 ntp: drop precompensation of TX timestamp
The daemon transmit timestamps are precompensated for the time it takes
to generate a MAC using a symmetric key (as measured on chronyd start)
and also an average round-trip time of the Samba signing of MS-SNTP
responses. This improves accuracy of the transmit timestamp, but it
has some issues.

The correction has a random error which is changing over time due to
variable CPU frequency, system load, migration to a different machine,
etc. If the measured delay is too large, the correction may cause the
transmit timestamp to be later than the actual transmission. Also, the
delay is measured for a packet of a minimal length with no extension
fields, and there is no support for NTS.

Drop the precompensation in favor of the interleaved mode, which now
avoids the authentication delay even when no kernel/hardware timestamps
are available.
2020-07-09 14:46:57 +02:00
..
addrfilt.c test: fix DEBUG_LOG use in unit tests 2017-03-13 12:04:26 +01:00
clientlog.c clientlog: add NTS-KE service 2020-05-21 12:01:39 +02:00
cmac.c cmac: enumerate cipher algorithms 2020-05-14 15:37:38 +02:00
hash.c hash: enumerate hash algorithms 2020-05-14 15:37:38 +02:00
hwclock.c update copyright years 2018-09-12 11:38:10 +02:00
keys.c ntp: drop precompensation of TX timestamp 2020-07-09 14:46:57 +02:00
Makefile.in test: disable object dependencies in main makefile 2020-06-08 15:27:57 +02:00
ntp_core.c socket: enable only specified IP families 2020-06-17 15:24:55 +02:00
ntp_core.keys test: extend ntp_core unit test 2018-08-28 18:27:03 +02:00
ntp_ext.c test: add ntp_ext unit test 2020-03-05 16:02:15 +01:00
ntp_sources.c socket: enable only specified IP families 2020-06-17 15:24:55 +02:00
nts_ke.crt test: add nts unit tests 2020-03-05 16:02:15 +01:00
nts_ke.key test: add nts unit tests 2020-03-05 16:02:15 +01:00
nts_ke_client.c nts: free client cert credentials when not used 2020-05-21 12:42:18 +02:00
nts_ke_server.c nts: rename ntscachedir directive to ntsdumpdir 2020-04-09 16:57:32 +02:00
nts_ke_session.c nts: fix address in server NTS-KE log messages 2020-03-26 15:30:27 +01:00
nts_ntp_auth.c test: add nts unit tests 2020-03-05 16:02:15 +01:00
nts_ntp_client.c nts: allow missing SIV support 2020-06-04 14:50:17 +02:00
nts_ntp_server.c nts: refactor NTS context 2020-04-09 16:57:31 +02:00
regress.c test: add regress unit test 2017-06-27 15:29:01 +02:00
samplefilt.c sources: separate update of leap status 2020-03-12 14:07:12 +01:00
siv.c test: extend siv unit test 2020-06-04 14:50:17 +02:00
smooth.c main: don't require root privileges with -Q option 2017-07-13 16:10:54 +02:00
sources.c test: fix sources unit test 2020-06-04 14:50:17 +02:00
test.c test: fix building of unit tests 2019-07-16 13:46:37 +02:00
test.h test: allow unit tests to be skipped 2018-09-27 11:42:38 +02:00
util.c util: add function to split string into words 2020-04-09 16:42:20 +02:00