TIP: Click on subject to list as thread! ANSI
echo: locuser
to: Bob Lawrence
from: Niels Petersen
date: 1996-11-17 16:09:10
subject: Do it yourself Virus chec

Hi Bob

 >  NP> I have a program that does a CRC and stores it in the time
 >  NP> field of the files directory entry, but this causes problems as
 >  NP> well.

 >   That's what I planned to do, and it seems to work rather well. What
 > problems does it cause?

iy stuggs up the real time the file was altered when that info is needed to
check latest version or update.


 >   My idea was to use CRC16 and only modify the time field, not the
 > date. CRC16 normally uses a seed of FFFFh or 0000h. I was going to use
 > an odd number.

 >   The problem with having a files list separate from the DOS directory
 > is having to update it every time you delete a file.

If you have seen my message to FIM, then you will realise that my method
only checks the _existing files on the disk, stores the CRC of any new
files, and the data relating to a deleted file is simply discarded.

Cheers
Niels Petersen

--- FMail/386 0.98
* Origin: * All answers questioned here * (3:711/934.22)
SEEN-BY: 670/213 711/934 712/610
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.