[clamav-users] looks like I have a problem too

Joel Esler (jesler) jesler at cisco.com
Wed Mar 10 21:04:03 UTC 2021



On Mar 10, 2021, at 3:29 PM, Paul Kosinski via clamav-users <clamav-users at lists.clamav.net<mailto:clamav-users at lists.clamav.net>> 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 determined by 'head', not the files' timestamps. Only if something newer is supposed to be available (Cloudflare BOS mirror had some problems in the past), does it invoke freshclam. (It also keeps backup CVD/CLD files just in case.)

This provides a very low bandwidth way of getting ClamAV updates ASAP. (I even cron my different ClamAV machines at different odd times during the day.)

If anyone is interested, I could provide my scripts: 'getfreshclam' (Bash) which uses 'testclam-dns' (Perl).

As someone else said, Freshclam does this for you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210310/4acb80e5/attachment.htm>


More information about the clamav-users mailing list