Ilkka Tuohela wrote:
Hi, I was wondering how I could clear entries from certain ACL during reload of squid configuration? I was looking if I could for example add a line like this (not valid, of course): acl local_domains reset acl local_domains "/etc/squid/local_domains.acl" The issue here is that I need to control access to parent proxy by ACLs, and sometimes entries need to be removed from a ACL. Because the ACL rules always add to the existing ACL, removing a line from external file and reloading squid does not actually remove it from running configuration. For me it would be fine, if there were a way to do this, with a reset rule before the ACL entries, right now I can add new ACL entries by reloading, but to remove I need to restart squid completely. I'm using ubuntu package, 2.6.18-1ubuntu2. I can upgrade to 3.x release if this would solve my problem. *hile*
I thought squid did clear the ACLs on reload. And a quick check of the code confirms that it should be.
What is giving you the idea that it does not? Amos -- Please use Squid 2.6STABLE17+ or 3.0STABLE1+ There are serious security advisories out on all earlier releases.