Date: Wed, 04 Dec 2024 07:38:14 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 283116] ntpd doesn't sync with any NTP servers on IPv6-Only host Message-ID: <bug-283116-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283116 Bug ID: 283116 Summary: ntpd doesn't sync with any NTP servers on IPv6-Only host Product: Base System Version: 14.2-RELEASE Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: 4e5dfbsdbugs@nexus.tel After OS upgrade RELEASE 14.1 -> 14.2 ntpd doesn't sync with any NTP server= s on IPv6-Only host (arm64). IPv4+IPv6 hosts (amd64) successfully syncs with ipv6 and ipv4 servers. Observed behavior via tcpdump: The host sends and receives AAAA DNS requests to get available ipv6 NTP ser= vers addresses. The IPv6 NTP send/receive traffic is present, while ntpd is running (no oth= er ntp software is active). But the ntpd state keeps running in unsynced state (observed for more than 1 hour): # ntpq -nc peers remote refid st t when poll reach delay offset jit= ter =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D 0.freebsd.pool. .POOL. 16 p - 64 0 0.000 +0.000 0.= 000 2.freebsd.pool. .POOL. 16 p - 64 0 0.000 +0.000 0.= 000 # ntptime ntp_gettime() returns code 5 (ERROR) time eafa82ab.8361f000 Wed, Dec 4 2024 9:26:35.513, (.100513213), maximum error 16409000 us, estimated error 16000000 us, TAI offset 0 ntp_adjtime() returns code 5 (ERROR) modes 0x0 (), offset 0.000 us, frequency 6.607 ppm, interval 4 s, maximum error 16409000 us, estimated error 16000000 us, status 0x41 (PLL,UNSYNC), time constant 3, precision 0.000 us, tolerance 496 ppm, pps frequency 6.607 ppm, stability 0.000 ppm, jitter 0.000 us, intervals 0, jitter exceeded 0, stability exceeded 0, errors 0. No errors or warnings is reported by ntpd via syslog (like "error resolving pool"). Sample NTP traffic: # tcpdump -n -p -v port ntp tcpdump: listening on vtnet0, link-type EN10MB (Ethernet), snapshot length 262144 bytes 09:27:03.286586 IP6 (class 0xb8, hlim 64, next-header UDP (17) payload leng= th: 56) <Host IPv6>.123 > 2a01:4f9:c012:46b2::123.123: [bad udp cksum 0xa92a -> 0x228a!] NTPv4, Client, length 48 Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 6 (64s), precision -23 Root Delay: 0.000000, Root dispersion: 0.000000, Reference-ID: (uns= pec) Reference Timestamp: 0.000000000 Originator Timestamp: 0.000000000 Receive Timestamp: 0.000000000 Transmit Timestamp: 3942286023.286500161 (2024-12-04T07:27:03Z) Originator - Receive Timestamp: 0.000000000 Originator - Transmit Timestamp: 3942286023.286500161 (2024-12-04T07:27:03Z) 09:27:03.287801 IP6 (hlim 56, next-header UDP (17) payload length: 56) 2a01:4f9:c012:46b2::123.123 > <Host IPv6>.123: [udp sum ok] NTPv4, Server, length 48 Leap indicator: (0), Stratum 3 (secondary reference), poll 6 (64s), precision -24 Root Delay: 0.002014, Root dispersion: 0.000717, Reference-ID: 0xc2643197 Reference Timestamp: 3942285568.890700930 (2024-12-04T07:19:28Z) Originator Timestamp: 3942286023.286500161 (2024-12-04T07:27:03Z) Receive Timestamp: 3942286022.776204334 (2024-12-04T07:27:02Z) Transmit Timestamp: 3942286022.776319710 (2024-12-04T07:27:02Z) Originator - Receive Timestamp: -0.510295826 Originator - Transmit Timestamp: -0.510180450 09:27:04.231791 IP6 (class 0xb8, hlim 64, next-header UDP (17) payload leng= th: 56) <Host IPv6>.123 > 2a01:4f9:3081:399c::4.123: [bad udp cksum 0x0b64 -> 0x66b9!] NTPv4, Client, length 48 Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 6 (64s), precision -23 Root Delay: 0.000000, Root dispersion: 0.000000, Reference-ID: (uns= pec) Reference Timestamp: 0.000000000 Originator Timestamp: 0.000000000 Receive Timestamp: 0.000000000 Transmit Timestamp: 3942286024.231696767 (2024-12-04T07:27:04Z) Originator - Receive Timestamp: 0.000000000 Originator - Transmit Timestamp: 3942286024.231696767 (2024-12-04T07:27:04Z) 09:27:04.235382 IP6 (flowlabel 0x7f2fc, hlim 57, next-header UDP (17) paylo= ad length: 56) 2a01:4f9:3081:399c::4.123 > <Host IPv6>.123: [udp sum ok] NTPv4, Server, length 48 Leap indicator: (0), Stratum 3 (secondary reference), poll 6 (64s), precision -25 Root Delay: 0.004394, Root dispersion: 0.000991, Reference-ID: 0xc8634fed Reference Timestamp: 3942285499.520158031 (2024-12-04T07:18:19Z) Originator Timestamp: 3942286024.231696767 (2024-12-04T07:27:04Z) Receive Timestamp: 3942286023.724094255 (2024-12-04T07:27:03Z) Transmit Timestamp: 3942286023.724137758 (2024-12-04T07:27:03Z) Originator - Receive Timestamp: -0.507602511 Originator - Transmit Timestamp: -0.507559008 09:27:05.230506 IP6 (class 0xb8, hlim 64, next-header UDP (17) payload leng= th: 56) <Host IPv6>.123 > 2606:4700:f1::1.123: [bad udp cksum 0xe040 -> 0xf216!] NTPv4, Client, length 48 Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 6 (64s), precision -23 Root Delay: 0.000000, Root dispersion: 0.000000, Reference-ID: (uns= pec) Reference Timestamp: 0.000000000 Originator Timestamp: 0.000000000 Receive Timestamp: 0.000000000 Transmit Timestamp: 3942286025.230409312 (2024-12-04T07:27:05Z) Originator - Receive Timestamp: 0.000000000 Originator - Transmit Timestamp: 3942286025.230409312 (2024-12-04T07:27:05Z) 09:27:05.232203 IP6 (flowlabel 0x7bc5b, hlim 57, next-header UDP (17) paylo= ad length: 56) 2606:4700:f1::1.123 > <Host IPv6>.123: [udp sum ok] NTPv4, Serv= er, length 48 Leap indicator: (0), Stratum 3 (secondary reference), poll 6 (64s), precision -25 Root Delay: 0.006256, Root dispersion: 0.000198, Reference-ID: 0x0a4f0920 Reference Timestamp: 3942285853.275892145 (2024-12-04T07:24:13Z) Originator Timestamp: 3942286025.230409312 (2024-12-04T07:27:05Z) Receive Timestamp: 3942286024.720292848 (2024-12-04T07:27:04Z) Transmit Timestamp: 3942286024.720433025 (2024-12-04T07:27:04Z) Originator - Receive Timestamp: -0.510116463 Originator - Transmit Timestamp: -0.509976287 09:27:06.283868 IP6 (class 0xb8, hlim 64, next-header UDP (17) payload leng= th: 56) <Host IPv6>.123 > 2001:67c:164:200::184:123.123: [bad udp cksum 0x9ed0 = -> 0xe924!] NTPv4, Client, length 48 Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 6 (64s), precision -23 Root Delay: 0.000000, Root dispersion: 0.000000, Reference-ID: (uns= pec) Reference Timestamp: 0.000000000 Originator Timestamp: 0.000000000 Receive Timestamp: 0.000000000 Transmit Timestamp: 3942286026.283772916 (2024-12-04T07:27:06Z) Originator - Receive Timestamp: 0.000000000 Originator - Transmit Timestamp: 3942286026.283772916 (2024-12-04T07:27:06Z) 09:27:06.285732 IP6 (flowlabel 0xa1bf5, hlim 56, next-header UDP (17) paylo= ad length: 56) 2001:67c:164:200::184:123.123 > <Host IPv6>.123: [udp sum ok] NTPv4, Server, length 48 Leap indicator: (0), Stratum 2 (secondary reference), poll 6 (64s), precision -25 Root Delay: 0.001174, Root dispersion: 0.001037, Reference-ID: 0xc26402c2 Reference Timestamp: 3942285199.430308981 (2024-12-04T07:13:19Z) Originator Timestamp: 3942286026.283772916 (2024-12-04T07:27:06Z) Receive Timestamp: 3942286025.773833398 (2024-12-04T07:27:05Z) Transmit Timestamp: 3942286025.773961652 (2024-12-04T07:27:05Z) Originator - Receive Timestamp: -0.509939518 Originator - Transmit Timestamp: -0.509811264 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283116-227>