[squid-users] Refresh ACL list only

Yuri Voinov yvoinov at gmail.com
Tue Mar 17 18:09:53 UTC 2015

Hash: SHA1


quetsion is not about this completely. ;)

18.03.15 0:08, Alberto Perez пишет:
> I did this once, with external acl, you can specify a ttl of each 
> external acl and also make your acl reload the list any time you
> want.
> My external acl loaded users (in your case domains) from a list in 
> hard disk to memory, and then each time squid asked acl verify for
> a preset  elapsed time to reuse loaded in memory list or load it
> again before answer.
> Be aware that dst-domain is a fast acl and you will turn this
> check into a slow acl so you should consider if you really need
> this.
> I can provide more details if you decide to use it like this.
> Hope it helps
> On 3/17/15, Samuel Anderson <sam at idsdoc.com> wrote:
>> Hello all,
>> Does anyone know of a way to reload a single ACL list? I have a
>> very complicated and large config file that takes around 30
>> seconds to reload when I run the (squid3 -k reconfigure) command.
>> I have several ACL lists that need to be updated throughout the
>> day and it would be nice if I could only reload those ACL lists
>> and not the entire config. Its problematic because while its
>> reloading, the server is effectively down and disrupts Internet
>> access for the rest of the users. Below is a small sample of the 
>> lists that will be updated. If I could add a TTL to the lists so
>> squid would reload them periodically without a full reconfigure
>> would be ideal.
>> acl GLOBAL-WHITELIST dstdomain
>> "/etc/squid3/whitelists/GLOBAL-WHITELIST" acl
>> "/etc/squid3/whitelists/UNRESTRICTED-WHITELIST" acl DEV-WHITELIST
>> dstdomain "/etc/squid3/whitelists/DEV-WHITELIST" acl
>> SALES-WHITELIST dstdomain
>> "/etc/squid3/whitelists/SALES-WHITELIST"
>> Thanks
>> -- Samuel Anderson  |  Information Technology Administrator  |
>> International Document Services
>> IDS  |  11629 South 700 East, Suite 200  |  Draper, UT
>> 84020-4607
>> -- CONFIDENTIALITY NOTICE: This e-mail and any attachments are
>> confidential. If you are not an intended recipient, please
>> contact the sender to report the error and delete all copies of
>> this message from your system.  Any unauthorized review, use,
>> disclosure or distribution is prohibited.
> _______________________________________________ squid-users mailing
> list squid-users at lists.squid-cache.org 
> http://lists.squid-cache.org/listinfo/squid-users
Version: GnuPG v2


More information about the squid-users mailing list