Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Bugtraq: Re: ftpd: the advisory version

Re: ftpd: the advisory version

From: Valdis Kletnieks <Valdis.Kletnieks_at_VT.EDU>
Date: Fri, 30 Jun 2000 17:25:09 -0400

On Thu, 29 Jun 2000 14:25:34 CDT, Mike Eldridge <diz_at_CAFES.NET> said:
> It would seem to me that the way it should have been done was a bind to
> port 21 as root, then the control connection should drop root privileges
> by setuid() to the incoming user. FTP data transfers should be passive by
> default, binding to some unused random port above 1024.

Remember that FTP predates Unix. The port-1024 thing came along a LOT later
than FTP did. By the time the guys at Berkeley were doing their coding,
we were basically stuck with the 20/21. You might want to ask on the IETF
list if anybody remembers the reason it was done that way (quite possibly
a Multics or TOPS-20 issue ;)

--
				Valdis Kletnieks
				Operating Systems Analyst
				Virginia Tech
<HR NOSHADE>
<UL>
<LI>application/pgp-signature attachment: stored
</UL>
Received on Jul 02 2000
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos