|Johann Schmitz a4e60c17a6 Merge remote-tracking branch 'maxxer/ubuntu_install'||2 месяцев назад|
|amavisvt||4 месяцев назад|
|etc||4 месяцев назад|
|tests||4 месяцев назад|
|.gitignore||3 лет назад|
|.travis.yml||4 месяцев назад|
|LICENSE.txt||4 лет назад|
|Makefile||4 месяцев назад|
|README.md||2 месяцев назад|
|amavisvt_example.cfg||3 лет назад|
|requirements.txt||3 лет назад|
|requirements_dev.txt||3 лет назад|
|setup.py||3 лет назад|
|sonar-project.properties||3 лет назад|
amavisvt is a daemon to include Virustotal as an amavisd-new virus scanner by using the Virustotal Public API.
amavisvt uses memcached to reduce the number of calls to the API. While it's possible to run amavisvt without memached, it's strongly advised to do so.
Even with memcached in place, you might hit Virustotals API limit pretty fast and
amavisvt will stop detecting an new threats.
If you hit Virustotal's API limit regularly, you might want to change the API endpoint url to an alternative one (see below), which acts as a proxy and has a much higher limit.
amavisvt uses the SHA256 hash of mimeparts to fetch file scan reports from Virustotal.
amavisvt does not send any content to virustotal unless you have the filename pattern detection feature enabled (see
amavisvt_example.cfg for details).
To reduce the number of requests to VT even further,
amavisvt only asks for reports for parts whose mime type (identified by libmagic) starts with
image/ or are typical scripts (perl, python, shell).
amavisvt may integrate configurable filter for the mime types and/or file extensions.
Add the last hope overlay and emerge amavisvt:
layman -a last-hope emerge app-antivirus/amavisvt -av
/usr/local/src). Change to the extracted files and run:
apt install python3-pip pip3 install -r requirements.txt python3 setup.py install
/etc/amavisvt.cfg and edit it to suit your needs. Most default will be fine, but you
must change the
To make a test run you can launch:
/etc/systemd/system and running:
systemctl daemon-reload systemctl enable amavis-vtd systemctl start amavis-vtd
Tested with Python 3.5.2.
amavisvt ships with an example config file. Place it in one of the following locations:
./amavisvt.cfg and adjust it to your needs.
127.0.0.1:11211 and must accept connections from localhost.
@av_scanners_backup. Starting with 0.4 AmavisVT uses a daemon: