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

From: Andreas Pettersson <andpet@dont-contact.us>
Date: Tue, 28 Sep 2004 07:26:20 +0200

> The error indicates Squid does not realize these connections have been
> transparently intercepted.
>
> Make sure you have the correct --enable-- option for integrating Squid
> with your OS firewall, and no related errors in cache.log.
>
> Regards
> Henrik

Good point. I had missed that. However it still doesn't work..
I have followed all instructions on http://www.squid-cache.org/Doc/FAQ/FAQ-17.html .
It actually works with Squid 2.5, but only when the hijacked packets are redirected to port 80.
If I change http_port 80 to http_port 8090, and httpd_accel_port from 80 to 8090, and use this ipfw command:

ipfw add 50 fwd 127.0.0.1 tcp from any to any 80

instead of

ipfw add 50 fwd 127.0.0.1,8090 tcp from any to any 80

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/- -

I suspect there's something wrong with the packet forwarding..

When running Squid-3 instead the problem is these log entries:
NONE/400 1749 GET / - NONE/- text/html
which of course generates "Invalid URL" in the browser.

/Andreas
Received on Mon Sep 27 2004 - 23:26:17 MDT

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