Randy McMurchy wrote:
> Bruce Dubbs wrote these words on 10/28/05 14:00 CST:
> 
>>Archaic wrote:
>>
>>>What is the viability of adding an example config for NTP as a server?
>>>It would probably be split into 2 pages ala the svn page.
>>
>>I'm not sure what you mean.  If you follow the instructions there now,
>>it does get installed as a server.  You might want to add some restrict
>>statements and I have to allow port udp/123 through my firewall, but
>>otherwise there is no difference from what we have now.
> 
> 
> I believe the point being that NTP can (and is, using the book's
> instructions) be installed as a server, yet it is located in the
> "Basic Networking Programs" section.
> 
> But then, this would be no different than the inetutils instructions.
> 
> Point being, most of the programs that can be used as a server and/or
> as a client are broken out into two different sections of the book.

OK, I think I see what is meant.  I'm not sure what you mean with your
reference to inetutils, but BIND Utils and BIND are two sets of install
instructions for the same package.

The difference I see here is that a user would always install all the
executables.  That's the way ntp works.  The only difference is the
configuration and that is quite minimal.  I suppose someone would only
want to run ntpdate, but that is depricated.

This is what I use for one of my my servers:

server tock.cerias.purdue.edu
server time-c.timefreq.bldrdoc.gov
server time.nist.gov

peer ticker
peer chrono

restrict default nomodify nopeer noquery
restrict 172.24.0.0 mask 255.255.0.0
restrict 127.0.0.1

driftfile /var/cache/ntp.drift
pidfile   /var/run/ntp.pid

And this is what I use for my client:

restrict default ignore
restrict chrono.cis.sac.accd.edu  nomodify nopeer noquery
restrict sundial.cis.sac.accd.edu nomodify nopeer noquery
restrict ticker.cis.sac.accd.edu  nomodify nopeer noquery
restrict 127.0.0.1

server chrono.cis.sac.accd.edu
server sundial.cis.sac.accd.edu
server ticker.cis.sac.accd.edu

driftfile /var/cache/ntp.drift
pidfile   /var/run/ntp.pid

I really don't think there is enough difference here to justify a
separate page.  We could add a paragraph or two to explain the restrict
and peer commands if you are putting up a public time server, but those
are in the documentation and we don't generally rehash available docs.

  -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to