mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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>
21 lines
339 B
Plaintext
21 lines
339 B
Plaintext
##
|
|
## ipfire config file for freshclam
|
|
##
|
|
|
|
LogSyslog yes
|
|
|
|
PidFile /var/run/clamav/freshclam.pid
|
|
|
|
DatabaseMirror database.clamav.net
|
|
ReceiveTimeout 600
|
|
|
|
ScriptedUpdates yes
|
|
|
|
## Proxy settings
|
|
#HTTPProxyServer myproxy.com
|
|
#HTTPProxyPort 1234
|
|
#HTTPProxyUsername myusername
|
|
#HTTPProxyPassword mypass
|
|
|
|
NotifyClamd /var/ipfire/clamav/clamd.conf
|