[squid-users] Dstdomain from external ACL

Alex Rousskov rousskov at measurement-factory.com
Thu Jul 20 13:27:29 UTC 2023


On 7/20/23 08:23, Alexeyяр Gruzdov wrote:
> Hello.
> 
> Looks I found how to do that and this works well for me:
> 
> The external helper script must check if the url is in DB and answer as 
> OK (if there is) or ERR (if there isnt)


External ACL helper protocol is documented at
https://wiki.squid-cache.org/Features/AddonHelpers#access-control-acl

Alex.


> чт, 20 июл. 2023 г. в 11:11, Alexeyяр Gruzdov <my.shellac at gmail.com 
> <mailto:my.shellac at gmail.com>>:
> 
>     Hello guys!
> 
>     Could you explain to me the best way - how to get the list of domain
>     names from some external acl and use it in squid.conf for policy? I
>     looked how to get it working using the external file, but I need to
>     use a script (as example to save the url in DB).
>     I need to understand the format of the answer from the external
>     helper script - what it must be?
> 
>     Thanks.
>     Alexey
> 
> 
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list