CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2015/02/02 10:27:43
Modified files: usr.sbin/syslogd: syslogd.c Log message: As a result of the recommendations in RFC 5424, 5425, 5426 set the maximum syslog message size to 8192 octets. Restrict UDP sending to 1180 octets payload to avoid fragmentation. This is more than the 1024 we supported before. Also truncate the line in printline() to exactly 8192 bytes regardless of visual encoding. That is a more predictable behavior and makes testing easier. Although syslog(3) does not support long messages yet, make sure that /dev/log can receive them. OK deraadt@