Forum Moderators: phranque
Before the request is further processed, the module grabs REMOTE_ADDR and does the following:
Once the module has been configured and installed, and assuming that Perl is the programming language, all I need to do is inserting these two lines in the beginning of the form processing script:
use HTTP::ProxyTest;
proxytest();
[edited by: phranque at 5:25 am (utc) on May 11, 2009]
[edit reason] personal url. See TOS [webmasterworld.com] [/edit]
Detecting open proxies involves port scanning; AFAIK there is no other way. You are right about ports used for bad things are arbitrary. I picked some port numbers that seem to be often used for open HTTP proxies, but yes, a request from a proxy on some other port won't be catched. That's one reason why I asked for comments on the approach.
Besides that, I can assure you that it works. :)
[edited by: GunnarH at 10:19 pm (utc) on May 9, 2009]