Re: [squid-users] can some one please tell me what it is ?

From: Duane Wessels <[email protected]>
Date: Mon, 5 Jan 2004 08:53:21 -0700 (MST)

On Mon, 5 Jan 2004, Mahmood Ahmed wrote:

> Hello List
>
> we have been having these messages in cache logs for last 2 days.
>
> 2004/01/06 03:20:41| WARNING: Forwarding loop detected for:
> GET /testrun/index.html HTTP/1.0
> Authorization: Basic Z2V0OmdldA==
> User-Agent: curl/7.10.7 (i386-portbld-freebsd4.9) libcurl/7.10.7
> OpenSSL/0.9.7c
> ipv6 zlib/1.1.4
> Host: 202.133.44.219
> Pragma: no-cache
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> Via: 1.1 dragon:8080 (squid/2.5.STABLE4-20031202)
> X-Forwarded-For: 82.196.65.32, 202.133.44.219
> Cache-Control: max-age=604800
> Connection: keep-alive
> X-Forwarded-For: 202.133.44.5
>
> though every thing seems to be working fine but becouse we have never seen
> any such thing before thats why we would like to know what it is ?

A forwarding loop happens when Squid forwards a request to an origin server, but
the request comes back to Squid. This usually happens when you are using
HTTP interception, or when running a web server and Squid on the same
machine.

You probably need to look at the IP addresses in the X-Forwarded-For headers
and figure out whats going on.

I'm not sure why your request has two X-Forwarded-For header lines. Squid should put
all X-Forwarded-For values on one line, so maybe there is another (non-Squid)
proxy in the mix here.

Duane W.
Received on Mon Jan 05 2004 - 08:53:22 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:03 MST