Search squid archive

Re: squid logs only 127.0.0.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



salah khater wrote:
Hi All;
I have dansguardian(2.10)8080----->Squid(3.1)3128 case.

I want to make delay pools ACL for specific client/subnet.
but the squid log file report all requist is coming only from 127.0.0.1
and I can't acheif delay pool for specific client or subnet.
can some one help me to solve this problem?

You have places DansGuardian between Squid and the clients. This means all traffic is arriving into Squid from DG which uses the IP 127.0.0.1.

There are a few solutions:

1) move DG to the 'outside' of Squid. (Configure it as a parent cache_peer of Squid which a traffic must go through.)

2) make DG set the X-Forwarded-For header. Squid can then be configured to process it and use the info set by DG in its ACLs and logs.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.5


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux