Integration with External Applications

The emulation of the clamd interface makes it possible to integrate Dr.Web ClamD with external applications capable to connect to the clamd anti-virus daemon (included in ClamAV).

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 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