[squid-users] squid-dansguardian-squid chain problem

From: Vadim Motkov <vadq@dont-contact.us>
Date: Sun, 20 Nov 2005 18:42:42 +0300

  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.
Received on Sun Nov 20 2005 - 08:42:51 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:10 MST