Re: [squid-users] forwarding loop in interception caching

From: genco yilmaz <gencoyilmaz@dont-contact.us>
Date: Wed, 1 Nov 2006 16:28:01 +0200

On 11/1/06, genco yilmaz <gencoyilmaz@gmail.com> wrote:
> On 11/1/06, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> > tis 2006-10-31 klockan 18:40 +0200 skrev genco yilmaz:
> >
> > > 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?
> >
> > It's not. It's a bad request.
> >
> > According to the request headers the request was for
> > http://127.0.0.1:1457/button.php?u=david3s
> >
> > Regards
> > Henrik
> >
>
> Thanks for your reply. It is a machine having 20Mbit/s http traffic
> and I see lots of loop messages in cache.log . If these requests were
> rare, I would ignore them but there are many of them. Do you have any
> idea why these bad requests are generated.
> I am trying to eliminate them because I suspect that they cause
> extra load on the server which has already concurrent connection over
> 3000 .
>
> Regards.
>
>

Hi,
  After looking into my configuration I found that that header is
caused by our redirector process. Then I have added this;
redirect_rewrites_host_header off

and "Host:" field now shows the original url but squid still warn me
about this forwarding loop.
    I have read transparent configuration documents for squid and
iptables but I cant see any special configuration if we use a
redirector. I am reading and reading
but no result yet. Do you have any suggestion ?

Regards.
Received on Wed Nov 01 2006 - 07:28:07 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:02 MST