Search squid archive

Re: Getting connection port with ICAP or eCAP

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

 



You can use the port name acl to allow specific ICAP service.
you can use use an argument for ICAP service such as:

"icap_service qlproxy13128 reqmod_precache bypass=0 icap://127.0.0.1:1344/reqmod?3128"

as you see there is an argument in the url so just add another service like:

"icap_service qlproxy13129 reqmod_precache bypass=0 icap://127.0.0.1:1344/reqmod?3129"

and if the ICAP service supports arguments you will have an option to set rules per each port.

What I was actually wondering is if something like that can be added to the ICAP url as argument to the same service instead of using this kind of ACL.

There is another option that adds to the ICAP service headers to provide this data.

Regards,
Eliezer

On 11/14/2012 10:17 AM, Sharon Sahar wrote:
Hi,

I Don't understand how do to combine an ICAP url ( like "icap_service
qlproxy1 reqmod_precache bypass=0 icap://127.0.0.1:1344/reqmod" ) with
an ACL to use it only for traffic who reaches squid at a specific
port. (one of the ports squid listens on )  can you please help me
with an example?

Much appreciated!

--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux