"WARNING: Forwarding loop detected for xxx"?

From: Peter Olsson <[email protected]>
Date: Mon, 12 May 1997 19:18:21 +0200

I use squid 1.1.3, haven't had time to upgrade :(

I have a FreeBSD with an external network card and an internal
network card. The internal network card has two ip-aliases, making
a total of three internal ip-numbers.

I have now configured like this:
A squid runs in cache-mode on the "real" internal ip-number.
A squid runs in cache-mode on each of the two ip aliases. These
two squids have minimal cache-space (10 MB) and have the "real"
squid as parent.

This works fine, but I get these warnings in the "real" squid's
cache.log:
"
97/05/12 18:53:50| WARNING: Forwarding loop detected for 'http://www.sunet.se'
"

I get this (seems normal?) in the "real" squid's access.log:
"
192.168.1.6 - - [12/May/1997:18:53:50 +0200] "ICP_QUERY
http://www.sunet.se" UDP_MISS:NONE 40
xxx.yyy.zzz.34 - - [12/May/1997:18:53:50 +0200] "GET http://www.sunet.se"
TCP_MISS:DIRECT 4325
"

I get this (also normal, I guess?) in the "alias" squid's access.log:
"
192.168.1.6 - - [12/May/1997:18:53:50 +0200] "GET http://www.sunet.se"
TCP_MISS:FIRST_PARENT_MISS 4325
"

I found this in icp.c:
"
    if ((t = mime_get_header(request_hdr, "Via")))
        if (strstr(t, ThisCache)) {
            if (!icpState->accel) {
                debug(12, 1, "WARNING: Forwarding loop detected for '%s'\n",
                    icpState->url);
                debug(12, 1, "--> %s\n", t);
            }
            BIT_SET(request->flags, REQ_LOOPDETECT);
        }
"

So my main question is this: do I have to worry about these warnings?

Why do I get them? Can I get rid of them?

Please forgive me if the simple answer is "Upgrade!!!".

Thanks for your time!

Peter Olsson pol@leissner.se
Received on Mon May 12 1997 - 10:20:27 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:10 MST