Search squid archive

Re: TCP_HIT and TCP_MISS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux