Donoso Gabilondo, Daniel wrote:
Thank you very much for your help Amos,
No your squid is configured as a twisted open proxy. See below for fixes...
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...
You have a very good memory. XD
Now, I changed the configuration file following your comments.
You may not be doing anything wrong. Squid still suffers from bug #7.
http://www.squid-cache.org/bugs/show_bug.cgi?id=7
Is there any version of squid with the patch applied? I read the comments and I downloaded the different versions of squid but without good results.
There is an experiment at closing it in 2.7 that goes a long way towards
resolving it. There were some bugs to do with lost or hanging FD I think
that are serous enough to block any port to 3.x.
Amos
Regards,
Daniel
Daniel Donoso
Aeropuertos - Departamento Tecnología y Desarrollo
Airports - Technology and Development Department
donoso.d@xxxxxxxxx
www.ikusi.com
IKUSI - Ángel Iglesias S.A.
Paseo Miramón, 170
20009 San Sebastián
SPAIN
Tel.:+34 943 44 88 00
Fax: +34 943 44 88 20
La información incluida en este mensaje y sus anexos es CONFIDENCIAL y para USO EXCLUSIVO de sus destinatarios. No está permitida su divulgación y/o reproducción sin autorización. Si ha recibido este mensaje y no le incumbe, le rogamos nos los comunique y proceda a su borrado. Gracias.
Information included in this e-mail and attached files is CONFIDENTIAL and only for the EXCLUSIVE USE of the receivers. Circulation and/or copy without permission is not allowed. If you have received this e-mail and you are not the intended recipient, please let us know and erase the message and attached files. Thank you.
P Antes de imprimir este e-mail piense bien si es necesario hacerlo. El medioambiente es cosa de todos.
Before printing this e-mail ask yourself if you really need a hard copy. We are all responsible for the environment.
-----Mensaje original-----
De: Amos Jeffries [mailto:squid3@xxxxxxxxxxxxx]
Enviado el: miércoles, 25 de febrero de 2009 4:38
Para: Donoso Gabilondo, Daniel
CC: squid-users@xxxxxxxxxxxxxxx
Asunto: Re: squis is asking if a cached object is modified
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.6