Bug 256465 - [syslogd] [regression] Lost ability to accept and write some remote logs
Summary: [syslogd] [regression] Lost ability to accept and write some remote logs
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.4-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: Ed Schouten
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-06-07 09:44 UTC by Eugene Grosbein
Modified: 2021-06-07 09:48 UTC (History)
0 users

See Also:
eugen: mfc-stable13?
eugen: mfc-stable12?
eugen: mfc-stable11?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Grosbein freebsd_committer 2021-06-07 09:44:27 UTC
MFC r335059 to stable/11 brought a regression: now syslogd in default RFC 3164 mode drops incoming messages it cannot parse. Previously, it accepted it and wrote as-is.

Running syslogd in debug mode gives errors such as:

Invalid PRI from 10.45.64.237

For logs from Cisco SCE8000:

107: 01:15:21: %USER-6-SESSION_ACCEPTED: CPU#000 A Telnet session from X.X.X.X was established.
108: 01:15:21: %USER-6-SESSION_STARTED_TRAP: CPU#000 Telnet session started from X.X.X.X

Please unbreak it making the following configuration work again:

+10.45.64.237
*.* /var/log/sce.log