Re: [squid-users] About squid hierarchy

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 27 Oct 2001 17:52:41 +0200

Luca Maranzano wrote:

> Now it happens that when clients access to some sites, the remote server
> logs the access with the IP of parent1 (or parent2) and not with the IP
> of our squid.
> It seems that with the same configuration and squid 2.2 this did not
> happen.

It did, or you were not using these parents in your Squid-2.2
configuration.

> Is this the normal behaviour of the "parent" hierarchy configuration
> or an error of us in the configuration? And why with Squid 2.2 this
> didn't happen?

Normal, and should have happened with Squid-2.2 as well. The IP seen by
web servers (unless they are also looking for the X-Forwarded-For added
header) will be the IP of the last proxy in the request chain. This is
how it has always worked, and nothing Squid has any control over. It is
plain TCP/IP networking, where Squid is one of the applications using
TCP/IP.

> Putting the two parents in sibling mode obviously solves the issue.

True, but not your bandwidth utilization :(

Regards
Henrik Nordström
Squid Hacker
Received on Sat Oct 27 2001 - 09:51:35 MDT

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