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:
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 CommuniGate Pro to Dr.Web ClamD: 1.Downloading and building of cgpav (version 1.5):
At the configure stage, when choosing a response to a question Choose Anti-Virus daemon, select Clamav. 2.Configuring Dr.Web ClamD:
3.CommuniGate Pro configuration: 1)In the CommuniGate Pro settings file (/var/CommuniGate/Settings/cgpav.conf), specify the path to the Dr.Web ClamD socket:
2)In the CommuniGate Pro web interface: •go to → → ; ▫in , set a new filter: ▪toggle it to , ▪specify the filter name (for example, drweb), ▪specify cgpav in the parameter; ▫save changes; •go to → → ; ▫specify the new rule name (for example, drweb_scan) and click ; ▫select the rule preference and save changes; ▫click on the right-hand side from the rule name; ▪select in the dropdown menu, ▪select in the field, ▪specify 1 in the field, ▪select in the field, ▪select the name of the previously created filter (drweb in this case) in ; ▫save changes. |