Integration with External Applications

The interface that emulates the one of the anti-virus daemon clamd (included in ClamAV) allows Dr.Web ClamD to communicate with any external application which can be connected to this anti-virus daemon.

The table below shows examples of applications that can use clamd for anti-virus scans:

Product

Integration

File services

FTP server
ProFTPd

clamd usage:

Scan of files uploaded to the server via FTP.

Integration requirements:

Build ProFTPd with an additional module mod_clamav.

Links to documentation:

ProFTPd documentation:http://www.proftpd.org/docs/

Description and source codes of mod_clamav: https://github.com/jbenden/mod_clamav

In the settings of the component which communicates directly with Dr.Web ClamD as with the anti-virus daemon, specify the clamd connection address as the path to the UNIX socket or to the TCP socket listened by Dr.Web ClamD at one of the endpoints created in the socket configuration.

1. Example of how to connect ProFTPd to Dr.Web ClamD:

1. Configure Dr.Web ClamD:

[ClamD.Endpoint.ftps]
ClamdSocket = 127.0.0.1:3310

2. Configure ProFTPd:

ClamAV on
ClamServer 127.0.0.1
ClamPort 3310