I first clamscaned the downloaded clamav-0.82.tar.gz but it does not detect any virus. Then I gunzipped it, untarred it, tarred and gzipped it, and then clamscaned it again. This time, it detect ClamAV-Test-File. If you take a look at the "Data scanned:", you will see the first time is 23.77MB and the second time is only 3.16MB.
Can any developers give me an explaination ???? cweng-fedora:/home/cweng 235 >clamscan clamav-0.82.tar.gz clamav-0.82.tar.gz: OK ----------- SCAN SUMMARY ----------- Known viruses: 30742 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 23.77 MB I/O buffer size: 131072 bytes Time: 5.060 sec (0 m 5 s) cweng-fedora:/home/cweng 236 >gunzip clamav-0.82.tar.gz cweng-fedora:/home/cweng 237 >tar xf clamav-0.82.tar cweng-fedora:/home/cweng 238 > cweng-fedora:/home/cweng 238 >tar cf clamav-0.82.tar clamav-0.82 cweng-fedora:/home/cweng 239 >gzip clamav-0.82.tar cweng-fedora:/home/cweng 240 >clamscan clamav-0.82.tar.gz clamav-0.82.tar.gz: ClamAV-Test-File FOUND ----------- SCAN SUMMARY ----------- Known viruses: 30742 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 3.16 MB I/O buffer size: 131072 bytes Time: 2.032 sec (0 m 2 s) cweng-fedora:/home/cweng 241 > cweng-fedora:/home/cweng/clamav-0.82 111 >gzip --version gzip 1.3.3 (2002-03-08) Copyright 2002 Free Software Foundation Copyright 1992-1993 Jean-loup Gailly This program comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Compilation options: DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H HAVE_LSTAT Written by Jean-loup Gailly. cweng-fedora:/home/cweng/clamav-0.82 112 >tar --version tar (GNU tar) 1.13.25 Copyright © 2001 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by John Gilmore and Jay Fenlason. cweng-fedora:/home/cweng/clamav-0.82 113 > __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users