home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!eco.twg.com!eco.twg.com!larry
- From: larry@eco.twg.com (Lawrence B. Henry III)
- Subject: Re: TT_AccPorNam field (port numbers)
- Message-ID: <1992Dec30.193413.1872@eco.twg.com>
- Lines: 35
- Sender: larry@vishnu.eco.twg.com (Lawrence B. Henry III)
- Nntp-Posting-Host: eco.twg.com
- Reply-To: larry@eco.twg.com
- Organization: The Wollongong Group (East Coast Operations)
- References: <1992Dec27.233720.1@woods.ulowell.edu> <1hnak7INNnna@gap.caltech.edu>,<gurman.725601335@umbra.gsfc.nasa.gov> <1hs2sjINNnqs@gap.caltech.edu>
- Date: Wed, 30 Dec 92 19:34:13 GMT
- Lines: 35
-
-
- In article <1hs2sjINNnqs@gap.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes:
- |>In article <gurman.725601335@umbra.gsfc.nasa.gov>, gurman@umbra.gsfc.nasa.gov (Joseph B. Gurman) writes:
- |>> For what it's worth, logged onto a VMS V5.5-2 system with UCX V2.0
- |>>via
- |>>Telnet, my TT_ACCPORNAM is (quotes included as delimiters) "Host:
- |>>128.183.57.149 Port: 47473" Your mileage may vary.
- |>
- |>Hmmm. 47473 doesn't sound much like any port name I've ever heard of. Maybe
- |>the "47473" is the beginning of the hexadecimal representation of the port
- |>name? That'd be GGsomething. Just a wild-assed guess.
- |>--------------------------------------------------------------------------------
-
- Port: 47473 is a perfectly valid decimal representation of a port number.
- Port numbers can span the range of values that can fit into an unsigned short
- or unsigned WORD (for the MACRO impaired). It is the port number on the
- remote machine for this connection. Port 23 (telnet) on the local
- machine. This information helps you more accurately track down the actual
- person doing the connecting on the remote machine.
-
- ie if you look at a TCP connection, for example
-
- remote: 128.183.57.149.47473 and
- local : 128.183.56.23
-
- this uniquely identifies the TCP connection to both ends. So if you
- were interested in logging in to the remote machine you could figure
- our which guy on that machine was connected to your machine based on this
- information. The remote machine in the example that was given
- probably has a fair number of connections coming and going, since these port
- numbers are basically grabbed on the fly from empty (non-priv'd port number
- space) and typically they are sequentially allocated [ie, 1, 2, 3..] (at
- least in the BSD world).
-
- -Larry.
-