]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame_incremental - config/squidclamav/squidclamav.conf
libvirt: Update to 4.6.0
[people/pmueller/ipfire-2.x.git] / config / squidclamav / squidclamav.conf
... / ...
CommitLineData
1squid_ip 127.0.0.1
2squid_port 800
3#
4logfile /var/log/squid/squidclamav.log
5redirect http://127.0.0.1:81/clwarn.cgi
6#
7debug 0
8stat 0
9#
10clamd_local /var/run/clamav/clamd
11#clamd_ip 192.168.1.5
12#clamd_port 3310
13#
14maxsize 5000000
15maxredir 30
16timeout 60
17trust_cache 1
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
39whitelist .*\.clamav.net