2010/11/9 Török Edwin <ed...@clamav.net>: > On Tue, 9 Nov 2010 17:29:26 +0100 > Steven Falken <btwo...@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 > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org