home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / sys5 / r4 / 812 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  1.9 KB

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