Bug in SweepViruses.pm?

Holger Gebhard holger at gebhardweb.de
Fri Sep 15 11:19:48 IST 2006


Very nice solution, just changed the Code-Line in SweepViruses.pm...
Now the Summary only shows the number of different Viruses :-)

Is possible to modify the Logline "...found .. infections" in sub
TryCommercial a litte bit? The variable "$$rCounter" is still a
number >0 after a Virus is found. So after the first Virus for all
Scanners a Logline is added with Infectioncount, regardless of
they have a virus found or not.


----- Original Message ----- 
From: "Julian Field" <MailScanner at ecs.soton.ac.uk>
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Sent: Thursday, September 14, 2006 8:44 PM
Subject: Re: Bug in SweepViruses.pm?


> Glenn Steen wrote:
>> On 14/09/06, Julian Field <MailScanner at ecs.soton.ac.uk> wrote:
>>> How about I use the minimum value of all the counters from the different
>>> virus scanners?
>> And what would that mean? Not sure that would be good at all:-).
>>
>>> How do we define what this number represents?
>>> Maybe it's best to use the maximum value of all the counters, as this
>>> will hopefully reflect the number of different viruses found, regardless
>>> of their name?
>>>
>>> That sounds good to me.
>>> What do you think?
>> Yep, that one gets my vote:).
>
> In which case, find the line that is changed by the patch (patch files are
> easily human-readable) and change it to this:
>  $$rCounter = $Counter if $Counter>$$rCounter; # Set up output value
> This will make it use the maximum of the different numbers of viruses
> found by the AV packages.
>
> -- 
> Julian Field
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
> Professional Support Services at www.MailScanner.biz
> MailScanner thanks transtec Computers for their support
>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> For all your IT requirements visit www.transtec.co.uk
>
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list