Hi,
I have looked at the squid FAQ, searched and debug many times before
asking this question.
I am getting the following forwarding loop warning in my squid log
file. I have read Henrik Nordstrom's reply to the same problem in
mailing list saying that;
"Are you doing interception caching? If so, you must make sure that
the HTTP requests initiated by Squid is not reflected back on himself
by the interception"
A load balancer redirects http requests into my squid proxy and an
iptables rule like the following
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 8080
redirects all the http requests into 8080. port in which squid is
listening. I dont understand why intercepted requests are reflected
back into squid and I get the following forwarding loop?
Any request initiated by squid doesn't go to OUTPUT chain in
filter table? If it is not so, where am I doing wrong someting
conceptually?
Thanks a lot.
Here is the warning:
2006/10/31 18:18:38| WARNING: Forwarding loop detected for:
GET /button.php?u=david3s HTTP/1.0
Accept: */*
Referer: http://www.xxx.com/xyz/oytoplist.html
Accept-Language: en
AXXept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
.NET CLR 2.0.50727)
Host: 127.0.0.1:1457
Via: 1.1 proxy1-24:8080 (squid/2.5.STABLE6)
X-Forwarded-For: 192.168.1.10
Cache-Control: max-age=259200
Connection: keep-alive
Received on Tue Oct 31 2006 - 09:40:36 MST
This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:05 MST