Re: [squid-users] Strange problems with squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 25 Mar 2001 19:55:50 +0200

The client software causing the "proxyname:portproxyname:port" problem
most likely does not receive any data, but the user is unlikely to
complain anyway (ads not being updated). It is more of a problem for
you, in that your logs get filled with crap, your server gets loaded
doing crap, and your network bounces some crap back and forth between
the client and the proxy.. (one set of crap per message logged).

The second one is a more serious problem I'd say. My guess is that you
are running a transparent proxy without proper support in Squid for the
packet redirection method used.

  *BSD or IP-Filter requires Squid to be compiled with
--enable-ipf-transparent

  Linux-2.4 requires Squid-2.4 or later compiled with
--enable-linux-netfilter

in all cases squid.conf in a transparent proxy must be configured with

  httpd_accel_host virtual
  httpd_accel_uses_host_header on

--
Henrik Nordstrom
Squid hacker
Brett Murphy wrote:
> 
> Thanks Henrik, Seems strange tho that I have so many occurances.
> Would they be getting any browsing at all?
> 
> At 12:38 AM 3/24/2001 +0100, you wrote:
> >Brett Murphy wrote:
> >
> > > Mar 21 22:32:08 gamma squid[4817]: urlParse: Illegal character in hostname
> > > 'proxy.alphalink.com.au:8080proxy.alphalink.com.au'
> >
> >This is caused by a malfunctioned client configured to use your proxy as
> >proxy.
> >
> > > Mar 22 00:06:50 delta squid[27244]: WARNING: Forwarding loop detected for:
> > > GET
> > >
> > /scripts/rgs/RgsInit.ASP?AW=168&LV=2045&AS=0&D2=%32_OAC_CH%32_@%32C&CU=6470636
> > > HTTP/1.0^M User-Agent: Mozilla/4.01 [en] (WinNT; I)^M Pragma: no-cache^M
> > > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*^M
> > > Accept-Language: en^M Accept-Charset: iso-8859-1,*,utf-8^M Via: 1.0
> > > delta.alphalink.com.au:8080 (Squid/2.2.STABLE5-hno.20000202), 1.0
> > > lambda.alphalink.com.au:8080 (Squid/2.2.STABLE5-hno.20000202)^M
> > > X-Forwarded-For: 203.24.205.99, 203.62.180.3^M Host:
> > > proxy.alphalink.com.au^M Cache-Control: max-age=259200^M Connection:
> > > keep-alive^M ^M
> >
> >
> >This should not be seen unless the client actually requests
> >http://proxy.alphalink.com.au/scripts/rgs/....
> >
> >However, there are some errors you can do in "transparent" setups that
> >might confuse the proxy. Make sure your proxy is configured with
> >httpd_accel_host virtual, and that Squid knows about the packet
> >redirection method used.
> >
> >--
> >Henrik Nordstrom
> >Squid hacker
> 
> All the best,
> Brett Murphy
> Director, Alphalink (Australia) PTY LTD
> ph: +61 3 9495-9000 fax: +61 3 9486-6822
> email: brett@alphalink.com.au
> 
> The contents of this message may not be quoted,
> copied, reproduced or published in part or in whole,
> without the written authorization of Brett Murphy,
> Director, Alphalink (Australia) Pty Ltd.
Received on Sun Mar 25 2001 - 10:55:05 MST

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