Open Source

Patches and bug reports I have sent to other people's projects. Most of these came out of hitting something while building my own, which is usually the only reason anyone reads someone else's daemon closely.

FRRouting

BFD daemon (bfdd)

3 merged · 3 open

  • #22645mergedFixed silent and permanent loss of BFD sessions when the initial dataplane registration overflowed the 8KB output buffer. The enqueue path now flushes before failing, and a session whose registration fails falls back to the software implementation instead of being owned by neither.Read the write-up
  • #22805mergedImplemented RFC 5880 section 6.8.9 echo interval negotiation for offloaded sessions, so the dataplane transmits echo packets at the interval the peer can actually receive.Read the write-up
  • #22621mergedFixed a connect(2) failure that made bfdd’s dataplane client mode unusable over UNIX sockets: the caller’s address length was discarded in favour of the padded size of the address union.Read the write-up
  • #22692openDrains the dataplane output buffer on shutdown, so the session-delete messages queued on the way out are actually written instead of being dropped with the socket.Read the write-up
  • #22694openReclaims consumed input-buffer space while waiting for a reply. Without it a long enough exchange fills the buffer and the resulting zero-length read is indistinguishable from the dataplane closing the socket.Read the write-up
  • #22920openSources IPv6 echo packets from the session’s own local address rather than letting the kernel choose, which was picking an address the peer would not accept and taking the session down the moment echo mode was enabled.Read the write-up

all PRs on GitHub

ngx-http-auth-jwt-module

TeslaGov

merged in v2.4.0

  • #152mergedEnables integration with the nginx geo and map modules, for cases such as VPN subnet allowlisting and selective authentication bypass. It runs in production as the reverse proxy image on my own cluster.Read the write-up

Proxmox VE

Bugzilla

diagnostics contributed

  • #6224reportedTraced the hang through the Perl disk-management API to blocking SMART queries against USB-attached SSDs with no timeout handling, and supplied reproduction steps for the timeout patch.Read the write-up