home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / protocol / tcpip / 5618 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.9 KB

  1. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!slc6!trier
  2. From: trier@slc6.ins.cwru.edu (Stephen C. Trier)
  3. Newsgroups: comp.protocols.tcp-ip
  4. Subject: Re: Port Allocation.
  5. Date: 15 Dec 1992 15:53:39 GMT
  6. Organization: Case Western Reserve University, Cleveland OH (USA)
  7. Lines: 27
  8. Message-ID: <1gkv23INNc7a@usenet.INS.CWRU.Edu>
  9. References: <avalon.724431555@coombs>
  10. NNTP-Posting-Host: slc6.ins.cwru.edu
  11.  
  12. In article <avalon.724431555@coombs> avalon@coombs.anu.edu.au (Darren Reed) writes:
  13. >When allocating ports for program use, it is commonly recognized that
  14. >under 1024 is priveledged as per the latest numbers RFC.
  15.  
  16. Check RFC 1122 on "privileged" ports: No ports are "privileged", except by
  17. convention of some OS's.  This convention can NOT be assumed to exist outside
  18. of that particular OS.  The only difference about ports under 1024 is that
  19. they are used for well-known ports and therefore, non-RFC protocols should
  20. probably not use ports in that range.  (BTW, when 1122 was written, there
  21. were only 256 well-known ports.  The argument still applies, though.)
  22.  
  23. All the specs say now are that ports under 1024 are to be used for well-known
  24. ports.  Ports above 1024 are technically a free-for-all, though individual
  25. operating systems may choose to allocate them in whatever arbitrary way they
  26. like.  BSD does so, in an admittedly arbitrary way.
  27.  
  28. The NCSA telnet allocations you saw were fine.  The telnet I use here starts
  29. with local port 65534 and works its way down to 1024, then wraps around to
  30. 65534 again.  The wrap around could be at 1 were it not for some design
  31. compromises (read: bugs) in the way it handles multiple connections on the
  32. same local port.
  33.  
  34. -- 
  35. Stephen Trier                      "We want to offer you a price that you
  36. Network software type               just can't afford to take advantage of."
  37. Case Western Reserve University         - Sales blurb from HSC Software
  38. trier@ins.cwru.edu
  39.