On Tue, 12 Jul 2011 11:18:20 +0200 sub phil <phil40...@gmail.com> wrote: > Hello, > > I propose a possible speed-up scan (as I think that hashing is faster than > scanning) > > The idea comes from security software like WinSonar ( > http://www.fewbyte.com/winsonar.html) and file synchronisation. > > I propose that when a media has been fully scanned, that for each large file > (maybe define by a threshold) its hash signature (SHA256, MD5, ...) is > stored so that when one re-scan the same media, ClamAV would skip the scan > of file if its current signature matches the scanned one.
Hi Philippe, we already do this (see libclamav/cache.c). The cache gets purged after a database update. Regards, -- oo ..... Tomasz Kojm <tk...@clamav.net> (\/)\......... http://www.ClamAV.net/gpg/tkojm.gpg \..........._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Tue Jul 12 11:24:18 CEST 2011 _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net