Archiv

Artikel Tagged ‘havp’

How to run Squid proxy with ClamAV virus scanner

2. Juli 2011 Keine Kommentare

First you have to compile and install the latest version of Squid, ClaimAV and HAVP

Squid
./configure –prefix=/usr/local/squid_3/
make
make install

vi /usr/local/squid.conf

#HAVP CONFIG
cache_peer 127.0.0.1 parent 8080 0 no-query no-digest no-netdb-exchange default
cache_peer_access 127.0.0.1 allow all
#Only HTTP traffic should go through HAVP
acl Scan_HTTP proto HTTP
never_direct allow Scan_HTTP

acl none_HAVP  proto HTTPS FTP
always_direct allow none_HAVP

ClamAV
./configure –prefix=/usr/local/clamav/
make
make install

HAVP
./configure –prefix=/usr/local/HAVP/
make
make install

Now it should work!
/usr/local/squid_3/squid start

Categories: Linux, Squid Tags: , , , , ,