Re: [squid-users] Clearing ACLs on reload?

From: Leonardo Rodrigues Magalhães <leolistas@dont-contact.us>
Date: Mon, 24 Mar 2008 08:18:53 -0300

Ilkka Tuohela escreveu:
> 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 afraid you're absolutely mistaken. 'squid -k reconfigure' clears
all ACLs and re-read them from the external files. At least on my
SEVERAL squid boxes, which i have different versions of squid including
some old 2.5 ones, reconfigure clears everything and re-read files. I
have never seen this behavior of 'only adding rules' .....

    Test it again, watch your 'current configuration' with cachemgr.cgi,
and you'll see that you're wrong on this thinking that reconfigure does
not clear ACLs.

-- 
	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br
	Minha armadilha de SPAM, NÃO mandem email
	gertrudes@solutti.com.br
	My SPAMTRAP, do not email it
Received on Mon Mar 24 2008 - 05:19:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT