On 3/24/10 7:31 AM, Del Monte Paolo wrote:
Hi Giampaolo,
Are you sure that I can download the upgrade from a window server and put it
in a second time on a hpux server. The automatic upgrade don't depend on the
platform on witch I configure freshclam?


The clam scanners (clamd, clamscan) don't care how the signatures arrive in the signature directory, they will simply use what ever you put there. How you put it there is up to you. The default method is to use freshclam, but you can use ftp, scp, rcp, rsync, cp, and mv.

You should avoid transferring the signature files directly into the working directory from a remote system as the transfer is not instantaneous, and for the period of time it takes to transfer the signatures, they will appear to the scanners as being broken. So use rsync if possible, or transfer the signatures to the target system but to a temporary directory and then move/copy them to the final destination.

I prefer rsync as it comes close to doing atomic moves between systems - the incoming file is hidden until it is completely transfered, and then it is renamed and as such appears "instantly". Google 'atomic file operations' to learn more.

If you are running clamd then you can signal it that a new signature has arrived and that it can load and use it immediately. Or you can let it find it on its own schedule.

dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to