*BSD News Article 34363


Return to BSD News archive

Xref: sserve comp.unix.bsd:14566 comp.security.unix:6747
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!news.cic.net!locust.cic.net!pauls
From: pauls@locust.cic.net (Paul Southworth)
Newsgroups: comp.unix.bsd,comp.security.unix
Subject: rlogind decrements port numbers -- why?
Date: 15 Aug 1994 16:58:06 GMT
Organization: CICNet, Inc.
Lines: 13
Message-ID: <32o6qu$fdj@spruce.cic.net>
NNTP-Posting-Host: locust.cic.net


It appears that the return port for rlogin data is assigned starting at
1023 and goes down from there for each subsequent connection to rlogind.
Why is that?  And why is it the opposite of telnet?  What would be the
ramification of having the rlogin data ports assigned in the unprivileged
range (above 1024) and incremented instead of decremented?  Is there
some difference between rlogin and telnet that requires rlogin data ports
to be in the privileged range?

--
Paul Southworth
CICNet Systems Support
pauls@cic.net