Re: [squid-users] external acl helper for URI lookups from database

2019-04-03 Thread Amos Jeffries
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

[squid-users] external acl helper for URI lookups from database

2019-04-03 Thread Lukas Yčas
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

Re: [squid-users] external acl helper

2017-01-22 Thread Eliezer Croitoru
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

[squid-users] external acl helper

2017-01-22 Thread Oğuz İsmail Uysal
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