On Thu, 4 Mar 2004, Tomasz Kojm wrote:
; due to many requests ClamAV is now able to detect and mark password
; protected archives as a virus type "Encrypted.Zip" (big thanks to

Excellent thank you!

I don't know what the long term plans are for the clamd interface (i.e. is
it planned to move to ICAP or to return an XML result like f-prot and
others ?), but I would find it very useful if clamd returned some type
of status code in its response rather than just OK or FOUND.

What I'm trying to do is to give me users an individual option about
whether to block encrypted zips, and at the moment I have to do
!strcmp(virus, "Encrypted.Zip") in my milter which doesn't feel very
clean.

For reference, here's what another daemon style AV scanner returns. I
know now all of them are relevant to Clam but I would like to see more
easily parseable error codes being returned. It's then up to the mail
handling application to make a decision about what it lets through.

     0    Not scanned, unable to handle the object.
     1    Not scanned due to an I/O error.
     2    Not scanned, as the scanner ran out of memory.
     3    The object is not of a type the scanner knows. This may
          either  mean  it  was  misidentified or that it is cor-
          rupted.
     4    The object was valid, but encrypted and  could  not  be
          scanned.
     5    Scanning of the object was interrupted.
     7    The object was identified as an "innocent" object.
     9    The object was successfully  scanned  and  nothing  was
          found.
     11   The object is infected.

I'm happy to submit patches but it's difficult without knowing the overall
direction that the core team want to take.

Thanks for being right on top of the recent virus updates - much better than
the other scanners I have here!

Andy



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to