freebsd-skq/usr.sbin/syslogd
Dmitry Wagin 2d82b47a5b syslogd: Increase message size limits
Add a -M option to control the maximum length of forwarded messages.
syslogd(8) used to truncate forwarded messages to 1024 bytes, but after
commit 1a874a126a ("Add RFC 5424 syslog message output to syslogd.")
applies a more conservative limit of 480 bytes for IPv4 per RFC 5426
section 3.2.  Restore the old default behaviour of truncating to 1024
bytes.  RFC 5424 specifies no upper limit on the length of forwarded
messages, while for RFC 3164 the limit is 1024 bytes.

Increase MAXLINE to 8192 bytes to correspond to commit 672ef817a192.

Replaced bootfile[] size for MAXPATHLEN used in getbootfile(3) as a
returned value. Using (MAXLINE+1) as a size for bootfile[] is excessive.

PR:		241937
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D27206
2021-03-23 12:49:58 -04:00
..
ftp.conf Move all syslogd related configs to usr.sbin/syslogd/ 2018-08-21 17:01:47 +00:00
lpr.conf Move all syslogd related configs to usr.sbin/syslogd/ 2018-08-21 17:01:47 +00:00
Makefile Remove trailing slash in pathname so that valid METALOG is created in the 2018-08-25 20:19:16 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ppp.conf Move all syslogd related configs to usr.sbin/syslogd/ 2018-08-21 17:01:47 +00:00
syslog.conf log daemon.info to /var/log/daemon.log by default 2019-09-17 20:03:20 +00:00
syslog.conf.5 fix up documentation/comments: processname is not defined, but programname 2020-12-10 23:23:42 +00:00
syslogd.8 syslogd: Increase message size limits 2021-03-23 12:49:58 -04:00
syslogd.c syslogd: Increase message size limits 2021-03-23 12:49:58 -04:00