[squid-users] icap adaptation chains with adaptation sets

Klaus Brandl klaus_brandl at genua.de
Fri Apr 9 15:09:22 UTC 2021


Thanks!

An other, maybe easier way were to support more then one
adaptation_access lines, so we could do something like this:

adaptation_access pool1 allow all
adaptation_access pool2 allow all

But this is currently not working, only the first line takes effect,
the second is ignored. The config reference says here:

It is currently not possible to apply more than one adaptation
service at the same vectoring point to the same HTTP transaction.

What a shame :)

Klaus

Am Sonntag, den 04.04.2021, 23:29 -0400 schrieb Alex Rousskov:
> 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