#----------------------------------------------------------------------------- # SquidClamav v5.3 default configuration file # # To know to customize your configuration file, see squidclamav manpage # or go to http://squidclamav.darold.net/ # #----------------------------------------------------------------------------- # # Global configuration # squid_ip 127.0.0.1 squid_port 3128 logfile /var/log/squidclamav/squidclamav.log maxsize 5000000 redirect http://127.0.0.1/cgi-bin/clwarn.cgi #squidguard /usr/bin/squidGuard debug 0 stat 0 maxredir 30 clamd_local /var/lib/clamav/clamd.socket #clamd_ip 192.168.1.5,127.0.0.1 #clamd_port 3310 timeout 60 useragent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) trust_cache 1 logredir 0 # # Squidclamav behaviour # (since v5.0 Squidclamav scan all file by default) # # Here is the defaut regex pattern pattern I use to bypass virus scan. # # Do not scan images abort ^.*\.(ico|gif|png|jpg)$ abortcontent ^image\/.*$ # Do not scan text files abort ^.*\.(css|xml|xsl|js|html|jsp)$ abortcontent ^text\/.*$ abortcontent ^application\/x-javascript$ # Do not scan streamed videos abortcontent ^video\/x-flv$ abortcontent ^video\/mp4$ # Do not scan flash files abort ^.*\.swf$ abortcontent ^application\/x-shockwave-flash$ # Do not scan sequence of framed Microsoft Media Server (MMS) data packets abortcontent ^.*application\/x-mms-framed.*$ # White list some sites whitelist .*\.clamav.net # See also 'trustuser' and 'trustclient' configuration directives