<div dir="ltr">Oh.... Guys ! you are wizards.....<br>Works like I wanted.. <br><br>One more may be last thing:  - I found the strange behavior  - if I make changes at my ext ACL script (its python ) and then "squid -k reconfigure"  then I can see that my script appears in the "TOP" of process and loads CPU to 100%, if to restart the squid at whole "systemctl restart squid" - all OK again. <br>If you could to check this at your end - will be great ! <br><br>Thanks again! <br><br>Alexg <br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вс, 23 апр. 2023 г. в 16:36, Amos Jeffries <<a href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 23/04/2023 5:27 pm, Alexeyяр Gruzdov wrote:<br>
> Hello Guys!<br>
> Thank you very much! For now all works like I needed!<br>
><br>
> But I have an one more  questions about how I could to use the kv-pair:<br>
...<br>
> and then ACL with “note proxy all “<br>
> But how the kv-pair must to be looked for this my tag ?<br>
><br>
> I have tried to get answer from my ext script like<br>
> “OK”<br>
> “proxy=all”<br>
><br>
> But looks like it’s not correct<br>
><br>
<br>
This part of the instructions were missed:<br>
<a href="https://wiki.squid-cache.org/Features/AddonHelpers#helper-protocols" rel="noreferrer" target="_blank">https://wiki.squid-cache.org/Features/AddonHelpers#helper-protocols</a><br>
"<br>
For every line sent by Squid exactly one line is expected back. Some <br>
script language such as perl and python need to be careful about the <br>
number of newlines in their output.<br>
"<br>
<br>
If your helper received something like this (with concurrency channel-id <br>
"1"):<br>
<br>
  "1 bob 192.0.2.1"<br>
<br>
It should produce a line like:<br>
   "1 OK proxy=all"<br>
<br>
If no concurrency channel-id is received, then output is the same but <br>
without sending channel-id back and MUST be sent in same order as received.<br>
<br>
I do recommend using concurrency. It can help further debug issues with <br>
helpers responding incorrectly.<br>
<br>
HTH<br>
Amos<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>