home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.sys5.r4:812 comp.unix.sysv386:17359
- Newsgroups: comp.unix.sys5.r4,comp.unix.sysv386
- Path: sparky!uunet!pmafire!dave
- From: dave@pmafire.inel.gov (Dave Remien)
- Message-ID: <1992Dec13.020829.26374@pmafire.inel.gov>
- Date: Sun, 13 Dec 92 02:08:29 GMT
- Organization: WINCO
- Subject: Re: time sync with TCP
- Summary: Not in inetd.conf
- References: <ByuvJH.7IG@csi.compuserve.com> <1992Dec8.052521.5035@kumr.lns.com> <ByyItA.IwG@gator.rn.com>
- Distribution: wo
- Organization: WINCO
- Keywords: xntpd services inted.conf
- Lines: 34
-
- In article <ByyItA.IwG@gator.rn.com> larry@gator.rn.com (Larry Snyder) writes:
- >pozar@kumr.lns.com (Tim Pozar) writes:
- >
- >>a program like inetd. For the later, you would "enable" the program by
- >>adding a line for it in inetd.conf.
- >
- >I did and all appears to be. xntpd which comes with stock Dell 2.2
- >works.
- >
-
- There's no reason to put a daemon type program like xntpd in
- /etc/inetd.conf; since the inetd shouldn't be starting it. We start
- xntpd at network boot time, and run it till shutdown. Inetd is for
- starting programs up when requests on a particular port come in from
- outside your machine. Basically, it listens on all the ports defined by
- the "services" in inetd.conf, and will fork whatever program you
- designate for that port, connected to that socket.
-
- Ntp does need to be in /etc/services, though, since xntpd gets it's port
- info from a text query (getservbyname(3)), rather than having a number
- hard coded in the executable. Lets you debug a new program more easily,
- among other things.
-
- If you were REALLY paranoid, and had a WWV clock, you could run xntp on
- your network on a completely different port number, so that it's
- extremely unlikely that anyone could declare itself a stratum 1 time
- source and screw your network's time up.
-
- Merry Xmas! Bwah ha ha ho ho!
-
- Dave
- --
- Dave Remien +*+*+*+*+*+*+*+*+*+*+*+*+*+*+ WINCO Computer Engineering Group
- dave@pmafire.inel.gov or rzd@inel.gov "Dave Barry for President"
-