From: Timothy Lee Couger <tim.couger@mci.com>
Subject: Re: DEC Unix Ephemeral Ports
Date: 1997/08/04 [thread overview]
Message-ID: <33E5F829.3DE8F935@mci.com> (raw)
In-Reply-To: 33E224D1.752F51D5@mci.com
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 | \_\/ \_\/ \_\/ |
+--------------------------------------+---------------------------+
next prev parent reply other threads:[~1997-08-04 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-08-01 4:00 DEC Unix Ephemeral Ports Timothy Lee Couger
1997-08-04 4:00 ` Timothy Lee Couger [this message]
1997-08-08 4:00 ` Jeffrey Mogul
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox