[clamav-users] Linode Clam AV Updates
Grant Taylor
gtaylor at tnetconsulting.net
Sat Mar 20 03:09:56 UTC 2021
On 3/19/21 5:44 PM, G.W. Haywood via clamav-users wrote:
> Hi Grant,
Hi Ged,
> Did you see this?
>
> https://blog.clamav.net/2021/03/clamav-cvds-cdiffs-and-magic-behind.html
Thank you for that link.
It got me started down a twisty and windy path.
I ended up with this.
% dig +short current.cvd.clamav.net txt | sed 's/"//g;s/:/ /g' | read
newVersion mainVersion dailyVersion recordTime versionWarning
remoteFLevel safebrowsingVersion bytecodeVersion && printf " Scanning
Engine: %s\n Current Time: %s\n DNS Record Time: %s\n
main.cvd: %s\n daily.cvd: %s\n bytecode.cvd:
%s\nsafebrowsing.cvd: %s\n Remote F-Level: %s\n Version Warning: %s\n"
$newVersion "$(date "+%a %b %d %H:%M:%S %Y")" "$(date "+%a %b %d
%H:%M:%S %Y" -d "@$recordTime")" $mainVersion $dailyVersion
$bytecodeVersion $safebrowsingVersion $remoteFLevel $versionWarning
Scanning Engine: 0.103.1
Current Time: Fri Mar 19 21:06:56 2021
DNS Record Time: Fri Mar 19 19:29:00 2021
main.cvd: 59
daily.cvd: 26113
bytecode.cvd: 333
safebrowsing.cvd: 49191
Remote F-Level: 63
Version Warning: 0
Note: The read works in Zsh, but may not work as is in Bash.
Also, Linux date, macOS date is cranky.
--
Grant. . . .
unix || die
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4013 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210319/dfbbb00c/attachment.bin>
More information about the clamav-users
mailing list