Re: [squid-users] Using Mysql as external ACL with Squid 2.5 STABLE 3???

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 5 Aug 2003 11:07:12 +0200

On Tuesday 05 August 2003 09.08, Markus Korbel wrote:
> Hi, I like to use Mysql as source of the acl's for squid. We want
> to block several sites, so they cant be viewed. The problem with
> the standard acl's used by squid is, if you want to add/remove a
> site from the list, you need to restart squid all the time, wich
> takes several minutes. In these minutes no internet traffic is
> possible, which is a big problem.

You do not need to restart Squid. A "squid -k reconfigure" is
sufficient and much less intrusive on the service.

I am not aware of a acl helper doing exacly this, but it should not be
hard to write one I suppose. But some thought may be needed in how to
index "sites" into a relational databases if you by "sites" mean
something more than only fully qualified host names..

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Tue Aug 05 2003 - 03:07:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:36 MST