Hello.
Many years ago i just installed ntp and used it.
but now it is not working.
here is step by step reproduction.
1. on server : apt-get purge ntp
2. on server: apt-get install ntp, openned port 123 in tcp and udp
3. on the client do "ntpdate -vd 10.19.10.1"
Error:
>10.19.10.1: Server dropped: strata too high
>server 10.19.10.1, port 123
>stratum 16, precision -24, leap 11, trust 000
Tried on ntp server:
adding "restrict 10.19.10.0 mask 255.255.255.224 nomodify notrap"
"server 127.127.1.0
fudge 127.127.1.0 stratum 10"
"server 10.19.10.0
fudge 10.19.10.0 stratum 10"
Expected : time will be synced with my own server.
Regards,
Rinat
On 13.09.2021 03:41 AM, richman1000000 wrote:
Package: ntp
Version: 1:4.2.8p12+dfsg-4
Severity: important
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 10.10
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-17-amd64 (SMP w/6 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ntp depends on:
ii adduser 3.118
ii libc6 2.28-10
ii libcap2 1:2.25-2
ii libedit2 3.1-20181209-1
ii libopts25 1:5.18.12-4
ii libssl1.1 1.1.1d-0+deb10u7
ii lsb-base 10.2019051400
ii netbase 5.6
ii tzdata 2021a-0+deb10u1
Versions of packages ntp recommends:
ii perl 5.28.1-6+deb10u1
ii sntp 1:4.2.8p12+dfsg-4
Versions of packages ntp suggests:
pn ntp-doc <none>
-- Configuration Files:
/etc/ntp.conf changed:
driftfile /var/lib/ntp/ntp.drift
leapfile /usr/share/zoneinfo/leap-seconds.list
pool 0.debian.pool.ntp.org iburst
pool 1.debian.pool.ntp.org iburst
pool 2.debian.pool.ntp.org iburst
pool 3.debian.pool.ntp.org iburst
restrict default
restrict 10.19.10.0 mask 255.255.255.224 nomodify notrap
restrict 127.0.0.1
restrict ::1
logfile /var/log/ntp.log
-- no debconf information