On 4/04/19 2:16 pm, Lukas Yčas wrote:
> Hello,
>
> Very big fan of Squid software, trying to get to know it better.
>
> A current use case of mine that I require is would be for squid to be
> able to block as it currently does via acl url_regex badurl, just that
> not from a string inside the con
Hello,
Very big fan of Squid software, trying to get to know it better.
A current use case of mine that I require is would be for squid to be able
to block as it currently does via acl url_regex badurl, just that not from
a string inside the configuration file or a file containing the strings on
From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf
Of O?uz ?smail Uysal
Sent: Sunday, January 22, 2017 11:21 AM
To: squid-users@lists.squid-cache.org
Subject: [squid-users] external acl helper
Can I use a python script as external acl helper ? I have tested it quickly
Can I use a python script as external acl helper ? I have tested it quickly
by adding these lines to squid.conf:
external_acl_type python %SRC /usr/bin/python ~/rekt.py
acl external_acl_helpers external python
http_access allow external_acl_helpers
And this is rekt.py:
#!/usr/bin/env python
prin