public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] clamav: Allow downloads to take up to 10 minutes
Date: Mon, 25 Nov 2019 21:10:00 +0000	[thread overview]
Message-ID: <7fc5d4a8-ce7c-ed05-2df2-1f1d78963e26@ipfire.org> (raw)
In-Reply-To: <20191125110958.14984-1-michael.tremer@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 924 bytes --]

Reviewed-by: Peter Müller <peter.mueller(a)ipfire.org>

> 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(a)tfitzgeorge.me.uk>
> Fixes: #12246
> Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
> ---
>  config/clamav/freshclam.conf | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/config/clamav/freshclam.conf b/config/clamav/freshclam.conf
> index d4131e574..28be8fec1 100644
> --- a/config/clamav/freshclam.conf
> +++ b/config/clamav/freshclam.conf
> @@ -7,6 +7,7 @@ LogSyslog yes
>  PidFile /var/run/clamav/freshclam.pid
>  
>  DatabaseMirror database.clamav.net
> +ReceiveTimeout 600
>  
>  ScriptedUpdates yes
>  
> 

      reply	other threads:[~2019-11-25 21:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-25 11:09 Michael Tremer
2019-11-25 21:10 ` Peter Müller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7fc5d4a8-ce7c-ed05-2df2-1f1d78963e26@ipfire.org \
    --to=peter.mueller@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox