Fulda, Paul (Mission Systems) wrote:
I'm running ClamAV on a lot of clients on my local network. Can I mirror
the database locally so that each client doesn't have to download it
from your servers?
Sure, install a proxy server and then configure your freshclam clients
to use it (watch for the HTTPProxyServer parameter in man
freshclam.conf). Alternatively, you can configure a local webserver on
one of your machines (say machine1.mylan) and let freshclam download the
*.cvd files from http://database.clamav.net to the webserver's
DocumentRoot. Finally, change freshclam.conf on your clients so that it
reads:
DatabaseMirror machine1.mylan
First the database will be downloaded to the local webserver and then
the other clients on the network will update their copy of the database
from it.
I did read this but I can not seem to get it to work. We do have a web
server running on our network. It is an apache server. Do I just stick
the .cvd files in the /var/www/html directory (/var/www/html is our root
dir)? What should the freshclam.conf file look like?
Thanks!
Since /var/www/html is your DocumentRoot you should just be able to dump
the database files there. The freshclam.conf on your server would have
"DatabaseDirectory /var/www/html" in it and the freshclam.conf on your
clients would have "DatabaseMirror yourwebserver.yourdomain.com"
Steve
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html