Re: Squid Bug?

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 24 Mar 2000 09:32:43 -0700

On Fri, 24 Mar 2000, Brian wrote:

>
> I am seeing this with squid-2.2.STABLE4.
>
> Not all web sites on the Internet have a unique IP address. Some share an
> IP address. Since modern browsers send the requested host/domain to the
> server in the header, the web server can make a decision about which
> website to pull up. An example of this is:
>
> Name: teachyourselfmusic.com
> Addresses: 207.155.252.12, 207.155.248.7, 207.155.252.7, 207.155.252.72
>
> Name: deductbox.com
> Addresses: 207.155.248.7, 207.155.248.14, 207.155.252.72, 207.155.252.12
>
> Name: slingo.com
> Addresses: 207.155.248.14, 207.155.252.72, 207.155.248.7, 207.155.252.12
>
> etc, etc.
>
> These are totally different web sites. Yet for some reason, once our
> squid caches them, it mixes them up. Someone will request say
> deductbox.com, and actually pull up slingo.com, etc.
>
> I am not sure what the problem could be, but its something in squid. This
> only happens with websites that use the same IP addresses. I am assuming
> it may be something in my configuration file.

doubtful.

> Note: This is using multiple squids and a layer4 switch to balance
> accross them. I am wondering if the layer4 switch in any way could be
> guilty?

more likely, but still....

What do your URLs look like in access.log and store.log? They have
hostnames or URLs?

squid-2.3 has a patch that might help.

http://www.squid-cache.org/Versions/v2/2.3/bugs/#squid-2.3.devel3-host-header-mismatch

its simple, so it should apply to 2.2.STABLE4.
Received on Fri Mar 24 2000 - 09:36:02 MST

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