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