]> git.ipfire.org Git - ipfire-2.x.git/blob - config/squidclamav/squidclamav.conf
Merge branch 'next' of ssh://arne_f@ipfire.org/pub/git/ipfire-2.x into next
[ipfire-2.x.git] / config / squidclamav / squidclamav.conf
1 #squid_ip 127.0.0.1
2 #squid_port 3128
3 proxy none
4 #
5 logfile /var/log/squidclamav.log
6 redirect http://127.0.0.1:81/clwarn.cgi
7 #
8 debug 0
9 stat 0
10 #
11 clamd_local /var/run/clamav/clamd
12 #clamd_ip 192.168.1.5
13 #clamd_port 3310
14 #
15 maxsize 5000000
16 maxredir 30
17 timeout 60
18 #trust_cache 1
19 #
20 # Do not scan standard HTTP images
21 abort ^.*\.(ico|gif|png|jpg)$
22 abortcontent ^image\/.*$
23 #
24 # Do not scan text and javascript files
25 abort ^.*\.(css|xml|xsl|js|html|jsp)$
26 abortcontent ^text\/.*$
27 abortcontent ^application\/x-javascript$
28 #
29 # Do not scan streaming videos
30 abortcontent ^video\/mp4$
31 abortcontent ^video\/x-flv$
32 #
33 # Do not scan pdf and flash
34 #abort ^.*\.(pdf|swf)$
35 #
36 # Do not scan sequence of framed Microsoft Media Server (MMS) data packets
37 abortcontent ^.*application\/x-mms-framed.*$
38 #
39 # White list some sites
40 whitelist .*\.clamav.net