I'm currently running 4.2.8p10 using a package default configuration
that contains only pool sources and the following preconfigured restrict
lines:

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 -4 default kod notrap nomodify nopeer noquery limited
restrict 127.0.0.1
restrict ::1
restrict source notrap nomodify noquery


I added one extra restrict so that other machines on my network can poll
the status using ntpq:

restrict 10.0.0.0 mask 255.255.0.0

With that configuration everything worked from all machines on the
network.  Then I wanted to add a local server that is a stratum 1 (GPS/PPS):

server 10.0.0.10 iburst maxpoll 4

However, as soon as I do that, I can not use ntpq from that particular
machine (10.0.0.10).  The command times out.

If I remove the "restrict source" line, I'm able to poll from 10.0.0.10
but the pools no longer work.  I thought that the restrict 10.0.0.0
directive would override everything else but it appears not.  How do I
configure the daemon to allow the pools with the appropriate
restrictions but still allow my local machine to query status even while
it serves time?
_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Reply via email to