<div dir="auto">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.<div dir="auto"><br></div><div dir="auto">Can you show me the framing errors you mention?<br><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Feb 1, 2018 22:33, "Declan White" <<a href="mailto:declanw@is.bbc.co.uk">declanw@is.bbc.co.uk</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have syslog-ng pumping data into a unix-stream destination socketfilething.<br>
<br>
Data going into this domain socket has lots of adventures, and then emerges as a source unix-stream on another host.<br>
Both have flags(syslog-protocol), but the data gets framing errors at the receiver.<br>
<br>
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(?).<br>
<br>
Is there a way to salvage this? (I noticed TLS might add framing, but since the tunnel is already TLS ...)<br>
<font color="#888888"><br>
--<br>
Declan White<br>
______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/<wbr>support/documentation/?<wbr>product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a><br>
<br>
</font></blockquote></div><br></div></div></div>