[squid-users] squid_icap to icap to system_2

Alex Rousskov rousskov at measurement-factory.com
Tue Jan 21 13:56:21 UTC 2025


On 2025-01-21 05:41, Илья Щелоков wrote:

> I have a squid proxy, it sends data to the system via icap. I need to 
> install another squid between the proxy and the system so that it 
> receives icap from the proxy

Squid is an ICAP client: it sends ICAP requests and received ICAP responses.

Squid is not an ICAP server: Squid does not receive ICAP requests and 
does not send ICAP responses.


> filters the icap by the ip of the external 
> sender (original IP) + packet size (no more than 200 bytes) and also 
> sends already filtered traffic to the system via icap. Please tell me if 
> this is possible, and if so, how to do it.

It is possible to write an ICAP proxy program that does what you want, 
but Squid is not such a program, and I doubt such a program exists today.


HTH,

Alex.


> Current version of squid is 6.6
> P.S.
> It is not possible to filter icap traffic directly on the main proxy due 
> to some restrictions.
> Best regards, Ilya
> 


More information about the squid-users mailing list