Re: Transparent proxy under squid2.0-PATCH2 (please help)

From: tom minchin <[email protected]>
Date: Fri, 8 Jan 1999 22:40:40 +1100

On Fri, Jan 08, 1999 at 01:05:01PM -0000, Irfan Akber wrote:
> Cache1 redirects few requests to Cache2 and few to Cache3. The problem is
> Cache1 seems to be in a loop and sends so many requests for certain
> addresses that the bandwidth is totally choked up. Max number of users
> accessing Cache1 are 40 but the filedescriptors go as high as 360 which is
> not possible. Please can someone give me the solution to this problem. I
> have the following in cache.log of Cache1.
>
> http_port 3127
> httpd_accel_host virtual
> httpd_accel_uses_host_header on
> httpd_accel_with_proxy on
>
> ipfwadm rule.
>
> ipfwadm -I -a accept -S 208.240.201.64/26 -D 0.0.0.0/0 80 -r 3127 -P tcp
> ipfwadm -I -a accept -S 208.240.201.128/26 -D 0.0.0.0/0 80 -r 3127 -P tcp
>

You need to have a ipfwadm line which accepts traffic bound for your proxy,
eg:

/sbin/ipfwadm -I -a accept -P tcp -D cache1.yourdomain.net 80

This looping problem is covered in detail in the Squid FAQ:

        http://squid.nlanr.net/Squid/FAQ/FAQ-17.html

tom@interact.net.au
Received on Fri Jan 08 1999 - 05:45:29 MST

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