]>
Commit | Line | Data |
---|---|---|
9fa764c6 CS |
1 | #squid_ip 127.0.0.1 |
2 | #squid_port 3128 | |
0fc9925c | 3 | proxy none |
9fa764c6 | 4 | # |
0fc9925c | 5 | logfile /var/log/squidclamav.log |
d12aede7 | 6 | redirect http://127.0.0.1:81/clwarn.cgi |
9fa764c6 | 7 | # |
0fc9925c | 8 | debug 0 |
0fc9925c | 9 | stat 0 |
9fa764c6 | 10 | # |
0fc9925c | 11 | clamd_local /var/run/clamav/clamd |
9fa764c6 CS |
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 |