Re: Squid looping?

From: Martin Wells <marty@dont-contact.us>
Date: Wed, 6 Aug 1997 09:02:13 +1000 (EST)

On Tue, 5 Aug 1997, Leigh Porter wrote:

> Hello folks,
>
> I am running Squid in transparrant proxy mode, version
> 1.1.14 on Linux 2.0.30 and it seems that when you point
> a browser to http://cache.server on port 80 Squid stops
> and just hange there doing nothing.
>
> Any ideas about this? Seems that it's getting into some
> kind of loop. There is an example Firewall command line
> for ipfwadm on Linux that should stop this, but it does
> not work, certainly not for my version of ipfw anyway :(

You need to block all access to local port 80, in order to avoid the
looping problem.

eg.

ipfwadm -I reject -P tcp -S 127.0.0.1/32 -D 127.0.0.1/32 80
ipfwadm -I reject -P tcp -S 127.0.0.1/32 -D cache.server/32 80
ipfwadm -I reject -P tcp -S cache.server/32 -D 127.0.0.1/32 80
ipfwadm -I reject -P tcp -S cache.server/32 -D cache.server/32 80

Should do the trick.

Also, your using 2.0.30? The transparent port redirection is
broken in this version. Is there a new patch?

Regards,
Martin Wells
Dot Communitions Ltd
Received on Tue Aug 05 1997 - 16:06:25 MDT

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