On Sun, 2010-05-23 at 10:21 +0300, Török Edwin wrote:
> > else
> >     Scan it like it does now
> >     ( with everything in the DB, I assume. )
> > }
> 
> A simpler form of this is already implemented in 0.96 :)
> 
> If a file is determined to be clean, its MD5 is added to an in-memory cache.
> When scanning a new file, its MD5 is computed and looked up in the
> cache. If found, it is considered clean.
> On DB reload the entire cache is cleared.

But, isn't that typically done multiple times a day?

So what exactly is the use-case for this, other than doing full system
scans more frequently than signature updates?


-- 
char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to