Asking for #netBSD sysadmin advice! I setup syslog to forward logs to a Victoria...

@xavier@pony.social

Asking for #netBSD sysadmin advice!

I setup syslog to forward logs to a Victoria Logs instance with a @hostname target. Looking at the manpage and the source, it looks like the 514 port is hard-coded if using UDP, which forces me to run Victoria Logs as root (listen to a low port).

  • should I use another syslog from pkgsrc that supports sending to a different port?
  • if using TCP+TLS, I can specify a custom port but I'd need to setup certs or use verify=off and pay an unnecessary TLS overhead
  • can I allow a non-root user to bind to port 514 without kauth or lowering ip.lowportmax?