[squid-users] How to prevent a forwarding loop?

From: Guillaume Smet <[email protected]>
Date: Thu, 10 Jan 2008 02:09:19 +0100

Hi again,

While digging my Squid cache, I found the following cache object:
Date: Wed, 09 Jan 2008 01:38:17 GMT
Server: Apache/2.0.52 (CentOS)
X-Powered-By: PHP/4.3.9
Content-Length: 13128
Expires: Thu, 10 Jan 2008 00:31:59 GMT
Cache-Control: public, must-revalidate
Last-Modified: Wed, 09 Jan 2008 00:30:33 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
X-Cache: HIT from rp2
X-Cache-Lookup: HIT from rp2:8080
X-Cache: HIT from rp1
X-Cache-Lookup: HIT from rp1:8080
X-Cache: HIT from rp2
X-Cache-Lookup: HIT from rp2:8080
X-Cache: HIT from rp1
X-Cache-Lookup: HIT from rp1:8080
Age: 52273
X-Cache: HIT from rp2
X-Cache-Lookup: HIT from rp2:8080
Via: 1.0 rp2:8080 (squid/2.6.STABLE6), 1.0 rp1:8080
(squid/2.6.STABLE6), 1.0 rp2:8080 (squid/2.6.STABLE6), 1.0 rp1:8080
(squid/2.6.STABLE6), 1.0 rp2:8080 (squid/2.6.STABLE6)

My Squid cache is a reverse proxy which can talk to the second Squid using ICP.
The relevant configuration is basically the following:
cache_peer ip.apache.serv.ers parent 80 0 no-query no-digest
no-netdb-exchange no-delay originserver
cache_peer ip.second.squid sibling 8080 3130 no-digest
no-netdb-exchange no-delay

cache_peer_access ip.second.squid allow all

icp_access allow second.squid
icp_access deny all

I found the following FAQ entry
http://proxy.nsysu.edu.tw/FAQ/FAQ-11.html#ss11.30 but as I already set
up the second Squid as a sibling, it seemed to me it was OK.

Any advice?

Thanks.

--
Guillaume
Received on Wed Jan 09 2008 - 18:09:21 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:04 MST