*BSD News Article 50277


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!newsfeed.internetmci.com!news.msfc.nasa.gov!elroy.jpl.nasa.gov!lll-winken.llnl.gov!fnnews.fnal.gov!gw1.att.com!news.bu.edu!mi
From: mi@cs.bu.edu (Mikhail Teterin)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: /etc/services
Date: 29 Aug 1995 14:10:03 GMT
Organization: Computer Science Department, Boston University, Boston, MA, USA
Lines: 23
Message-ID: <41v73r$rjr@news.bu.edu>
References: <41gtu9$knu@news.bu.edu> <87virn9aoy.fsf@hrothgar.mindspring.com> <41htce$91l@news.bu.edu> <41k1vt$dsa@bonnie.tcd-dresden.de>
NNTP-Posting-Host: csb.bu.edu
X-Newsreader: TIN [version 1.2 PL2]

Some time ago (25 Aug 1995 10:35:09 +0200) honorable J Wunsch, 
residing at j@bonnie.heep.sax.de wrote:
|Mikhail Teterin <mi@cs.bu.edu> wrote:

|>My impression was, that when inetd hears a connection attempt on the port
|>it looks at /etc/services to find out which server to wake up (say telnet).

|No, it looks into /etc/inetd.conf at startup time to know on which
|ports it has to listen.  Once there's an incoming connection on one of
|the ports, it invokes the appropriate command.  If you've been
|specifying the port number as the name of a service, it will be
|resolved via /etc/services first.  (Btw., don't misuse port # 80, it's
|the assigned number for http.)

Do not bother if this is annoying, but why can not one server be asso-
siated with more then one port? The workaround is obvious, but the 
philosophy is not clear for me... (I do not run httpd, but I have
users who can only get out of their firewalls thru port 80 (-: )
Thank you!
	-mi
--
		-- Why is that 2 o'clock all the time?!
		-- It is a manometer!!!