]>
Commit | Line | Data |
---|---|---|
f7a617a0 SS |
1 | squid_ip 127.0.0.1 |
2 | squid_port 800 | |
9fa764c6 | 3 | # |
f18be3b0 | 4 | logfile /var/log/squid/squidclamav.log |
d12aede7 | 5 | redirect http://127.0.0.1:81/clwarn.cgi |
9fa764c6 | 6 | # |
0fc9925c | 7 | debug 0 |
0fc9925c | 8 | stat 0 |
9fa764c6 | 9 | # |
0fc9925c | 10 | clamd_local /var/run/clamav/clamd |
9fa764c6 CS |
11 | #clamd_ip 192.168.1.5 |
12 | #clamd_port 3310 | |
13 | # | |
14 | maxsize 5000000 | |
15 | maxredir 30 | |
16 | timeout 60 | |
f7a617a0 | 17 | trust_cache 1 |
9fa764c6 CS |
18 | # |
19 | # Do not scan standard HTTP images | |
20 | abort ^.*\.(ico|gif|png|jpg)$ | |
21 | abortcontent ^image\/.*$ | |
22 | # | |
23 | # Do not scan text and javascript files | |
24 | abort ^.*\.(css|xml|xsl|js|html|jsp)$ | |
25 | abortcontent ^text\/.*$ | |
26 | abortcontent ^application\/x-javascript$ | |
27 | # | |
28 | # Do not scan streaming videos | |
29 | abortcontent ^video\/mp4$ | |
30 | abortcontent ^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 | |
36 | abortcontent ^.*application\/x-mms-framed.*$ | |
37 | # | |
38 | # White list some sites | |
f7a617a0 | 39 | whitelist .*\.clamav.net |