LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   NTP config - how to prevent clients using my server? (https://www.linuxquestions.org/questions/linux-server-73/ntp-config-how-to-prevent-clients-using-my-server-809769/)

ShadyCraig 05-24-2010 07:37 AM

NTP config - how to prevent clients using my server?
 
Hello all,

I'm presently writing software to keep my system time from drifting, it uses an external clock device.

To verify it's accuracy I'm running ntpd as a server, and have another server monior the first as a client. This allows me to compare the offset with other 'valid' time servers.

The problem is that the monitoring client keeps synchronising with my development server. How can I configure either the dev. server or the client so that it's time won't be selected as a good time source?

The ntp.conf on the dev. server looks like:
Code:

server  127.127.1.0    # local clock
fudge  127.127.1.0    stratum 10

disable auth

driftfile /tmp/drift
broadcastdelay  0.008

Thanks,
Craig

ShadyCraig 05-24-2010 07:55 AM

Doh,

After looking in the docs for the nth time I've found it, right after posting.

Add noselect to the server command on the client:

Code:

server 192.168.4.238 noselect


All times are GMT -5. The time now is 03:28 PM.