Hi I am a new user of clamav. I want to run it in daemon mode for performance reasons, so I have been testing things around. >From what I understand, clamscan and clamdscan should behave the same from user point of view (provided clamd is running of course).
I have a problem with scanning archives with clamdscan : In clamav test dir : ****BEGIN PASTE***** ~/clamav-0.54/test# clamdscan /root/clamav-0.54/test/test1: ClamAV-Test-Signature FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.306 sec (0 m 0 s) ****END PASTE***** Only test1 is detected to be infected. If I try the same test with clamscan it finds 3 infected files in dir. So I try to specify I want to scan archive recursively : ****BEGIN PASTE***** ~/clamav-0.54/test# clamdscan -r test2.zip /root/clamav-0.54/test/test2.zip: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.080 sec (0 m 0 s) ****END PASTE***** Ooops. Either I misunderstood something in manpages, or there is a bug here. It looks to me like that zip file (and other archives) didn't get unzipped by clamdscan. My clamav.conf file just in case: LogFile /var/log/clamd.log LogFileMaxSize 0 LogTime PidFile /var/run/clamd.pid #DataDirectory TCPSocket 2327 MaxConnectionQueueLength 15 MaxThreads 5 ThreadTimeout 180 MaxDirectoryRecursion 5 FollowDirectorySymlinks FollowFileSymlinks SelfCheck 3600 User clamav ScanArchive ArchiveMaxFileSize 10M ArchiveMaxRecursion 5 ArchiveMaxFiles 1000 Any help will be appreciated :-) .''`. | Vincent Deffontaines : :' : Debian GNU/Linux | Network Administrator `. `~' http://www.debian.org | Council of Europe `- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]