Search squid archive

Re: how to avoid external acl caching ? external_acl_cache_add

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

 



Julien P. wrote:
Hi everyone,
I am trying to setup a very specific ACL using an external acl program
written in C.

I looked almost everywhere and I wasn't able to find anything about that ...

This is the output that I get when I try to access a website that I
didn't try to access before:

2009/04/25 20:51:59.405| externalAclLookup: will wait for the result
of '67.188.224.11 www.something.com' in 'ExternalisBad'
(ch=0x85ab068).
2009/04/25 20:51:59.407| helperHandleRead: 4 bytes from ExternalisBad #1
2009/04/25 20:51:59.407| helperHandleRead: 'ERR
'
2009/04/25 20:51:59.407| helperHandleRead: end of reply found
2009/04/25 20:51:59.407| externalAclHandleReply: reply="ERR"
2009/04/25 20:51:59.407| external_acl_cache_add: Adding '67.188.224.11
www.something.com' = 0

I believe that squid is caching all my external_acls. Now if I modify
my rules in order to Get an OK result with the same params the only
thing that shows up is:

2009/04/25  20:52:59.307| aclMatchExternal: acl="ExternalisBad"
2009/04/25  20:52:59.307| aclMatchExternal: ExternalisBad = 0

and access is still denied ...

Does anyone know how to remove the external_acl_cache Feature?

And complementary question:
My debug options is actually: debug_options ALL,1 82,9 84,9
As I get a lot of simultaneous requests everytime that I access a
website, I'd like to know if someone knows how to tune the debug_level
to hide these two lines:
2009/04/25  20:52:59.307| aclMatchExternal: acl="ExternalisBad"
2009/04/25  20:52:59.307| aclMatchExternal: ExternalisBad = 0

Thank you all for your help!!

Configure a ttl in your squid.conf. The default is 1 hour.

  http://www.squid-cache.org/Doc/config/external_acl_type/


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14
  Current Beta Squid 3.1.0.7

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

  Powered by Linux