Search squid archive

Re: Fwd: cache_peer_access by dynamic ACL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Guys! 
Thank you very much! For now all works like I needed!

But I have an one more  questions about how I could to use the kv-pair:


From wiki :

Defined keywords:

	  user=		The users name (login)

	  password=	The users password (for login= cache_peer option)

	  message=	Message describing the reason for this response.
			Available as %o in error pages.
			Useful on (ERR and BH results).

	  tag=		Apply a tag to a request. Only sets a tag once,
			does not alter existing tags.

	  log=		String to be logged in access.log. Available as
			%ea in logformat specifications.

	  clt_conn_tag= Associates a TAG with the client TCP connection.
			Please see url_rewrite_program related documentation
			for this kv-pair.

In my case I use an ACL with notification transaction like “proxy=all”

and then ACL with “note proxy all “
But how the kv-pair must to be looked for this my tag ?

I have tried to get answer from my ext script like 
“OK”
“proxy=all”

But looks like it’s not correct 


Could you explain a little more ?


Thank you !

пт, 21 апр. 2023 г. в 00:32, Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx>:
On 4/20/23 16:18, Amos Jeffries wrote:
> On 21/04/2023 6:31 am, Alex Rousskov wrote:
>> On 4/20/23 13:14, Alexeyяр Gruzdov wrote:
>>
>>> Tell me please If I right understood I could to get answer like
>>> "name=value" from my ACL ext script, instead of "OK" or "ERR", right?
>>
>> Not "instead", but in addition to either OK or ERR.
>>
>> Unfortunately, our documentation of the external ACL helper protocol
>> has been hidden in a transition to GitHub Pages (or I cannot find it),
>> but you can use the old wiki sources at the URL below to learn about
>> that protocol:
>
> The URL is:
>
> https://wiki.squid-cache.org/Features/AddonHelpers#access-control-acl


Yes, Francesco has restored that wiki page a few minutes ago. Thank you,
Francesco.

Alex.


>> General information about from-helper annotations:
>>
>
> and
> https://wiki.squid-cache.org/Features/AddonHelpers#keyvalue-pairs-kv-pairs-format
>
>
> HTH
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users

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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux