Re: Linux ipfwadm

From: Karl Schaffarczyk <[email protected]>
Date: Tue, 23 Jun 98 08:02:50 +1000

>Hello,
>
>when using ipfwadm to forward all port 80 requests to squid running
>on port 3128, the host part of the url gets rewritten to contain
>the IP adress.
>
>telnet www.qmail.org 80
>GET /index.html HTTP/1.0\r\n
>
>will look like this in the access.log:
>
>898522880.647 104 xxx.xxx.xxx.xxx TCP_IMS_HIT/304 161 GET
>http://192.203.178.37/index.html - NONE/- -
>
>Going directly via the proxy it looks normal:
>
>898522880.647 104 xxx.xxx.xxx.xxx TCP_IMS_HIT/304 161 GET
>http://www.qmail.org/index.html - NONE/- -
>
>Anyway to stop ipfwadm from doing this? Or is this a squid _feature_?
>
>Thanx for any hint.
>
>Dirk
>

try using http_uses_host_header on

Regards
Karl
=8)
Received on Mon Jun 22 1998 - 15:04:02 MDT

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