Hi,

I have implemented an application using Clamd Service connection, it was
working fine for a while.
I have used the IDSESSION command and then nSCAN ... \n command.
Everything runs good and as expected.

The problem now is I need to use different scanning types for different
scenarios.I need to send commands that scan archives (CONTSCAN) and the
usual nSCAN command based on clamd.conf settings.

I have set 'disabled' into clamd.conf for archive scanning, which means I
need to send CONTSCAN if I want to scan archives.
I cannot send CONTSCAN command using IDSESSION.
After scanning the file using CONTSCAN command clamd closes the socket. The
same happens for any command not using IDSESSION.

Why does clamd closes the socket?
Is there another way to do that?
Changing clamd.conf is not a solution, I need both options available
(archives scanning and not archives scanning).

Thank you!

Jorge
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

Reply via email to