in reply to Virus checker written in Perl?

A virus checker is much much more than a simple file scanner looking for signature code. That sort of scanning has closing the gate after horse has bolted logic. Boot sector, memory resident, email attachments are just some of the things you are going to miss. Virus scanners are invasive and onmipresent. They examine most system calls and disk read/writes to do their job properly - that is why things like NAV consume about 50% of system resources (try running perl code with and without NAV running if you don't believe me). Tripwire works along the lines you are thinking of.

When speed is a real issue C or ASM piss all over Perl or any other high level language. Compare Norton Scandisk to M$ Scandisk for speed to get some idea of how fast tight code can be (or how slow crap code can be)

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
(wil) Re: Virus checker written in Perl?
by wil (Priest) on May 03, 2002 at 13:32 UTC
    Thanks for the replies, fellow monks!

    I think I underestimated in my original message the work a virus checker does. I'd still be very interested in the development of File::Scan, though, and I'm off to look at how this module work.

    It would be really neat to hook up File::Scan to an SQL database of virus identities instead of hardcoding them into the code. Maybe make the database public and centralized to keep everyone's copy up to date without having to download updates, patches or additional software.

    Hm.. If only I had the time :-)

    - wil