[pmg-devel] [PATCH pmg-api 2/2] config: freshclam: default to incremental downloads
Stoiko Ivanov
s.ivanov at proxmox.com
Wed Jun 30 18:39:55 CEST 2021
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 <s.ivanov at proxmox.com>
---
src/PMG/Config.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
},
};
}
--
2.20.1
More information about the pmg-devel
mailing list