On 10/03/2021 20:29, Paul Kosinski via clamav-users wrote:
I wrote a little script that run off cron every hour or so. But it *only* invokes freshclam after querying ClamAV's DNS TXT record to see if any advertised versions of 'daily', 'bytecode' or 'main' are newer than the local versions of the CVD files
As I understand it, Freshclam already won't do anything if the DNS record shows the same versions as the locally available CVD files, so you don't need to do that.
That's certainly how it seems to behave here. If the DNS record hasn't changed, then it just says "everything's fine" and does nothing else. So, if you ran Freshclam every minute, it wouldn't download anything except lots of DNS queries (which would be cached more locally).
The bandwidth problem is due to people NOT using Freshclam at all. -- Paul -- Paul Smith Computer Services Tel: 01484 855800 Vat No: GB 685 6987 53 Sign up for news & updates at http://www.pscs.co.uk/go/subscribe _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml