[Bug 298134] usr.sbin/syslogd: add ability to write to unix domain sockets

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Sep 2026 02:16:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298134

            Bug ID: 298134
           Summary: usr.sbin/syslogd: add ability to write to unix domain
                    sockets
           Product: Base System
           Version: 15.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: mi@FreeBSD.org
                CC: markj@FreeBSD.org

Created attachment 274370
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=274370&action=edit
Allow syslogd to forward to unix domain sockets

The change would allow "chaining" multiple syslogd-like processes. It'd also
allow for efficient log-monitoring by services like sshguard, which would be
able to act on messages quicker, without them hitting the filesystem first.

The cases of listener not running at syslogd's startup, or disappearing part
way through are handled properly, and forwarding is reestablished as soon as
the listener reappears.

The attached patch applies to both main and stable/15 at the time of this
typing.

-- 
You are receiving this mail because:
You are the assignee for the bug.