Fedora 10
Sponsored Link

AntiVirus - Clamav2008/11/30

  Install Clam AntiVirus to protect from virus.
[root@mail ~]#
yum -y install clamav clamav-update


[root@mail ~]#
vi /etc/freshclam.conf


# line 8: make it comment

#
Example

[root@mail ~]#
freshclam
# update pattern file

ClamAV update process started at Sun Nov 30 18:32:39 2008
main.cvd is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven)
WARNING: Removing corrupted incremental directory daily.inc
WARNING: Removing obsolete daily.cvd
Downloading daily.cvd [100%]
daily.cvd updated (version: 4746, sigs: 34671, f-level: 21, builder: ccordes)
Database updated (167834 signatures) from database.clamav.net (IP: 61.205.61.201)
# try to scan


[root@mail ~]#
clamscan --infected --remove --recursive /home


----------- SCAN SUMMARY -----------
Known viruses: 468855
Engine version: 0.94.1
Scanned directories: 23
Scanned files: 33
Infected files: 0
Data scanned: 0.16 MB
Time: 2.721 sec (0 m 2 s)
# try to download trial virus ans scan again

[root@mail ~]#
wget http://www.eicar.org/download/eicar.com


[root@mail ~]#
clamscan --infected --remove --recursive .

./eicar.com: Eicar-Test-Signature FOUND
./eicar.com: Removed

----------- SCAN SUMMARY -----------
Known viruses: 468855
Engine version: 0.94.1
Scanned directories: 5
Scanned files: 12
Infected files: 1
# just detected

Data scanned: 0.02 MB
Time: 2.599 sec (0 m 2 s)
Matched Content