Integration with External Applications

Top  Previous  Next

The interface—that emulates the one of the clamd anti-virus daemon (included in ClamAV)—allows Dr.Web ClamD to communicate with any external application that is capable of connecting 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

Use of clamd:

Scanning 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 code files of mod_clamav: https://github.com/jbenden/mod_clamav

In the settings of the external software component that communicates directly with Dr.Web ClamD as with the clamd anti-virus daemon, specify an address for connecting to clamd as a path to a UNIX socket or as a TCP socket listened to by Dr.Web ClamD at one of its connection points (endpoint) set up in its configuration.

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

1.Configuring Dr.Web ClamD:

[ClamD]
Start = yes

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

2.Configuring ProFTPd:

ClamAV on
ClamServer 127.0.0.1
ClamPort 3310