Message Board

Installing Honey Pots

Older Posts ]   [ Newer Posts ]
 Need to edit hpot file for squid
Author: G.Killesreiter   (17 Aug 07 7:27pm)
Hi there!

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?

Cheers,
Gerhard



do not follow this link

Privacy Policy | Terms of Use | About Project Honey Pot | FAQ | Cloudflare Site Protection | Contact Us

Copyright © 2004–17, Unspam Technologies, Inc. All rights reserved.

contact | wiki | email