Re: [squid-users] TCP_HIT and TCP_MISS

From: Chris Robertson <crobertson@dont-contact.us>
Date: Wed, 26 Mar 2008 14:14:19 -0800

Guillaume Chartrand wrote:
>> Have you solved the forwarding loop?
>>
> Nope, If I understand the loop is when my squid box try himself to go to
> the web the routeur redirected to himself. Is that means?
>

That's how I interpret it.

> If so, I will try to modify my ACL on my router to not redirect packet
> when it's from my squid box
>

Which might fix the problem... It's a good idea in any case.

>
>> What is the output of "/usr/local/squid/bin/squidclient -s
>> http://www.nu.nl/img/balkje.gif && /usr/local/squid/bin/squidclient
>> http://www.nu.nl/img/balkje.gif" (run on the squid box)?
>>
>> Chris
>>
>
> Nothing happens on the command line but in my access.log here the result
>
> 1206562805.600 570 127.0.0.1 TCP_DENIED/403 1514 GET
> http://www.nu.nl/img/balkje.gif - NONE/- text/html
> 1206562805.611 0 127.0.0.1 TCP_DENIED/403 1514 GET
> http://www.nu.nl/img/balkje.gif - NONE/- text/html
>

Fair enough. You aren't allowing localhost to surf. For this test to
work, either copy squidclient to another machine on your network (and
use the -h with squidclient to specify your squid host) or allow
localhost http_access ("http_access allow localhost" just above
"http_access deny all").

> Thanks again
> Guillaume
>

Chris
Received on Wed Mar 26 2008 - 16:14:27 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT