]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/squidclamav/squidclamav.conf
Update squidclamav to latest stable. Config layout has changed.
[people/pmueller/ipfire-2.x.git] / config / squidclamav / squidclamav.conf
CommitLineData
9fa764c6
CS
1#squid_ip 127.0.0.1
2#squid_port 3128
0fc9925c 3proxy none
9fa764c6 4#
0fc9925c 5logfile /var/log/squidclamav.log
d12aede7 6redirect http://127.0.0.1:81/clwarn.cgi
9fa764c6 7#
0fc9925c 8debug 0
0fc9925c 9stat 0
9fa764c6 10#
0fc9925c 11clamd_local /var/run/clamav/clamd
9fa764c6
CS
12#clamd_ip 192.168.1.5
13#clamd_port 3310
14#
15maxsize 5000000
16maxredir 30
17timeout 60
18#trust_cache 1
19#
20# Do not scan standard HTTP images
21abort ^.*\.(ico|gif|png|jpg)$
22abortcontent ^image\/.*$
23#
24# Do not scan text and javascript files
25abort ^.*\.(css|xml|xsl|js|html|jsp)$
26abortcontent ^text\/.*$
27abortcontent ^application\/x-javascript$
28#
29# Do not scan streaming videos
30abortcontent ^video\/mp4$
31abortcontent ^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
37abortcontent ^.*application\/x-mms-framed.*$
38#
39# White list some sites
40whitelist .*\.clamav.net