From: Stoiko Ivanov Date: Wed, 30 Jun 2021 16:39:55 +0000 (+0200) Subject: config: freshclam: default to incremental downloads X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=fe2090fbf065a3319817794b40c6654dbc3a314b;p=pmg-api.git config: freshclam: default to incremental downloads clamav recently started yielding 429 (too many requests) response codes on even comparatively low attempts to download the complete signature files (cvd)(see [0]), instead of the incremental changes (cdiff) (see [1] for some background) changing the default to scriptedupdates (a.k.a. cdiff download) seems sensible for most situations. [0] https://docs.clamav.net/faq/faq-freshclam.html [1] https://blog.clamav.net/2021/03/clamav-cvds-cdiffs-and-magic-behind.html Signed-off-by: Stoiko Ivanov --- diff --git a/src/PMG/Config.pm b/src/PMG/Config.pm index 748ed80..20f68da 100755 --- a/src/PMG/Config.pm +++ b/src/PMG/Config.pm @@ -397,7 +397,7 @@ sub properties { scriptedupdates => { description => "Enables ScriptedUpdates (incremental download of signatures)", type => 'boolean', - default => 0 + default => 1 }, }; }