使用squid+HAVP+ClamAV 建置防毒 HTTP Proxy
Clamav升级配置文件 vi /usr/local/clamav/etc/freshclam.conf##
## Example config file for freshclam
## Please read the clamav.conf(5) manual before editing thisfile.
## This file may be optionally merged with clamav.conf.
##
# You can change the default database directory here.
#DatabaseDirectory /var/lib/clamav
# Path to the log file (make sure it has proper permissions)
UpdateLogFile /var/log/freshclam.log
# Enable verbose logging.
LogVerbose
# Use system logger (can work together with UpdateLogFile).
LogSyslog
# By default when freshclam is started by root it drops privilegesand
# switches to the "clamav" user. You can change this behaviourhere.
#DatabaseOwner clamav
# The main database mirror is database.clamav.net (this is around-robin
# DNS that points to many mirrors on the world) and in most casesyou
# SHOULD NOT change it.
DatabaseMirror database.clamav.net
# How many attempts to make before giving up.
MaxAttempts 3
# How often check for a new database. We suggest checking for itevery
# two hours.
Checks 12
# Proxy settings
#HTTPProxyServer myproxy.com
#HTTPProxyPort 1234
#HTTPProxyUsername myusername
#HTTPProxyPassword mypass
# Send the> #NotifyClamd
# Run command after database update.
#OnUpdateExecute command
# Run command if database update failed.
#OnErrorExecute command
页:
[1]