Re: [squid-users] Can't controle adaptation_access properly in ICAP.

From: Masaru AKAI <akai_at_e-trees.jp>
Date: Tue, 19 Aug 2008 13:40:35 +0900

Hello Mr. Tsantilas & Squid Developers,

I reinstall Squid3.0.STABLE8, and changed squid.conf.
#delete "adaptation_service_set" and "adaptation_access"

>>>squid.conf(summary)<<<
icap_service service_1 respmod_precache 1
icap://192.168.10.231:1344/interscan
icap_service service_2 respmod_precache 1
icap://192.168.10.232:1344/interscan

icap_class interscan service_1 service_2
>>>squid.conf(summary)<<<

and Run squid.
I find Warning in cache.log.
"WARNING: Multiple ICAP services per icap_class are not yet supported.
See Squid bug #2087."

But working well. :-)
I shutdown 192.168.10.231's service, and see with tcpdump in 192.168.10.232.

I think that warning is unnecessary.

Thank you and Best regards,

-- 
Masaru AKAI
> Hi,
> 
> S.KOBAYASHI wrote:
>> Dear developer,
>>
>> I'm using the squid-3.HEAD-20080811, and trying to deliver icap 
>> connections
>> properly as I expected. It means to activate icap or not by using 
>> adaptation_access with ACL.
>> However, adaptation_access didn't seem worked properly.
> 
> Yes this is a squid3-HEAD bug. This bug does not exists in squid-3.0.
> Can you fill a bug report? Squid bugzilla is at:
>    http://bugs.squid-cache.org/
> 
> Regards,
>     Christos
> 
>>
>> I configured ICAP settings as below.
>>
>> acl eicar url_regex http://www.eicar.org/
>> acl trend url_regex http://www.trendmicro.co.jp/
>>
>> icap_service service_1 respmod_precache 0
>> icap://192.168.10.231:1344/interscan
>> icap_service service_2 respmod_precache 0
>> icap://192.168.10.232:1344/interscan
>>
>> adaptation_service_set svcBlocker service_1 service_2
>>
>> adaptation_access svcBlocker deny eicar
>> adaptation_access svcBlocker deny trend
>> #adaptation_access svcBlocker allow all    --> commented
>>
>> In this case, squid did activate both eicar and trend, and then 
>> connected to
>> the ICAP server.
>>
>> I'm wondering, if adaptation_access has lack of software, or my
>> configuration is something wrong?
>>
>> Best Regards,
>> Seiji Kobayashi
Received on Tue Aug 19 2008 - 04:40:50 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 20 2008 - 12:00:04 MDT