home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / programm / 4666 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  1.6 KB

  1. Path: sparky!uunet!caen!sdd.hp.com!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.unix.programmer
  4. Subject: Re: getservbyname(), getprotobyname(), gethostbyname()
  5. Date: 15 Sep 1992 19:54:45 GMT
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 21
  8. Message-ID: <195f25INN3h2@early-bird.think.com>
  9. References: <1992Sep2.184623.3900@Urmel.Informatik.RWTH-Aachen.DE> <Btyu5o.Cxv@encore.com> <1992Sep15.163829.26987@u.washington.edu>
  10. NNTP-Posting-Host: telecaster.think.com
  11.  
  12. In article <1992Sep15.163829.26987@u.washington.edu> donn@carson.u.washington.edu (Donn Cave) writes:
  13. >/etc/services is a useful way to advertise port numbers between programmers
  14. >and system administrators, who otherwise would have no way to reserve a port,
  15. >but whether applications should refer to that file is open to question,
  16. >depending particularly on the system administration context.
  17.  
  18. Well, it's an unlikely scenario, but suppose someone announces that
  19. starting on October 1, 1992, the standard TELNET port is being changed from
  20. 23 to 191.  Having /etc/services (or better yet, an NIS services map) makes
  21. such a conversion much easier than if the port number is hard-coded or
  22. picked up at compile time.
  23.  
  24. While this is unlikely to happen with an entrenched protocol like TELNET, I
  25. could see it happening with something like authd, given the controversy
  26. between Dan Bernstein and the IETF over which authentication protocol
  27. should be used on the standard port.
  28. -- 
  29. Barry Margolin
  30. System Manager, Thinking Machines Corp.
  31.  
  32. barmar@think.com          {uunet,harvard}!think!barmar
  33.