Commit Graph

40 Commits

Author SHA1 Message Date
Joachim Wiberg
0811315f35 Bump version and update ChangeLog w/ last fixes before next release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-07-31 12:56:50 +02:00
Joachim Wiberg
ef67ecae12 Update ChangeLog for upcoming v2.4.1 bugfix release
Also, restore ChangeLog entry for released v2.4.0.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-07-26 09:16:29 +02:00
Edward K. McGuire
bcc3c7c1fb Prevent logfile corruption by control codes
Do not corrupt logfiles when kernel messages contain control codes,
notably \n. Instead, preserve the kernel's protective C-style hex
encoding. For example, \n embedded in a message by a kernel-level
facility is received as "\x0a". Kernel-level facilities cannot be
trusted to use only syslog-safe codes in kernel messages. See:
<https://kernel.org/doc/Documentation/ABI/testing/dev-kmsg>
2022-06-16 15:52:04 -05:00
Joachim Wiberg
eafde9550d Update ChangeLog and bump version for v2.4.0 release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-05-29 18:27:48 +02:00
Joachim Wiberg
0892914581 Update changelog for upcoming v2.4.0 release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-05-22 22:50:25 +02:00
Joachim Wiberg
03c2c9c68d Update changelogs for v2.3.0 (final) release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-27 21:20:21 +01:00
Joachim Wiberg
f62b70059e Update changelogs and bump version for v2.3.0 release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 02:21:02 +01:00
Joachim Wiberg
5211bcee08 Update changelogs for upcoming release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-07-01 00:12:41 +02:00
Joachim Wiberg
17b68ca89a Update changelogs and bump version for v2.2.3 release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-05-11 11:37:18 +02:00
Joachim Wiberg
9847237515 Update and sync changelogs
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-05-06 08:51:22 +02:00
Joachim Wiberg
4e1aefaf3d man: update syslogd(8) with new cache file and fix pidfile name
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-05-05 05:17:15 +02:00
Joachim Wiberg
92a4fb3318 Fix #29: prevent repeating kernel messages when syslogd is restarted
This patch fixes the problem with kernel messages being repeated when
syslogd is restarted at runtime.  This is achieved by caching the last
seqno read from /dev/kmsg to /run/syslogd.cache.  The latter is usually
a ram disk these days so it should be a fairly quick op.

Excessive updates are prevented by only caching after handling all
callbacks in the socket_poll() loop, and only updating the cache
if there has been any new kernel messages since last update.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-05-05 05:17:15 +02:00
Joachim Wiberg
d736c837d0 Update changelogs and bump version for upcoming v2.2.3 patch release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-05-05 03:40:48 +02:00
Joachim Wiberg
f507ed8ff3 Update changelogs and bump version for v2.2.2 release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-03-08 11:37:06 +01:00
Joachim Wiberg
24f0fd36c4 Prepare for v2.2.2 release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-02-21 16:18:12 +01:00
Joachim Wiberg
b115c7ec4e Uppdate changelog and bump version for v2.2.1 release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-01-30 14:21:59 +01:00
Joachim Wiberg
fb573fe0ae Update ChangeLog for upcoming v2.2.1 patch release
Initial release date, Saturday Jan 30, 2021.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-01-27 00:09:05 +01:00
Joachim Wiberg
5a42a72721 Update ChangeLog for release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-01-15 09:17:02 +01:00
Joachim Wiberg
a95c4baeda Prepare ChangeLog for v2.2.0 release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-01-14 15:29:01 +01:00
Joachim Nilsson
6d6010add6 Update ChangeLog and bump version for v2.1.2 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2020-03-22 09:47:54 +01:00
Joachim Nilsson
24dafe9a27 Update ChangeLog and bump version for v2.1.1 bug fix release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2020-01-19 21:21:57 +01:00
Joachim Nilsson
de4c349930 Update ChangeLog for v2.1.1 bug fix release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2020-01-17 13:34:35 +01:00
Joachim Nilsson
43eee3d405 Update ChangeLog and bump version for v2.1 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2020-01-05 13:33:02 +01:00
Joachim Nilsson
38d0440975 Update ChangeLog with latest fixes
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-12-25 08:25:48 +01:00
Joachim Nilsson
b07393c426 Update ChangeLog with license change
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-12-07 11:05:02 +01:00
Joachim Nilsson
5780d330fd Prepare ChangeLog for the next major release of sysklogd
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-12-07 10:32:49 +01:00
Joachim Nilsson
ad686ca86d Update ChangeLog and bump version for v2.0.3 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-12-01 21:40:20 +01:00
Joachim Nilsson
90a993f5a2 Update ChangeLog and bump version for v2.0.2 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-28 10:08:03 +01:00
Joachim Nilsson
87cef2d268 Update ChangeLog and bump version for v2.0.1
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-25 14:06:47 +01:00
Joachim Nilsson
b22e1339c9 Update ChangeLog and bump version for v2.0 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-15 11:16:09 +01:00
Joachim Nilsson
6bf74351c7 Final touches to ChangeLog for v2.0 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-15 08:58:41 +01:00
Joachim Nilsson
cf9d281e5b syslogd: Adopt FreeBSD -F instead of -n to run in foreground
This change will probably break most installations.  We do this to free
up '-n' for use as disabling DNS lookups, from FreeBSD *and* NetBSD.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-13 17:08:47 +01:00
Joachim Nilsson
0455da805f syslogd: Rename -R flag to -r, same as logger tool
Now that we've dropped the previous -r flag we can rename the rotation
flag so it's the same between both logger and syslogd.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-12 13:30:25 +01:00
Joachim Nilsson
d1035377cc syslogd: Drop -s HOST flag in favor of future BSD SecureMode
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-12 13:28:02 +01:00
Joachim Nilsson
cee833a7f5 Draft update of v2.0 change log
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-07 19:08:29 +01:00
Joachim Nilsson
3b9a856417 Update ChangeLog in preparation for v2.0
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-10-13 14:57:05 +02:00
Joachim Nilsson
3a74817df2 Update ChangeLog and bump version for v1.6 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2018-09-25 17:32:25 +02:00
Joachim Nilsson
179a137a1d Update ReadMe and ChangeLog for upcoming v1.6 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2018-09-24 20:11:29 +02:00
Joachim Nilsson
d7bfb2c66f Activate built-in log rotation feature, disabled by default
Basically just removes the #ifdef blocks around the code.  With the
feature disabled by defult this should be safe.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2018-08-03 00:58:42 +02:00
Joachim Nilsson
83fda541e2 Rename and do initial conversion to Markdown
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2018-08-02 23:26:22 +02:00