New Zealand ADSL Mailing List


Re: Port Ranges & Telnet

From: HAMISH MACEWAN <hamish_at_usa.net>
Date: 5 Aug 99 10:28:30 NZST
Message-ID: <19990804222830.3166.qmail@nwcst282.netaddress.usa.net>

Daniel Robinson <kermit@the.net.nz> wrote:

> I tried to open a range on telnet the range beening 2000 - 9000
> which is in a perfectally acceptable range for telnet operations,
> i had them point to my internal network card address and port 23

Ok, so 2000 maps to 23 (THE telnet port), then 2001 maps to 24, and 9000 maps
to 7023...

> (natural for telnet) 2000 opens fine

Yes, as above.

> but 9000 keeps saying cannot connect to server

Yes, because your system probably does not respond on port 7023.

> does this mean it picks the first open port and connects to that
> one and once that one has gone it looks for the next?

Nope, the mapping is linear as described above.

In any case, you can initiate as many telnet sessions as your system will
support with merely one open port, after the telnet service has been
initiated, it moves to one of the un-privileged ports, and one port (23, or
2000 if you want to be obscure) is enough to let in the SYN packet and begin
the session.

> Daniel

Hamish.

PS, as far as this being tested and failing, I was too pessimistic about the
prospect, confirmed by Dan's suggestion/agreement that the mapping was
probably many to one, to actually try it. So I didn't, but maybe someone else
did?

____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1

To unsubscribe: send mail to majordomo@freebsddiary.cx
with "unsubscribe adsl" in the body of the message
Received on Thu Aug 5 10:28:30 1999


This archive was generated by hypermail 2.2.0 : Thu Nov 30 11:48:35 2006 EST