Re: Squid infinite looping

From: Mark Lowes <[email protected]>
Date: Thu, 27 Nov 1997 15:33:47 GMT

On Thu, 27 Nov 1997 18:20:15 +0300 (MSK), you wrote:

>If one connects to Squid and asks Squid to get itself, e.g
>"GET http://localhost:80 HTTP/1.0", Squid goes looping
>opening numerous connections to itself.

Nope, doesn't do it here (NOVM .17 & .18)

--[ .. ]--
Trying 195.200.12.9...
Connected to proxy.ftech.net.
Escape character is '^]'.
GET http://localhost HTTP/1.0

HTTP/1.0 400 Cache Detected Error
Content-type: text/html

<HTML><HEAD>
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR>
<P>
While trying to retrieve the URL:
<A HREF="/">/</A>
<P>
The following error was encountered:
<UL>
<LI><STRONG>Invalid URL syntax</STRONG>
</UL>
<P>This means that:
<PRE>
    Please double check it, or ask for assistance.
</PRE>
<P>

<HR>
<ADDRESS>
Generated by squid/1.NOVM.17@proxy2.ftech.net
</ADDRESS></BODY></HTML>

Connection closed by foreign host.
--[ .. ]--

which version are you running?

[...]
>Today some unnamed hacker tried to get <http://localhost>
>and made my Squid loop again. So I added a news access list
>"url_regex ^http://localhost" and made the Squid deny such URLs.

Hopefully it'll only be our own users who can do this sort of trick
anyway (access limited to our own /19).

        Mark

-- 
Mark Lowes <[email protected]>  http://hamster.wibble.org/
Work : [email protected]           http://www.ftech.net/
Play : [email protected]        http://www.wibble.org/
Procurator Odiosus Ex Infernis
Received on Thu Nov 27 1997 - 07:34:41 MST

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