Search squid archive

Re: Need confirm for external_acl_type + delay_access

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 29/09/2014 10:38 a.m., David Touzeau wrote:
> Hi I would like to know if it possible to use acl external_acl_type
> and delay_access. It seems that each helper used make the
> delay_access failed to be matched.


Not within the delay_access checks themselves, since external is a
"slow" group (helper lookup) and delay_access is a "fast" check.

What you can do instead is run the external ACL check in http_access
and use a tag= value produced by the helper in delay_access checks
with "tag" type ACL test.
In the latest releases with annotation support use the "note" type ACL
test and you can return arbitrary key=value from the helper.

Amos


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUKNZzAAoJELJo5wb/XPRjrDoH/3z0ED8nz6nzvmW/gA890BUz
OHVxbvplLlviTGjkymWnGLsg/9jnwfjD6dAgiR6JEwhWWzp/Db0rUECNo7Kwi8z2
qJuezqp5TWx0OlnBG3NnK0aAydSihyJ4hKLGkWsx5TzVjquX83JParvTwpW+YH0E
cOMgu0hb2JyD3x31MBd9VcwW5B4kFl5DsaKi2I0p7BKcxun/aTxNJpVMcFwJOa9R
+hfd8fKsAcbj26bnAV/iEJ7dd0lBtBu0CLXVCmMtposfCp1ZCLs0dq6MVMbC2STu
pvKvmO9bkmLdJse+BfLu+r+evg7qJGLY+Uno0X/IaLr0jODyP5vqgXbT5HeUsVM=
=3xaH
-----END PGP SIGNATURE-----
_______________________________________________
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