[Clamav-devel] SCANBUFF
Hi, I'm working on an http anti virus scanner. The main goal are continuous and non-blocking downloads. Therefore I need libclamav to start scanning even with a small amount of received data. I figured out that changing SCANBUFF will work for me. Is there a disadvantage decreasing this buffer to 25000? I guess it is only a performance and not a safety issue. Christian PS: Is it possible to put my proxy in your Third party software section in your documentation? My proxy is called havp http://www.server-side.de/ PSS: I hope this was not too much advertising. ___ http://lurker.clamav.net/list/clamav-devel.html
Re: [Clamav-devel] SCANBUFF
On Tue, 22 Feb 2005 09:36:44 +0100 Christian Hilgers [EMAIL PROTECTED] wrote: Hi, I'm working on an http anti virus scanner. The main goal are continuous and non-blocking downloads. Therefore I need libclamav to start scanning even with a small amount of received data. I figured out that changing SCANBUFF will work for me. Is there a disadvantage decreasing this buffer to 25000? I guess it is only a performance and not a safety issue. Please do not use cl_scanbuff at all, it's to be removed in 0.90. This function only supports old type signature scanning and will miss many viruses (just try to scan test/clam.exe). You should definitely use cl_scanfile/cl_scandesc instead. Due to performance reasons you can suggest your users to use a memory based filesystem for proxy file operations (then also add some option to havp that will allow to set that directory in libclamav with cl_settempdir()) PS: Is it possible to put my proxy in your Third party software section in your documentation? My proxy is called havp http://www.server-side.de/ Yes, of course! -- oo. Tomasz Kojm [EMAIL PROTECTED] (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Tue Feb 22 12:04:35 CET 2005 pgpdLCwDRlvFi.pgp Description: PGP signature ___ http://lurker.clamav.net/list/clamav-devel.html
Re: [Clamav-devel] SCANBUFF
[EMAIL PROTECTED] wrote on 02/22/2005 08:05:51: Please do not use cl_scanbuff at all, it's to be removed in 0.90. This function only supports old type signature scanning and will miss many viruses (just try to scan test/clam.exe). You should definitely use cl_scanfile/cl_scandesc instead. Due to performance reasons you can suggest your users to use a memory based filesystem for proxy file operations (then also add some option to havp that will allow to set that directory in libclamav with cl_settempdir()) Too bad scanbuff is being retired. I really enjoy the idea of mem buffer scanning. Is there any plan to improve and keep it or removal of it *is* a fact? I haven't been following clamav development very close lately, so I don't understand why it only supports old type signature. Is there an easy answer to that? Neto.___ http://lurker.clamav.net/list/clamav-devel.html
Re: [Clamav-devel] SCANBUFF
On Tue, 22 Feb 2005 13:30:37 +0100 [EMAIL PROTECTED] wrote: disadvantage decreasing this buffer to 25000? I guess it is only a performance and not a safety issue. [...] I don't use the scanbuff funktion. I'm using cl_scandesc. I think I have to explain thefunctionality of my proxy. Sorry, before coffee I was reading mails between lines. You were correct in your guess, changing the value of SCANBUFF can only affect performance and not functionality. -- oo. Tomasz Kojm [EMAIL PROTECTED] (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Tue Feb 22 13:43:28 CET 2005 pgplkotGG9bnl.pgp Description: PGP signature ___ http://lurker.clamav.net/list/clamav-devel.html
Re: [Clamav-devel] clamav-milter
On Tue, 22 Feb 2005 13:53:01 +0100 Oden Eriksson [EMAIL PROTECTED] wrote: It doesn't even work if I set the TEMP env var to point to /var/lib/clamav/tmp. libclamav uses TMPDIR and not TEMP -- oo. Tomasz Kojm [EMAIL PROTECTED] (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Tue Feb 22 14:06:07 CET 2005 pgpRZGk1Y9BVp.pgp Description: PGP signature ___ http://lurker.clamav.net/list/clamav-devel.html
Re: [Clamav-devel] clamav-milter
tisdag 22 februari 2005 14.06 skrev Tomasz Kojm: On Tue, 22 Feb 2005 13:53:01 +0100 Oden Eriksson [EMAIL PROTECTED] wrote: It doesn't even work if I set the TEMP env var to point to /var/lib/clamav/tmp. libclamav uses TMPDIR and not TEMP Ahh, of course. Maybe I shouldn't have booted windows last night... -- Regards // Oden Eriksson ___ http://lurker.clamav.net/list/clamav-devel.html