I am confused as to what is the default access policy of an ntp server. According to the ntp_acc man page, access can only be denied if specifically blacklisted.
Clients can be denied service because they are explicitly included in the restrict list created by the restrict command or implicitly as the result of cryptographic or rate limit violations.
To test if I am correct, I ran the following command on an ntp server that didn't have any restrict policy against the client and I was able to successfully query the server.
[root@localhost ~]# ntpdate -q 192.168.122.50
server 192.168.122.50, stratum 3, offset 6.177375, delay 0.02585
4 Nov 20:51:40 ntpdate[2259]: step time server 192.168.122.50 offset 6.177375 sec
This proved my theory that ntp default allows all queries to the server but not necessarily all types of ntp traffic to the server.
So here are my question(s):
- Is all access to an ntp server really unrestricted or is just queries?
- Can a ntp client modify the time of an ntp server (I would guess this could be done by spoofing yourself as one of the ntp's server's servers but I am not sure)?