Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: devel

clamav-0.93 patch block-maxý

 

 

ClamAV devel RSS feed   Index | Next | Previous | View Threaded


Olivier.Soyez at atosorigin

Jun 25, 2008, 2:09 AM

Post #1 of 2 (1075 views)
Permalink
clamav-0.93 patch block-maxý

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 [at] atosorigin


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.
Attachments: clamav-0.93.patch.block-max (14.1 KB)


mwatchinski at sourcefire

Jun 25, 2008, 6:39 AM

Post #2 of 2 (1021 views)
Permalink
Re: clamav-0.93 patch block-maxý [In reply to]

If you don't mind can you open a bug in our bugzilla system and attach
your patch.

https://www.clamav.net/bugzilla

Thanks
-matt

Soyez Olivier wrote:
> 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 [at] atosorigin
>
>
> 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

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

ClamAV devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.