PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_Portscan » Bug #2209

Portscan limit

Details

Request #2209Portscan limit
Submitted2004-08-24 20:04 UTC
Fromjoel at preacherboy dot net
StatusClosed
PackageNet_Portscan
PHP Version5.0.0
OSWindows XP
Roadmaps(Not assigned)

Comments

[2004-08-24 20:04 UTC] joel at preacherboy dot net

Description:
------------
After customizing the 01-portscan.php example and trying to figure out why setting a scan from ports 1 to 80 returned nothing, I finally determined that Net_Portscan was either timing out or limiting the number of ports that could be scanned.

I found the timeout in each function of Portscan.php. I changed the timeout from 30 to 300. I tested my script and had the same length of what seemed to be a timeout. I did some more searching and found the culprit in php.ini. After changing the timeout in PHP.ini to 300 and restarting the ISAPI library, everything worked great.

Would it hurt to mention this in Portscan.php? I know it might be pretty obvious for some, but it could be discouraging for others.

[2004-08-25 20:30 UTC] joel at preacherboy dot net

Thank you.

[2004-09-10 17:17 UTC] joel at preacherboy dot net

The note looks great. Good work.