mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
a200cf1452
Signed-off-by: David Spencer <idlemoor@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
28 lines
869 B
Text
28 lines
869 B
Text
squidclamav (Clamav ICAP service and redirector for Squid)
|
|
|
|
SquidClamav is an antivirus for Squid proxy based on the award
|
|
winning ClamAv anti-virus toolkit.
|
|
|
|
Optional dependency: squidGuard
|
|
|
|
|
|
Building and configuring squid
|
|
------------------------------
|
|
|
|
You must have built squid with the option "ICAP=yes", for example:
|
|
ICAP=yes ./squid.SlackBuild
|
|
|
|
Add this into your squid.conf:
|
|
|
|
# icap squidclamav
|
|
icap_enable on
|
|
icap_send_client_ip on
|
|
icap_send_client_username on
|
|
icap_client_username_encode off
|
|
icap_client_username_header X-Authenticated-User
|
|
icap_preview_enable on
|
|
icap_preview_size 1024
|
|
icap_service service_avi_req reqmod_precache icap://localhost:1344/squidclamav bypass=off
|
|
adaptation_access service_avi_req allow all
|
|
icap_service service_avi_resp respmod_precache icap://localhost:1344/squidclamav bypass=on
|
|
adaptation_access service_avi_resp allow all
|