[Midnightbsd-cvs] [MidnightBSD/src] 06d9ad: prowld.8: document hard-fail behavior for malforme...

Lucas Holt noreply at github.com
Sun Apr 19 00:22:13 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 06d9adb09bc51ab1f8ab1bf47ba164a803e6e203
      https://github.com/MidnightBSD/src/commit/06d9adb09bc51ab1f8ab1bf47ba164a803e6e203
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-04-19 (Sun, 19 Apr 2026)

  Changed paths:
    M sbin/prowld/prowld.8

  Log Message:
  -----------
  prowld.8: document hard-fail behavior for malformed socket host values

The Va host field description said what a missing value does (bind all
interfaces) but not what an invalid value does.  Before the inet_pton
fix the answer was "silently bind all interfaces"; now it is a hard
failure.  Document that the host string is validated with inet_pton(3),
that a malformed value logs LOG_ERR and places the job in the failed
state without falling back to INADDR_ANY, and give a concrete typo
example to make the network-exposure risk legible.

AI-Assisted-by: Claude Sonnet 4.6



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list