Clamav

Revision as of 16:07, March 22, 2015 by Gatorchomps (Talk | contribs) (Added EICAR link)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

app-antivirus/clamav


Source Repository:Repository:Gentoo Portage Tree

http://www.clamav.net/

Summary: Clam Anti-Virus Scanner

Use Flags

clamdtop
A Top like tool which shows what clamd is currently scanning amongst other things
metadata-analysis-api
Enables collection of file property metadata using ClamAV API for analysis by ClamAV bytecode programs.

News

Oleg

PHP and Kernel Updates

PHP and Kernel Updates
2016-04-01 by Oleg
Oleg

OpenSSL Update

OpenSSL Update
2016-03-04 by Oleg
Oleg

Python Updates

Python Updates
2016-02-12 by Oleg
More...

Clamav

Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Clamav is an open source antivirus solution.

Installation

# emerge app-antivirus/clamav
Virus definitions need to be installed before starting the clamd service

# freshclam

Configuration

Configuration files are located at /etc/conf.d/clamd, /etc/clamd.conf, and /etc/freshclam.conf

Runtime

# rc-update add clamd default
# rc

Testing

To make sure things are installed correctly, users have the option to run against the the EICAR Standard Anti-Virus Test File:

# wget -O- http://www.eicar.org/download/eicar.com.txt

Usage

To scan single files:

# clamscan /usr/bin/portageq
To scan a directory:

# clamscan -ir /var/www/localhost/htdocs/
----------- SCAN SUMMARY -----------
Known viruses: 3736482
Engine version: 0.98.6
Scanned directories: 663
Scanned files: 6067
Infected files: 0
Total errors: 8
Data scanned: 58.61 MB
Data read: 36.59 MB (ratio 1.60:1)
Time: 42.691 sec (0 m 42 s)

External Resources

http://www.clamav.net/doc/install.html