]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/squidclamav/squidclamav.conf
kernel: update to 2.6.32.42.
[people/pmueller/ipfire-2.x.git] / config / squidclamav / squidclamav.conf
index 43a0a6f5d4528dcff16690cb8c488141a558ff9d..19bffa0606d338fff91cecdcd106e5a7b8589879 100644 (file)
@@ -1,14 +1,40 @@
+#squid_ip 127.0.0.1
+#squid_port 3128
 proxy none
-logfile /var/log/squidclamav.log
+#
+logfile /var/log/squid/squidclamav.log
 redirect http://127.0.0.1:81/clwarn.cgi
+#
 debug 0
-force 1
 stat 0
+#
 clamd_local /var/run/clamav/clamd
-timeout 600
-abort ^.*\.html$
-abort ^.*\.css$
-abort ^.*\.xml$
-abort ^.*\.xsl$
-content ^.*application\/.*$
-
+#clamd_ip 192.168.1.5
+#clamd_port 3310
+#
+maxsize 5000000
+maxredir 30
+timeout 60
+#trust_cache 1
+#
+# Do not scan standard HTTP images
+abort ^.*\.(ico|gif|png|jpg)$
+abortcontent ^image\/.*$
+#
+# Do not scan text and javascript files
+abort ^.*\.(css|xml|xsl|js|html|jsp)$
+abortcontent ^text\/.*$
+abortcontent ^application\/x-javascript$
+#
+# Do not scan streaming videos
+abortcontent ^video\/mp4$
+abortcontent ^video\/x-flv$
+#
+# Do not scan pdf and flash
+#abort ^.*\.(pdf|swf)$
+#
+# Do not scan sequence of framed Microsoft Media Server (MMS) data packets
+abortcontent ^.*application\/x-mms-framed.*$
+#
+# White list some sites
+whitelist .*\.clamav.net
\ No newline at end of file