[squid-users] icap adaptation chains with adaptation sets

Alex Rousskov rousskov at measurement-factory.com
Mon Apr 5 03:29:30 UTC 2021


On 3/31/21 10:02 AM, Klaus Brandl wrote:

> is there a way to use more adaptation sets(for redundancy) combined in
> an adaptation chain?

Squid only supports chains of services and sets of services. There is
currently no support for nesting (e.g., chains of sets). Such support
would be generally useful IMO.

https://wiki.squid-cache.org/SquidFaq/AboutSquid#How_to_add_a_new_Squid_feature.2C_enhance.2C_of_fix_something.3F

Alex.


> What we need is something like this:
> 
> icap_service b1 reqmod_precache ...
> icap_service b2 reqmod_precache ...
> icap_service b3 reqmod_precache ...
> icap_service b4 reqmod_precache ...
> 
> icap_service m1 reqmod_precache ...
> icap_service m2 reqmod_precache ...
> icap_service m3 reqmod_precache ...
> icap_service m4 reqmod_precache ...
> 
> #blacklist
> adaptation_service_set pool1 b1 b2 b3 b4
> #malware scanner
> adaptation_service_set pool2 m1 m2 m3 m4
> 
> adaptation_service_chain checks pool1 pool2
> 
> adaptation_access checks allow all
> 
> Regards
> 
> Klaus



More information about the squid-users mailing list