On Thu, 23 Dec 2004, John wrote:
I have a rather strange problem. I have squid-2.5.STABLE7 running on Fedora Core1. The proxy itself is fine, but because I have content filtering via dansguardian all entries in the access log appear to originate from "127.0.0.1". How can I tell squid to log the client IP address rather than that of dansguardian?
You can't. All requests to Squid is from dansguardian.
What some people do to solve this is to run a setup like this:
clients -> squid*1 -> dansguardian -> squid*2 -> Internet
where squid*1 provides client access controls, caching and logging, dansguardian does it's filtering and squid*2 just acts as a proxy for dansguardian with no caching or logging.
Regards Henrik
