Search squid archive

squid-dansguardian-squid chain problem

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

 



I have RHEL4ES with squid-2.5.STABLE6-3.4E.11, squid must be the first in the chain because I use ntlm_auth for win2k clients.



 in squid.conf:
 http_port cache:8080 localhost:8081
 cache_peer 127.0.0.1 parent 3128 0 proxy-only no-query


 in dansguardian.conf:
 filterip = 127.0.0.1
 filterport = 3128
 proxyip = 127.0.0.1
 proxyport = 8081

 In squid logs (cache.log) I have many records like this:

 WARNING: Forwarding loop detected for:

 blablabla

 Via: 1.1 cache:8080 (squid/2.5.STABLE6)

 blablabla

As I understand, HTTP_VIA was not correctly created, because when I checked my HTTP_VIA on web server, it was

HTTP_VIA 1.1 cache:8080 (squid/2.5.STABLE6), 1.0 cache:8080 (squid/2.5.STABLE6)

 but it must be

HTTP_VIA 1.1 cache:8080 (squid/2.5.STABLE6), 1.0 localhost:8081 (squid/2.5.STABLE6)

 Squid is use only first socket  from http_port! Why?-(

 When I changed http_port as follows

 http_port localhost:8081 cache:8080

 In cache.log

 WARNING: Forwarding loop detected for:

 blablabla

 Via: 1.1 localhost:8081 (squid/2.5.STABLE6)

 blablabla

  Via header on web server

HTTP_VIA 1.1 localhost:8081 (squid/2.5.STABLE6), 1.0 localhost:8081 (squid/2.5.STABLE6)

 How can I correct this problem?



 Thanks, Vadim.




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

  Powered by Linux