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
Received on Wed Jun 15 2005 - 17:06:41 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:02 MDT