chrony/test
Miroslav Lichvar fdfcabd79b ntp: drop support for long NTPv4 MACs
Don't accept NTPv4 packets which have a MAC longer than 24 octets to
strictly follow RFC 7822, which specifies the maximum length of a MAC
and the minimum length of the last extension field to avoid an ambiguity
in parsing of the packet.

This removes an ugly hack that was needed to accept packets that
contained one or more extension fields without a MAC, before RFC 7822
was written and NTP implementations started using truncated MACs.

The long MACs were used by chrony in versions 2.x when configured to
authenticate a server or peer with a key using a 256-bit or longer hash
(e.g. SHA256). For compatibility with chrony >= 4.0, these clients/peers
will need to have "version 3" added to the server/peer line in
chrony.conf.
2020-09-10 13:31:57 +02:00
..
compilation configure: fix building with -NTP -CMDMON +SCFILTER 2020-09-10 09:36:35 +02:00
kernel test: extend frequency in ntp_adjtime() test 2020-08-31 10:17:21 +02:00
simulation test: extend 110-chronyc test 2020-08-20 13:27:53 +02:00
system test: fix 102-hwtimestamp test for new ethtool 2020-08-20 16:19:13 +02:00
unit ntp: drop support for long NTPv4 MACs 2020-09-10 13:31:57 +02:00