On Mon, 13 Jun 2005, Markus Atteneder wrote:
I am using squid 2.5.7-2 and squidguard 1.2.0-5. When i add the line "client_netmask 255.255.255.0" to my squid.conf to mask the ip address logged by squid the rules in squidguard do not longer work, because the client ip address is passed to the redirector after it is masked by squid. I am googeling for hours but i found no solution for my problem, so please help!
In redirect.c change r->client_addr = conn->log_addr; to r->client_addr = http->request->client_addr; Regards Henrik