home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!manuel.anu.edu.au!coombs!avalon
- From: avalon@coombs.anu.edu.au (Darren Reed)
- Newsgroups: comp.protocols.tcp-ip
- Subject: Port Allocation.
- Date: 15 Dec 92 14:59:15 GMT
- Organization: Australian National University
- Lines: 23
- Message-ID: <avalon.724431555@coombs>
- NNTP-Posting-Host: 150.203.76.2
-
- When allocating ports for program use, it is commonly recognized that
- under 1024 is priveledged as per the latest numbers RFC. A small space
- of this (usu between 1000 and 1024) is used by the "r" commands.
-
- Then what ? From /usr/include/netinet/in.h:
-
- /*
- * Ports < IPPORT_RESERVED are reserved for
- * privileged processes (e.g. root).
- * Ports > IPPORT_USERRESERVED are reserved
- * for servers, not necessarily privileged.
- */
- #define IPPORT_RESERVED 1024
- #define IPPORT_USERRESERVED 5000
-
- Does this imply that nfs should be on a port > 5000 or that OpenWindows/
- Openlook shouldn't be at 2000 and that most rpc services are definately
- in the wrong place ?
-
- What about NCSA telnet which *always* has a local port >16384 for any
- connection, be it telnet or ftp ?
-
- darren
-