Re: [chrony-users] SV: Allow command do not work as expected |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
As Mirislav said, it might be that there were weird non-printing chanracters
in the lines, whichthe chrony interpreter gave up on The one that worked did
not have them and when you copied them over the new lines did not have them.
William G. Unruh __| Canadian Institute for|____ Tel: +1(604)822-3273
Physics&Astronomy _|___ Advanced Research _|____ Fax: +1(604)822-5324
UBC, Vancouver,BC _|_ Program in Cosmology |____ unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1 ____|____ and Gravity ______|_ www.theory.physics.ubc.ca/
On Thu, 30 Sep 2021, Henning Svane wrote:
[CAUTION: Non-UBC Email]
Hi again
I have 4 chrony servers and I made the configuration on one of the others and here it
worked????
So I moved the lines over. And now it work also here, but I cannot see what was wrong with the
first attempt.
But the problem is now solved.
Regards
Henning
Fra: Henning Svane <hsv@xxxxxxxxx>
Sendt: 30. september 2021 13:44
Til: chrony-users@xxxxxxxxxxxxxxxxxxxx
Emne: [chrony-users] Allow command do not work as expected
Hi
I have a strange problem.
It looks like only the first allow command will be read.
I am using version 4.0 on Ubuntu 20.04.3 installed with “sudo apt-get install Chrony”
From my /etc/chrony/chrony.conf
#Allow NTP client access from local network.
#DC Servers
allow 10.40.21.0/28
allow fc00:18f:11ab:4021::/64
allow 10.40.61.0/28
allow fc00:18f:11ab:4061::/64
odin@swntp01:~$ sudo chronyc clients
Hostname NTP Drop Int IntL Last Cmd Drop Int Last
===============================================================================
10.40.21.12 1 0 - - 329 0 0 - -
10.40.21.13 1 0 - - 173 0 0 - -
10.40.21.11 1 0 - - 78 0 0 - -
If I change the /etc/chrony/chrony.conf to allow All
#Allow NTP client access from local network.
#DC Servers
allow
odin@swntp01:~$ sudo chronyc clients
Hostname NTP Drop Int IntL Last Cmd Drop Int Last
===============================================================================
10.40.61.11 49 0 5 - 33 0 0 - -
fc00:18f:11ab:4061::11 50 0 6 - 9 0 0 - -
10.40.21.12 1 0 - - 434 0 0 - -
10.40.21.13 1 0 - - 278 0 0 - -
10.40.21.11 1 0 - - 183 0 0 - -
So what do I do wrong or have misunderstood?
Regards
Henning