Rick Macdougall wrote:

> > You could adopt a policy that "yes, password-protected zip files can
> > be assumed to be viruses" with the following clamd.conf option:

> Yes, I understand that but I don't think a 2 should be returned for a 
> password protected zip file, 2 can be returned for any error, and a 
> password protected zip file should not be an error.  It should be 0 for 
> regular use, or 1 if I enable ArchiveBlockEncrypted, it should never be
> 2.


 The problem here would be that if Clam gave a PPZ an exit status of zero,
it would technically be saying that the file was clean. However, it cannot
attest to that, as it never checked it. Putting in a separate exit code
for that condition would be a better way to do it.


Matt
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to