Re: [squid-users] Access Log Problems

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 23 Dec 2004 13:29:14 +0100 (CET)

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
Received on Thu Dec 23 2004 - 05:29:16 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:03 MST