]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
clamav: Allow downloads to take up to 10 minutes
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 25 Nov 2019 11:09:58 +0000 (11:09 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 30 Nov 2019 10:53:59 +0000 (10:53 +0000)
freshclam did not have a receive timeout set and a default of
60s was used. That causes that the large main database cannot
be downloaded over a line with a 16 MBit/s downlink.

This patch increases that timeout and should allow a successful
download on slower connections, too.

Suggested-by: Tim Fitzgeorge <ipfb@tfitzgeorge.me.uk>
Fixes: #12246
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/clamav/freshclam.conf

index d4131e574adfea574e8b9ca64b9e06fd27b69dd8..28be8fec1cefc591a87d954210bd4310f0fad587 100644 (file)
@@ -7,6 +7,7 @@ LogSyslog yes
 PidFile /var/run/clamav/freshclam.pid
 
 DatabaseMirror database.clamav.net
+ReceiveTimeout 600
 
 ScriptedUpdates yes