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.shel...@gmail.com <mailto:my.shel...@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@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to