![]() ![]() |
|
|
Introduction
This document describes how to add the VirusBuster command line scanner to the list of integrated antivirus products in the AMaViS. Purpose of this document is only to guide users, so the main steps are detailed in this documentation. Remember, this is only one of the possible methods to integrate external scanners. Another important thing is that the VirusBuster doesn't support the AMaViS system, so this document only includes the integration steps. If other problems occurred regarding to the AMaViS, please consult its own official manual for more information. Structure of the AMaViS configuration file The configuration file of the AMaViS is a script written in Perl language. It is loaded when the product is started or it is requested by a specified command. The only important part of this file (regarding to the integration) is the av_scanners_backup array. Declaration of this array can be found at the end of the configuration file. Design the system
The VirusBuster scanner must be inserted into the av_scanners_backup array in the amavis.conf file. This array includes the secondary scanners. Minimal content of this array should be the following: @av_scanners_backup = ( ['VirusBuster', '/usr/local/vbscan/vbscan', "-a s --all-files --log=/var/log/vbscan/vbscan.log --quarantine=/var/spool/vbscan {} '*'", [0], [1, 2], qr/found: (.+) \.\.\..*/ ] ); Of course, it is possible to set more scanners as well, you have to enumerate them separated by comma (,) in the list. For more information about it please consult the AMaViS documentation. The meaning of the above example line by line (without mentioning the array declaration):
The following example describes the steps of activating the VirusBuster command line scanner in the AMaViS system. Remember, this is not the only way, just a possible method:
['VirusBuster', '/usr/local/vbscan/vbscan', "-a s --all-files --log=/var/log/vbscan/vbscan.log --quarantine=/var/spool/vbscan {} '*'", [0], [1, 2], qr/found: (.+) \.\.\..*/ ] );
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|