summaryrefslogtreecommitdiffstats
path: root/system/squidclamav/README
diff options
context:
space:
mode:
author Jeremy HOCDE2017-07-22 00:05:33 +0200
committer Willy Sudiarto Raharjo2017-07-22 01:57:34 +0200
commita200cf1452dca7d0ab5ab6ccf09d61339d6bd625 (patch)
tree3b5c81c1932eac58f96007f3baf715e93168cefa /system/squidclamav/README
parentea930a9237d403035e1f8a534dce9482390d2063 (diff)
downloadslackbuilds-a200cf1452dca7d0ab5ab6ccf09d61339d6bd625.tar.gz
system/squidclamav: Added (Clamav ICAP service for Squid).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/squidclamav/README')
-rw-r--r--system/squidclamav/README28
1 files changed, 28 insertions, 0 deletions
diff --git a/system/squidclamav/README b/system/squidclamav/README
new file mode 100644
index 0000000000..fd77f63ee4
--- /dev/null
+++ b/system/squidclamav/README
@@ -0,0 +1,28 @@
+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