Re: [squid-users] TCP_MISS/503 with Squid-3 in transparent mode

From: Andreas Pettersson <andpet@dont-contact.us>
Date: Tue, 28 Sep 2004 11:48:30 +0200

> > it stops working. The browser indicates that it has contact with the web server, but nothing happens. After some time this may appear in access.log:
> > TCP_MISS/000 0 GET http://idg.se:8090/ - NONE/- -
>
> If it gets this far the redirection works but something prevents Squid
> from making the requests out to the Internet.
>
> Regards
> Henrik

Weird.. Let's step a few steps back and forget all high ports. Ipfw is forwarding all http packets to localhost port 80 as described earlier.

Squid-2.5STABLE7-RC1 (Note: NOT compiled with --enable-ipf-transparent)
squid.conf:

http_port 80
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

This is working.

I shutdown Squid-2.5 and start Squid-3 instead (compiled with --enable-ipf-transparent)
squid.conf:

http_port 127.0.0.1:80 transparent

This is not working. "Invalid URL" (NONE/400 1749 GET / - NONE/- text/html)
Since the redirection has proven to be working I assume there's something wrong with my squid3, but I just cannot get a grip of what... :-/

Anyway, I'm really appreciating all you help, Henrik.

/Andreas
Received on Tue Sep 28 2004 - 03:48:41 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:03 MDT