[clamav-users] Possible to use clamdscan to scan a file on the clamd host?

G.W. Haywood clamav at jubileegroup.co.uk
Fri Sep 10 18:32:04 UTC 2021


Hi there,

On Fri, 10 Sep 2021, Choate, Nathan via clamav-users wrote:

> ... we would like to use clamdscan to tell clamd to scan the 
> mounted volume contents from its container, not through a stream from the 
> client. Is that possible?

Yes, using the clamd API.  Here's a cut-n-paste of me doing exactly
that on our clamd server by connecting to it from my laptop:

8<----------------------------------------------------------------------
laptop3:~$ >>> telnet 192.168.44.7 3313
Trying 192.168.44.7...
Connected to 192.168.44.7.
Escape character is '^]'.
SCAN /home/ged/tempfile
/home/ged/tempfile: OK
Connection closed by foreign host.
8<----------------------------------------------------------------------

HTH

-- 

73,
Ged.


More information about the clamav-users mailing list