Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* DEC Unix Ephemeral Ports
@ 1997-08-01  4:00 Timothy Lee Couger
  1997-08-04  4:00 ` Timothy Lee Couger
  0 siblings, 1 reply; 3+ messages in thread
From: Timothy Lee Couger @ 1997-08-01  4:00 UTC (permalink / raw)



I'm trying to figure out what the ephemeral port range is for DEC Unix. 
On HPUX (and BSD?) it is 1025-5000.  On Solaris, I believe it is
everything above 32768.

Thanks for any info provided ...

+--------------------------------------+---------------------------+
|                                      |      __                   |
| Timothy Lee Couger                   |     / /\          __      |
| MCI Telecommunications Corporation   |    / / / __      / /\     |
| 2424 Garden of the Gods Road         |   / / / /_/\    / / /     |
| Colorado Springs, CO  80919          |  / /  \ \ \ \  /_/ / __   |
|                                      | /_/ /\ \ \ \ \/\ \ \/ /\  |
| Internet:        Tim.Couger@MCI.com  | \_\/\ \ \ \ \ \/\ \ \/ /  |
| Voice:           719-535-4849        |      \ \ \ \ \  /\ \  /   |
| VNet:            622-4849            |       \_\/  \_\/  \_\/    |
+--------------------------------------+---------------------------+



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DEC Unix Ephemeral Ports
  1997-08-01  4:00 DEC Unix Ephemeral Ports Timothy Lee Couger
@ 1997-08-04  4:00 ` Timothy Lee Couger
  1997-08-08  4:00   ` Jeffrey Mogul
  0 siblings, 1 reply; 3+ messages in thread
From: Timothy Lee Couger @ 1997-08-04  4:00 UTC (permalink / raw)



Timothy Lee Couger wrote:
> 
> I'm trying to figure out what the ephemeral port range is for DEC Unix.
> On HPUX (and BSD?) it is 1025-5000.  On Solaris, I believe it is
> everything above 32768.
> 
> Thanks for any info provided ...
> 

Found my answer ...

This information is defined in the <netinet/in.h> header file.  In this
file you will find the following comment:

/*
 * Local port number conventions:
 * 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

I interprete this as saying that ports 1-1023 are the well known ports,
ports 1024-5000 are the ephermal ports, and port 5001 through 65535 are
for the non-priveledge server (user defined) ports.

+--------------------------------------+---------------------------+
|                                      |      __                   |
| Timothy Lee Couger                   |     / /\          __      |
| MCI Telecommunications Corporation   |    / / / __      / /\     |
| 2424 Garden of the Gods Road         |   / / / /_/\    / / /     |
| Colorado Springs, CO  80919          |  / /  \ \ \ \  /_/ / __   |
|                                      | /_/ /\ \ \ \ \/\ \ \/ /\  |
| Internet:        Tim.Couger@MCI.com  | \_\/\ \ \ \ \ \/\ \ \/ /  |
| Voice:           719-535-4849        |      \ \ \ \ \  /\ \  /   |
| VNet:            622-4849            |       \_\/  \_\/  \_\/    |
+--------------------------------------+---------------------------+



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DEC Unix Ephemeral Ports
  1997-08-04  4:00 ` Timothy Lee Couger
@ 1997-08-08  4:00   ` Jeffrey Mogul
  0 siblings, 0 replies; 3+ messages in thread
From: Jeffrey Mogul @ 1997-08-08  4:00 UTC (permalink / raw)



In article <33E5F829.3DE8F935@mci.com>, Timothy Lee Couger <tim.couger@mci.com> writes:
|> > I'm trying to figure out what the ephemeral port range is for DEC Unix.
|> > On HPUX (and BSD?) it is 1025-5000.  On Solaris, I believe it is
|> > everything above 32768.
|> 
|> Found my answer ...
|> 
|> This information is defined in the <netinet/in.h> header file.  In this
|> file you will find the following comment:
|> 
|> #define IPPORT_USERRESERVED     5000

This is now a configurable parameter for Digital UNIX.  According
to
   http://www.digital.com/info/internet/document/ias/tuning.html

     You can set this parameter on DIGITAL UNIX Versions 3.2G, 4.0A, or
     higher, or on the patched version of DIGITAL UNIX V3.2C or higher.
     This parameter is not available on Version 4.0.

The maximum value is 65535; the default is still 5000.

-Jeff



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-08-08  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-08-01  4:00 DEC Unix Ephemeral Ports Timothy Lee Couger
1997-08-04  4:00 ` Timothy Lee Couger
1997-08-08  4:00   ` Jeffrey Mogul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox