Integration with External Applications

The emulation of the interface of the clamd anti-virus daemon included in the ClamAV anti-virus solution makes it possible to integrate Dr.Web ClamD with any external applications capable of connecting to the clamd 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

Scan files uploaded to the server via FTP.

Integration requirements

ProFTPd built with an additional module—mod_clamav.

Links to documentation

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

Description and source code of the mod_clamav module: http://program.farit.ru/index.html

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

Example of connecting ProFTPd to Dr.Web ClamD:

1.Dr.Web ClamD configuration:

[ClamD]
Start = yes

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

2.ProFTPd configuration:

ClamAV on
ClamServer 127.0.0.1
ClamPort 3310