On Feb 17, 2006, at 9:56 AM, Robert Setterlund wrote:
I have reviewed the documentation and found some of the information
that I am looking for. But I need documentation on the exact
process and the steps that freshclam performs when it updates a
pattern file. Something link, freshclam checks and finds a new
pattern file, the files is downloaded to a temporary file, the
temportary file's MD5 signature is checked and if correct the
process continues, the old pattern file is backed up, the temp file
is moved to the active pattern file, and clamd is notified of the
up date. I am most interested in the process that freshclam used
to verify the new file using the MD5 signature included.
Use the source:
http://cvs.sourceforge.net/viewcvs.py/clamav/clamav-devel/freshclam/
The stuff you've asked about is in manager.c, follow downloaddb()
until it calls cl_cvdverify() (in libclamav/cvd.c)...
--
-Chuck
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html