[squid-dev] Block users dynamically

Daniel Berredo vovohelo at gmail.com
Wed May 30 11:55:00 UTC 2018


Have you ever considered using an external ACL helper?

On Tue, May 29, 2018, 9:57 PM Marcus Kool <marcus.kool at urlfilterdb.com>
wrote:

>
> On 28/05/18 15:10, dean wrote:
> > I am implementing modifications to Squid 3.5.27 for a thesis job. At
> some point in the code, I need to block a user. What I'm doing is writing
> to an external file that is used in the configuration,
> > like Squish does. But it does not block the user, however when I
> reconfigure Squid if it blocks it. Is there something I do not know? When I
> change the file, should I reconfigure Squid? Is there
> > another way to block users dynamically from the Squid code?
>
> You can use ufdbGuard for this purpose.  ufdbGuard is a free URL
> redirector for Squid which can be configured to read lists of usernames or
> list of IP addresses every X minutes (default for X is 15).
> So if you control a blacklist with usernames and write the name of the
> user to a defined file, ufdbguardd will block these users.
> If the user must be blocked immediately you need to reload ufdbguardd,
> otherwise you wait until the configured time interval to reread the
> userlist expires and so after a few minutes the user gets
> blocked.
>
> Note that reloading ufdbguardd does not interfere with Squid and all
> activity by browsers and squid continues normally.
>
> Marcus
>
> _______________________________________________
> squid-dev mailing list
> squid-dev at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20180530/1b945196/attachment.html>


More information about the squid-dev mailing list