RE: [squid-users] How to Log Client IP's

From: Plant, Dean <dean.plant@dont-contact.us>
Date: Thu, 6 Mar 2008 11:48:21 -0000

Jonathan Caum wrote:
> Hello all, I am having a problem with the client IP's being logged in
> the access.log file.
>
>
>
> I am using Squid with Dansguardian, and we would like to have Squid
> log the IP's of each computer going through squid, but at the moment,
> all traffic appears to go through 127.0.0.1 in the log. How do I fix
> this, or what are some possible symptoms to this?
>
>

Assuming Dansguardian is first in line then,

In dansguardian.conf you need "forwardedfor = on" its in the Misc
settings.

And if you want Squid to act on the IP's you are passing then look for
"follow_x_forwarded_for" in squid.conf

Dean.
Received on Thu Mar 06 2008 - 04:48:39 MST

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:04 MDT