can be used with ClamAV antivirus software to scan attached files in a knowledgebase. This topic describes how to set up antivirus detection in , using the ClamAV open source antivirus toolkit. When implemented, the antivirus protection only scans attached files and has no effect on the rest of the operating system. For more information, see www.clamav.net.
There are two possible ways to implement ClamAV with :
CommandLineVirusDetector
command line utility.SocketVirusDetector
to go through a socket connection.If you have any other antivirus software installed, add its installation directory to the ClamAV exception list.
SocketVirusDetector
, ClamAV must be run as a service.ClamAV signatures are updated daily at 8pm server time.
If you're using a version of prior to 2019_01, make modifications to the file located at |
The ClamAV anti-virus is set up by default to exclude the TMP directory (for example, C:\Agiloft\tmp
), which is the preferred setting. The TMP directory is used by for storing temporary data, such as data for an import, and running anti-virus scans on that directory would severely impact performance.
Additionally, if you have any other antivirus software installed, you should add its installation directory to the ClamAV exception list. This cannot be done by default and must be done manually.
First, install ClamAV.
D:/Agiloft/ClamAV
.D:/Agiloft/ClamAV/database
.conf_examples
directory to install the root directory.clamd.conf.example
file:clamd.conf.example
to clamd.conf
.D:/Agiloft/ClamAV/clamd.pid
.D:/Agiloft/ClamAV/clamd.log
.D:/Agiloft/ClamAV/database
.reshclam.conf.sample
file, make the following changes: freshclam.conf.sample
to freshclam.conf
.freshclam.exe
and update the virus database.CommandLineVirusDetector
has two parameters: command line
and path to temp directory
where files uploaded to the knowledgebase are stored. To add additional parameters, change the file located at D:\Agiloft\wildfly\bin\standalone.conf.bat
SocketVirusDetector has three parameters: host
, port
and socket timeout
. To add additional parameters, change the file located at D:\Agiloft\wildfly\bin\standalone.conf.bat
D:\Agiloft\ClamAV\clamd.exe
.Related articles |