Author: G.Killesreiter (17 Aug 07 7:27pm)
I want to use your fine honeypot on a site which is running behind squid as a reverse proxy.The modification I need to make is simple:
list($ip_address, ) = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']);
$postvars["ip"] = $ip_address;
However, the script of course stops working.
If I don't make this small change, the reported IP address will be 127.0.0.1. Not too helpful.
Anybody got an idea?