Search squid archive

Re: ICAP help

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

 



Hi Christos,

I think I have not made my self clear

first of all I don't have icap_class and icap_access in my squid.conf file
since you said
>>> Your configuration should also contain something like the following:
>>>
>>>    icap_class class_avi  service_avi
>>>    icap_access class_avi allow all
I did those changes as per you and got that message

my problem is I have enabled icap support but some how its not work (not
able to scan)
if is use the icap-client command to test it work fine

where is my mistake?

//Remy

On Thu, 27 Nov 2008 08:59:18 -0500 (EST), "Christos Tsantilas"
<christos@xxxxxxxxxxxx> wrote:
>> Hi Christos,
>>
>> I used icap_class and icap_access  but I get this
>>
>> 2008/11/27 17:07:44| Processing Configuration
>> File: /etc/squid/squid.conf (depth 0)
>> 2008/11/27 17:07:44| WARNING: 'icap_class' is depricated. Use
>> 'adaptation_service_set' instead
>> 2008/11/27 17:07:44| WARNING: 'icap_access' is depricated. Use
>> 'adaptation_access' instead
>> 2008/11/27 17:07:44| Initializing https proxy context
> 
> You are  using squid 3.1.x .
> Just replace the icap_class and icap_access lines with the following:
> 
> adaptation_service_set      class_avi  service_avi
> adaptation_access              class_avi allow all
> 
> The icap_class and icap_access are deprecated but should work too.
> 
> --
>    Christos
> 
>>
>> //Remy
>>
>> On Thu, 2008-11-27 at 07:53 -0500, Christos Tsantilas wrote:
>>> > Hi All,
>>> >
>>> > Need help on how to configure c-icap to scan http,https and ftp
>>> request
>>> >
>>> > Sample virus to test
>>> > http://www.eicar.org/download/eicar.com
>>> >
>>> > my configuration is as below
>>> > to test my setup I used the above link but it was not scanned for
>>> virus
>>> > and I was able to downloaded it nothing is working
>>> > what am i missing?
>>> > can someone help me in this?
>>> >
>>> > #squid.conf
>>> > ++++++++++++++++++++++++++++++++++++++++++++
>>> > icap_enable on
>>> > icap_preview_enable on
>>> > icap_preview_size 128
>>> > icap_send_client_ip on
>>> > icap_service service_avi_req reqmod_precache 0
>>> > icap://localhost:1344/srv_clamav
>>> > icap_service service_avi respmod_precache 1
>>> > icap://localhost:1344/srv_clamav
>>> >
>>>
>>> You need to define an icap_class and define access list for this
>>> icap_class
>>> Why do you need virus scan for http requests?
>>> Your configuration should also contain something like the following:
>>>
>>>    icap_class class_avi  service_avi
>>>    icap_access class_avi allow all
>>>
>>> Regards,
>>>        Christos
>>>
>>
>>


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

  Powered by Linux