NAME
HTTPD::ADS::OpenProxyDetector - Determine if a ip address is an open proxy, log in database
SYNOPSIS
use HTTPD::ADS::OpenProxyDetector
DESCRIPTION
This module uses LWP to test the supplied IP address to see if it will promiscuosly proxy on port 80. Caution: this can have false alarms if you are on a network where you are supposed to go through a proxy, such as AOL -- but are you supposed to be running a webserver on such a network ?
USAGE $test_result = HTTPD::ADS::OpenProxyDetector->test($ip);
BUGS
SUPPORT
AUTHOR
Dana Hudes
CPAN ID: DHUDES
dhudes@hudes.org
http://www.hudes.org
COPYRIGHT
This program is free software licensed under the...
The General Public License (GPL)
Version 2, June 1991
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
HTTPD::ADS, LWP, perl(1).
test
Usage : test($ip)
Purpose : tries to fetch a known web page via the supplied ip as proxy.
Returns : true (proxy fetch successful) or false (it failed to fetch)
Argument : IPv4
Throws : We should probably throw an exception if the ip address under test is unreachable
Comments : Not all open proxies or compromised hosts listen on port 80 and their are other means
than straightforward HTTP to communicate with zombies but this is a start.
See Also : HTTPD::ADS::AbuseNotify for sending complaints about validated proxies and other abuse.