[Pkg-clamav-devel] Bug#602840: clamav-daemon: StreamMaxLength documentation wrong

Steven Falken btwotch at googlemail.com
Wed Nov 10 02:18:12 UTC 2010


2010/11/9 Török Edwin <edwin at clamav.net>:
> On Tue, 9 Nov 2010 17:29:26 +0100
> Steven Falken <btwotch at googlemail.com> wrote:
>
>> debian:~# clamdscan eicar.com --stream
>> /root/eicar.com: OK
>
> Documentation doesn't really say whay StreamMaxLength 0 is supposed to
> do:
> example config file:
> # Close the connection when the data size limit is exceeded.
> # The value should match your MTA's limit for a maximum attachment size.
> # Default: 25M
> #StreamMaxLength 10M
>
dpkg-reconfigure clamav-base says that ;)

> manpage:
> Clamd uses FTP\-like protocol to receive data from remote clients. If
> you are using clamav\-milter to balance load between remote clamd
> daemons on firewall servers you may need to tune the Stream* options.
> This option allows you to specify the upper limit for data size that
> will be transfered to remote daemon when scanning a single file. It
> should match your MTA's limit for a maximum attachment size.
>
> Indeed the old stream protocol (STREAM) considers StreamMaxLength 0 as
> unlimited, and the new stream protocol (INSTREAM) considers it a limit
> of 0 bytes.
>
> I don't see why you would want unlimited stream length though, that is
> a sure way of filling up your disk.
unlimited stream length is enough for testing purposes ;)

>
> Best regards,
> --Edwin
>





More information about the Pkg-clamav-devel mailing list