On Sep 13, 2007, at 10:28 AM, Bart-Jan Vrielink wrote:
> Wouldn't it be useful to have a sample config that does the following:
> - provide time services to the general public
> - give sample server entries to get time from
> - shows how to setup secure peers with other servers you may be have
> - give pointers how to deal with offensive clients
>
> I find the documentation and options for ntp a bit overwhelming; most
> people have no need to setup a stratum 1 server, but simply want time
> and want to provide time.
> A well-commented ntp.conf published on www.pool.ntp.org can help  
> with that.

I agree that a sample ntp.conf file would be helpful, but the only  
thing you need to have NTPd working well enough to synchronize and  
provide time to the world is a single line such as:

% cat /etc/ntp.conf
server time.apple.com minpoll 12 maxpoll 17

This is the default config one gets on a MacOS X system; and even the  
minpoll/maxpoll arguments aren't needed, although they are nice to  
use on random client machines which are not likely to be queried much  
by other machines in order to reduce the load on (in this case)  
Apple's timeservers.

If you want to set up peers, add the "peers" statement rather than  
"server".
If you want to set up the crypto stuff to do secure authentication,  
well, that's here:

   http://www.eecis.udel.edu/~mills/ntp/html/authopt.html

While the NTP documentation is a bit complex to work with from  
scratch, you only need to focus on the relevant parts for your  
situation....

-- 
-Chuck

_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers

Reply via email to