*BSD News Article 50506


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!gatech!howland.reston.ans.net!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: /etc/services
Date: 30 Aug 1995 15:15:39 +0200
Organization: Private U**x site, Dresden.
Lines: 18
Message-ID: <421o9r$74v@bonnie.tcd-dresden.de>
References: <41gtu9$knu@news.bu.edu> <41htce$91l@news.bu.edu> <41k1vt$dsa@bonnie.tcd-dresden.de> <41v73r$rjr@news.bu.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Mikhail Teterin <mi@cs.bu.edu> wrote:

>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 (-: )

It can, but you cannot use the same name for it (since it's just an
alias for the port number only).  You can either invent any name and
put this into /etc/services (e.g. ``telnet2''), or in that case,
simply run a telnetd on the `http' service (aka. port):

http    stream  tcp     nowait  root    /usr/libexec/telnetd    telnetd
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)