On Wed, 2003-12-03 at 09:38, Matthew Trent wrote:
> Ok, when the ArchiveMaxFileSize is set higher, the file goes through. I also 
> see the new ArchiveMaxCompressionRatio option; I assume that's intended to 
> safely allow a larger ArchiveMaxFileSize? What about an option to return 
> success and a log warning instead of an error when the size limit is reached?

Indeed - the commercial AV products do that. If you set a max level of
checking, they simply stop processing after their internal limits have
been reached. 

If clamav exits with an error status under such conditions (I don't know
if it does), this would really limit how useful it could be to SMTP
scanners/etc... (i.e. just because someone sends a ZIP attachment with
20 levels shouldn't means clamav exits with an error - which would cause
a SMTP scanner to think there's a problem, and probably requeue, which
becomes an infinite loop)

Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1




-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to