HeadlinesBriefing favicon HeadlinesBriefing.com

Relayd and httpd(8) Revival: Open BSD Daemon Modernization

Hacker News •
×

Dead Software Walking: The ongoing evolution of relayd(8) and httpd(8) has seen renewed activity led by kirill@ and rsadowski, who stepped in after stalled development. The project aims to modernize legacy codebases, address decades-old diffs, and improve security. LLMs inspired the contributor to re-engage with C coding challenges. Key updates include security fixes (TLS cipher changes, ECDSA support), code quality improvements (imsg system overhaul, knfmt formatting), and stability enhancements (fixed memory leaks, race conditions). New features include MKCALENDAR support, multi-listener TLS, and cache controls for static files.

The contributor revived historical issues from 2024-2026 tech@ archives, closing unresolved diffs. A GitHub mirror inspired the creation of a Gothub repository (https://rsadowski.gothub.org) and mirrors on Codeberg/GitHub to lower barriers for new contributors. httpd(8) updates include random-relink at boot, banner suppression, and 64-bit flag support, while relayd(8) now handles duplicate Content-Length headers and explicit certificate paths.

The contributor emphasizes discipline over motivation, tackling spaghetti code and C language challenges. Achievements include bug fixes (NULL checks, upload handling), security hardening, and configuration flexibility (custom headers, gzip-static inheritance). Despite a growing backlog, progress continues, with invites for community contributions.

Open BSD's legacy projects now benefit from renewed maintenance, bridging past work (by Reyk Floeter) with modern practices. Mirrors and documentation aim to sustain momentum across platforms.