logfence-daemon 0.1.0

Validating syslog filter daemon — forwards valid JSON messages to rsyslog
logfence-daemon-0.1.0 is not a library.

logfenced — validating syslog filter daemon.

Reads a TOML configuration file, loads JSON schemas, binds a Unix domain socket, and dispatches each accepted connection to a session handler that validates and forwards syslog messages to rsyslog.

Signal handling (Unix only):

  • SIGTERM — initiates graceful shutdown; active sessions drain before exit.
  • SIGHUP — atomically reloads JSON schemas; no connections are dropped.
  • SIGUSR1 — logs a metrics snapshot (received/forwarded/dropped/errors).