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 //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 >