remote_syslog_logger icon indicating copy to clipboard operation
remote_syslog_logger copied to clipboard

UDP documentation is incorrect

Open bkeroackdsc opened this issue 8 years ago • 0 comments

The README incorrectly declares that UDP messages >1500 bytes (eg, the most common MTU) cannot be transmitted. UDP packets of arbitrary length can be transmitted via IP fragmentation. The caveat being that if any one of the fragments is not received, the entire datagram cannot be reassembled and the message is lost.

Given this, I think there should be a config option to not truncate messages (with clear warnings that this is not RFC-compliant and the larger the message, the greater the chance of it being lost in transit).

EDIT: After looking through the code, the truncation is done in the syslog_protocol gem and therefore isn't relevant here. However it would be nice to have an option to not split the message by lines.

bkeroackdsc avatar Oct 09 '15 16:10 bkeroackdsc