Re: [squid-users] squid log only locahost

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 04 Aug 2010 02:08:22 +1200

salah khater wrote:
> Hi All
> I use squid3.1.5 with dansguardian2.10 ,
> clients---->Dansguardian----->squid3
>
> Squid log only 127.0.0.1 ,I enabled forwardfor parameter in dansguardian conf
> file as link http://contentfilter.futuragts.com/wiki/doku.php?id=log_file_analysis
> but still log 127.0.0.1, i want squid to be able to see the source address(of my clients) because I need to implement ACL's for some clients using there Ip's,can some help me to solve this ?
> thanks
>

Have you added the "follow_x_forwarded_for allow localhost" to Squid?
Without that Squid will not use the content of X-Forwarded-For.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.5
Received on Tue Aug 03 2010 - 14:08:29 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 03 2010 - 12:00:02 MDT