Re: [squid-users] ICAP help

From: <>
Date: Thu, 27 Nov 2008 23:04:34 +0400

Test sample output

/usr/local/c_icap/bin# /usr/local/c_icap/bin/icap-client -f
/home/remy/Desktop/ -s
ICAP server:localhost, ip:, port:1344

<!--C-ICAP/060708rc1 srvClamAV module -->

You try to upload/download a file that contain the virus<br>
<p>This message generated by C-ICAP/060708rc1 srvClamAV/antivirus module
<!-- And this is a silly HTML comment just to make this error bigger than
512 bytes
to allow it displayed in an IE. Yes the IE has a "feature" which does not
error messages smaller than 512 bytes displayed, because they are not
enough "friendly"

(Xmm...I think this stupid comment is better than empeding viruses or porn
images in this error message as a bad guy suggest me!)--> </body>

#for sample virus file test access log file of c-icap
tail -f /usr/local/c_icap/var/log/access.log
Thu Nov 27 23:09:48 2008,,, OPTIONS,
srv_clamav?allow204=on&force=on&sizelimit=off&mode=simple, OK
Thu Nov 27 23:09:48 2008,,, RESPMOD,
srv_clamav?allow204=on&force=on&sizelimit=off&mode=simple, OK

#for sample virus file test access log file of c-icap
tail -f /usr/local/c_icap/var/log/server.log
Thu Nov 27 23:09:48 2008, general, VIRUS DETECTED:Eicar-Test-Signature.
Take action.......


On Thu, 27 Nov 2008 19:50:16 +0200, Christos Tsantilas
<> wrote:
> wrote:
>> 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?
> Do you see error messages in your squid3 server.log file?
> Are there any entries in c-icap's access.log file?
> How are you testing it?
>> //Remy
Received on Thu Nov 27 2008 - 19:13:50 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 28 2008 - 12:00:04 MST