[squid-users] Transparent Proxy with Squid and Host: header

From: Enrico Demarin <enricod@dont-contact.us>
Date: Wed, 31 Aug 2005 09:15:20 -0230

Hi everyone,

I have a question: i have set up squid in transparent mode, but i ran into
the following case:

the client has a hosts file, where it defines for example "host19" as
following

38.25.63.10 host19

then he attempts a connection using either IE or Firefox:

http://host19

the result is that squid gives an error, saying "host19" couldnt be found.
The client resolves
host19 using the hosts lookup table, but sends a "Host: host19" header
within the request,
and squid attempts the connection to that address, which it can't resolve.

Is there any way to fall back on the original IP destination of the request
if the Host: header
cannot be resolved ?

thanks in advance
Enrico

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/85 - Release Date: 30/08/2005
Received on Wed Aug 31 2005 - 07:16:57 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:03 MDT