Search squid archive

Re: Can I use an external ACL helper for "cache allow x" or "cache deny y" ?

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

 



Thanks Alex,

I will start with a simple example which supports concurrency.
I will start with a Ruby+memcache\redis simple helper and will move on towards a full blown GoLang based one.

Eliezer

----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer@xxxxxxxxxxxx



-----Original Message-----
From: Alex Rousskov [mailto:rousskov@xxxxxxxxxxxxxxxxxxxxxxx] 
Sent: Wednesday, July 5, 2017 17:37
To: Eliezer Croitoru <eliezer@xxxxxxxxxxxx>; squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Can I use an external ACL helper for "cache allow x" or "cache deny y" ?

On 07/05/2017 03:25 AM, Eliezer Croitoru wrote:

> Can an external acl helper be used for "cache deny x" or "cache allow y"?

Yes, the "cache" directive supports "slow" ACLs, and an external ACL is
a slow ACL:

>From http://www.squid-cache.org/Doc/config/cache

> * cache: Checked before Squid makes a hit/miss determination.
> 		No access to reply information!
> 		Denies both serving a hit and storing a miss.
> 		Supports both fast and slow ACLs.

>From http://www.squid-cache.org/Doc/config/acl

> acl aclname external class_name [arguments...]
> 	  # external ACL lookup via a helper class defined by the
> 	  # external_acl_type directive [slow]

Alex.

_______________________________________________
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