Re: [squid-users] squis is asking if a cached object is modified

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 25 Feb 2009 16:38:08 +1300

Donoso Gabilondo, Daniel wrote:
> I have two pc's with Fedora core 10 and squid.3.0.STABLE13
> The content of squid.conf file in both pc's is the same. Squid is
> configured as an accelerator.

No your squid is configured as a twisted open proxy. See below for fixes...

>
> Squid stores the objects correctly in both pc's, but in one pc it is
> always asking to the http server if the object is modified, and I don't
> know why. If I stop the http server, then gets the cached object. The
> other pc is always getting the cached object. The http server sends
> always the mage-axe=86400 value in the header.
>
> What I am doing wrong? My squid.conf file content is this:

You may not be doing anything wrong. Squid still suffers from bug #7.
http://www.squid-cache.org/bugs/show_bug.cgi?id=7

I seem to remember helping you with .home.nl earlier. That config was a
bit weird, but there are some entries in your listed config which worry
me terribly...

The global access to permit Purge opens a number of DDoS vectors.

And the use of "always_direct allow all" as the first always_direct line
will prevent your otherwise listed cache_peer link every being used.

Also the fact that the cache_peer link settings are listed LAST in the
config, instead of first indicates its not going to be used even if
available.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
   Current Beta Squid 3.1.0.5
Received on Wed Feb 25 2009 - 03:37:47 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 25 2009 - 12:00:01 MST