Moderator: rgerhards
arv wrote:Hi,
I've got the same problem with the netscreens, rsyslog and the tcp protocol.
Netscreen doesn't use the LF as a line terminator. The messages are separated by a null char.
Switching to UDP is not an option. Any ideas ?
Arv.
arv wrote:Thanks a lot for Your time.
I have a few devices from few vendors, and I wish I could collect all logs from them.
arv wrote:Hi,
I've got the same problem with the netscreens, rsyslog and the tcp protocol.
Netscreen doesn't use the LF as a line terminator. The messages are separated by a null char.
Switching to UDP is not an option. Any ideas ?
Arv.
# diff tcps_sess.c tcps_sess_try.c
316c316
< if(c == '\n' && pThis->eFraming == TCP_FRAMING_OCTET_STUFFING) { /* record delemiter? */
---
> if( (c == '\n' || c == '\0') && pThis->eFraming == TCP_FRAMING_OCTET_STUFFING) { /* record delemiter? */
Users browsing this forum: No registered users and 0 guests