Date: Fri, 20 May 2022 15:03:55 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264102] ntp doesn't support unprivileged ports (works with ntpdate) Message-ID: <bug-264102-227-EejJLNnxC5@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-264102-227@https.bugs.freebsd.org/bugzilla/> References: <bug-264102-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264102 --- Comment #1 from Jonathan Vasquez <jon@xyinn.org> --- I tested OpenNTPD and I can see if immediately connects to the freebsd ntp = pool (Excluding the offset adjustment since -s was removed and it's using an "improved" variation on -s as default, although it hasn't actually fixed the clock after many minutes. So I'll probably try and set it manually via 'dat= e' and I'll also check my BIOS settings: https://undeadly.org/cgi?action=3Darticle;sid=3D20191111075815). Results of base ntpd implementation: root@leslie:~ # ntpq -p 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.= 031 Results of OpenNTPD: root@leslie:~ # ntpctl -s all 4/4 peers valid, constraint offset -14354s, clock unsynced, clock offset is -14351047.182ms peer wt tl st next poll offset delay jitter 149.28.118.175 from pool 0.freebsd.pool.ntp.org 1 10 2 11s 31s 0.502ms 30.323ms 1.555ms 204.2.134.163 from pool 0.freebsd.pool.ntp.org 1 10 3 21s 34s 2.210ms 83.845ms 4.348ms 64.246.132.14 from pool 0.freebsd.pool.ntp.org 1 10 2 21s 31s 2.575ms 20.227ms 2.043ms 65.100.46.166 from pool 0.freebsd.pool.ntp.org 1 10 1 21s 31s -1.617ms 96.042ms 3.099ms OpenNTPD config: It's the default other than me removing time.cloudflare.org and changing the generic ntp pool to the freebsd ntp pool.)z /usr/local/etc/ntpd.conf servers 0.freebsd.pool.ntp.org sensor * constraint from "9.9.9.9" # quad9 v4 without DNS constraint from "2620:fe::fe" # quad9 v6 without DNS constraints from "www.google.com" # intentionally not 8.8.8.8 ----- root@leslie:~ # /usr/local/sbin/ntpd -d=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 /var/db/ntpd.drift is empty=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ntp engine ready=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 constraint reply from 9.9.9.9: offset -14349.678893=20=20=20=20=20=20=20=20 constraint reply from 142.251.40.100: offset -14349.681551 cancel settime because offset is negative or close enough peer 162.159.200.123 now valid peer 38.229.62.9 now valid=20=20=20=20 peer 138.236.128.36 now valid peer 65.100.46.166 now valid peer 38.229.62.9 now invalid peer 38.229.62.9 now valid adjusting local clock by -14349.445186s <-- These didn't actually adjust anything.=20 adjusting local clock by -14348.500675s --=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-264102-227-EejJLNnxC5>