[PHP] Ports

2002-02-04 Thread Liam MacKenzie
Just a quick question... What is the highest port possible? I want to make a PHP port scanner, but need to know the portrange. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ports

2002-02-04 Thread Steve Edberg
Well, a quick google - http://www.google.com/search?hl=enq=tcp+ports - gave me: http://www.networkice.com/advice/Exploits/Ports/ and http://www.iana.org/assignments/port-numbers This would presumably be the authoritative source; the answer to your

Re: [PHP] Ports

2002-02-04 Thread Evan Nemerson
There are 2^16 ports. The networkice page just lists the ports that exploitable services run on, and would be ineffective for a port scan. Scanning all 2^16 ports, or even the first 49151, would be incredibly inefficient. Scanning all the IANA ports would be rather inefficient and