squidclamav

FreeBSD, NetBSD, OpenBSD, DragonFly и т. д.

Модератор: arachnid

Аватара пользователя
FoxTerier
Сообщения: 182

squidclamav

Сообщение FoxTerier »

решил настроит сквид + кламав.
установил squidclamav и настроил, но не как не могу понять что это за ошибка

squidclamav.conf

Код:

# squidclamav.conf.dist # # Lines have the form: # regex|regexi pattern # abort|aborti pattern # content|contenti pattern # # abortcontent|abortcontenti pattern # # redirect cgi_redirect_url # # logfile /path/to/log_file # # proxy none # # squid_ip 127.0.0.1 # # squid_port 3128 # # debug 0|1 # # force 0|1 # # timeout secondes # # clamd_ip 127.0.0.1 # # clamd_port 3310 # # clamd_local /tmp/clamd # # stat 0|1 # # maxredir 10 # # squidguard /usr/local/squidGuard/bin/squidGuard # # whitelist this.trustdomain.com # whitelist .*\.domain\.* # # useragent String_to_modify_curl_user_agent # # trust_cache 0|1 # # Note that the ordering of regex|abort|content|abortcontent|whitelist lines # in this file is critical. Some pattern can not be reached if a previous # pattern match. # # # Examples of valid lines: # squid_ip 192.168.0.150 squid_port 3128 logfile /var/log/clamav/squidclamav.log redirect http://www.google.com #squidguard /usr/local/squidGuard/bin/squidGuard debug 0 force 1 stat 1 #maxredir 10 clamd_local /var/run/clamav/clamd.sock #clamd_ip 192.168.1.5 #clamd_port 3310 #timeout 60 #useragent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) #trust_cache 0 # abort ^.*\.pdf$ abort ^.*\.js$ abort ^.*\.html$ abort ^.*\.css$ abort ^.*\.xml$ abort ^.*\.xsl$ abort ^.*\.js$ abort ^.*\.html$ abort ^.*\.css$ abort ^.*\.xml$ abort ^.*\.xsl$ abort ^.*\.js$ abort ^.*\.jsp$ abort ^.*\.jsp\?.*$ aborti ^.*servlet.*$ abort ^.*\.ico$ aborti ^.*\.gif$ aborti ^.*\.png$ aborti ^.*\.jpg$ aborti ^.*\.swf$ #abortcontenti ^.*application\/x-mms-framed.*$ #abortcontenti ^.*application\/x-javascript.*$ #content ^.*application\/.*$ #whitelist www.eicar.org regexi ^.*\.exe$ regexi ^.*\.com$ regexi ^.*\.zip$ # Scan all files #content ^.*\/.*$


squidclamav.log

Thu Oct 29 00:44:19 2009 [12712] ERROR fail downloading url ............URL...........
Thu Oct 29 00:44:19 2009 [12712] ERROR CURLOPT_ERRORBUFFER: Operation timed out after 10000 milliseconds with 0 bytes received
Thu Oct 29 00:44:19 2009 [12712] STAT Total process time 11.498 second(s)
Show Me The Source . . .
Спасибо сказали: