clamav-users June 2008 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: [Clamav-devel] clamav-0.93 patch block-maxý

[Clamav-devel] clamav-0.93 patch block-maxý

From: Soyez Olivier <Olivier.Soyez_at_nospam>
Date: Wed Jun 25 2008 - 09:09:30 GMT
To: "clamav-users@lists.clamav.net" <clamav-users@lists.clamav.net>


Hello,

Since the release 0.93, the options ArchiveBlockMax (clamd) and --block-max (clamscan) are no longer supported. Furthermore, Marcus Neukert highlights since clamav-0.93.1: if a limit was reached, the return-code for applications is CL_CLEAN.

So now, when scanning an archive, the scan can end when a limit is reached and the result of the scanner is CL_CLEAN, although that this archive can possibly be infected. It is bad for people that need this information.

In waiting for a possible solution, like a three stage error message (James Kosin's email):

  1. Successful, NO VIRUS.
  2. Unsuccessful, due to space or limits set. (warning)
  3. VIRUS detected.

I have written a patch for the release 0.93, that reintroduces the options ArchiveBlockMax (clamd) and --block-max (clamscan). In the same time, I have modified and extended the behaviour of these options to others achives (arj, tgz, ...). With this patch, if the option is enabled (not enabled by default), we just have 5 new possible virus definitions for all archives:
- ExceededFileSize

  • ExceededScanSize
  • ExceededFilesLimit
  • ExceededRecursionLimit
  • UnsupportedFormatFile

Regards, -- Olivier SOYEZ Atos Worldline - Offerings & Developement Messages & Documents Systems - Core Platform Team olivier.soyez@atosorigin.com Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

_______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net