LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   installing squidClamAV - check if blocking viruses (https://www.linuxquestions.org/questions/centos-111/installing-squidclamav-check-if-blocking-viruses-4175618818/)

robertkwild 12-02-2017 03:02 PM

installing squidClamAV - check if blocking viruses
 
hi all,

i have installed squidclamav via this guide -

http://squidclamav.darold.net/installv6.html

i only installed the below, i didnt install squidGuard

yum install -y squid clamav

and i extrated these tars and for each i did configure/make/make install like the guide says to do

https://sourceforge.net/projects/squ...atest/download

http://sourceforge.net/projects/c-ic...ar.gz/download

i dont know what squid config files to copy/paste in my squid.conf file

do i use 3.4.x
3.1.x
3.0.x

bear in mind when i did the yum install squid, it installed 3.5.20

once installed, i test it, in my browser i change to manual proxy and change ip/port to my proxy server

when i go to websites all works and i can see the logs here -

watch -n 0.5 tail /usr/local/c-icap/var/log/server.log

but how do i check if its blocking viruses?

many thanks in advanced

rob

bathory 12-03-2017 10:16 AM

Quote:

but how do i check if its blocking viruses?
You could try to download the eicar test file from here and see what you get

Regards

robertkwild 12-06-2017 06:49 AM

gave up installing a standalone proxy server with real time AV checking for http traffic ie squidclamav

instead i did it the easy way and that was to install squid on my pfsense firewall, once installed went to "services > squid proxy server" and enabled -

under the general tab - squid proxy service also the transparent http proxy

under the antivirus tab - AV

once did that when i go to this site -

http://www.eicar.org/85-0-Download.html

when i click on the zip link it straight away takes me to my pfsense firewall squid page -

https://s17.postimg.org/sevc62cr3/squidclamav.png

i will try and install a seperate server for this if when i have time but this is by far the easy way to do it i found


All times are GMT -5. The time now is 04:07 AM.