Robert Sandilands wrote:
Hi,
Attached is a patch to the currently release 1.24 version to allow it
to work with CSAV for Linux/FreeBSD. It does better version detection,
adds a required command-line switch and handles the return codes from
the scanner better.
Thanks for that.
- if ($DD =~ / Infection: (.*)/) {
+ if ( $ecsav_status > 50 && $ecsav_status < 54 ) {
$quarantine_description=$1;
&debug("There be a virus! ($quarantine_description)");
($quarantine_event=$quarantine_description)=~s/\s/_/g;
Spot of bother there. Where's $1 after your change? Should it be
if ( $ecsav_status > 50 && $ecsav_status < 54 ) {
$DD =~ / Infection: (.*)/;
$quarantine_description=$1;
...
--
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
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general