]> git.proxmox.com Git - pmg-api.git/commit
config: freshclam: default to incremental downloads
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 30 Jun 2021 16:39:55 +0000 (18:39 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 3 Jul 2021 20:05:50 +0000 (22:05 +0200)
commitfe2090fbf065a3319817794b40c6654dbc3a314b
treefa6cfc0ff0dea775d35e4077939c2541d58b9cfb
parent0a05c9d2de4ecb0094d42e7676fb486c2b1db8e2
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 <s.ivanov@proxmox.com>
src/PMG/Config.pm