Hi !
This is a new path for clamav protocol.
Improve clamav protocol:
- Add start/end a clamd session
Hope it can help you.
Debrard Sébastien
Index: protocols/clamav.c
===================================================================
RCS file: /sources/monit/monit/protocols/clamav.c,v
retrieving revision 1.1
diff -r1.1 clamav.c
56a57,61
> if(socket_print(s, "SESSION\r\n") < 0) {
> LogError("CLAMAV: error sending data -- %s\n", STRERROR);
> return FALSE;
> }
>
72a78,82
>
> if(socket_print(s, "END\r\n") < 0) {
> LogError("CLAMAV: error sending data -- %s\n", STRERROR);
> return FALSE;
> }
_______________________________________________
monit-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monit-dev