[squid-users] Display eCAP meta-information on Squid error-page

Alex Rousskov rousskov at measurement-factory.com
Tue Jun 5 15:29:19 UTC 2018


On 06/05/2018 05:29 AM, chgerber wrote:

> can you tell me how you
> would solve the following requirement with squid and without eCAP/ICAP:

> Parse the body of all requests with a non-empty body and block all requests
> containing a certain string "foo".

You cannot satisfy the above requirement without eCAP or ICAP. Amos
probably assumed that your adapter does not care about the message body,
but that assumption is incorrect in your environment.


> This is not content adaptation as you mentioned as main use case of ecap

Lots of eCAP adapters and ICAP services do not modify message content.
In this context, the unfortunate standard "content adaptation" term
should be interpreted broadly to include content analysis. Content
analysis is one of the primary use cases for eCAP adapters and ICAP
services.


HTH,

Alex.


More information about the squid-users mailing list