[clamav-users] Possible to use clamdscan to scan a file on the clamd host?
Choate, Nathan
nathan.choate at siemens.com
Tue Sep 14 03:14:45 UTC 2021
> 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<----------------------------------------------------------------------
>
This is exactly what I needed. Thanks for the help!
Regards,
Nathan Choate
> -----Original Message-----
> From: clamav-users <clamav-users-bounces at lists.clamav.net> On Behalf Of
> G.W. Haywood via clamav-users
> Sent: Friday, September 10, 2021 2:32 PM
> To: ClamAV users ML <clamav-users at lists.clamav.net>
> Cc: G.W. Haywood <clamav at jubileegroup.co.uk>
> Subject: Re: [clamav-users] Possible to use clamdscan to scan a file on the
> clamd host?
>
> 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.
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users at lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
More information about the clamav-users
mailing list