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