[syslog-ng] RFC5424 sending - dest=unix-stream. Framing?
Declan White
declanw at is.bbc.co.uk
Fri Feb 2 19:01:55 UTC 2018
Yeah, disregard me. Sorry.
Looks like the tunnel I'm using is unclean..
On Fri, Feb 02, 2018 at 06:48:09AM +0100, Scheidler, Bal?zs wrote:
> If the new lines at the end are ok, and the messages dont contain newlines
> themselves, you should be fine. If both destination and source is
> unix-STREAM(). Don't you hapoen to use unix-dgram() somewhere? That would
> take the datagram fragments as individual messages.
>
> Can you show me the framing errors you mention?
>
>
> On Feb 1, 2018 22:33, "Declan White" <declanw at is.bbc.co.uk> wrote:
>
> I have syslog-ng pumping data into a unix-stream destination
> socketfilething.
>
> Data going into this domain socket has lots of adventures, and then emerges
> as a source unix-stream on another host.
> Both have flags(syslog-protocol), but the data gets framing errors at the
> receiver.
>
> I think it's become a bytestream (instead of a message stream) enroute, and
> the recv() is relying on only getting one message at a time, because it
> can't know the message length any other way, as unix-stream gets messages
> without framing(?).
>
> Is there a way to salvage this? (I noticed TLS might add framing, but since
> the tunnel is already TLS ...)
--
Declan White
More information about the syslog-ng
mailing list