Systemd Socket Activation & Hardening
Managing socket-activated daemons cleanly with drop-in overrides, minimal capabilities,
strict UMask policies, and predictable restart semantics.
Technical Reference
A compact, self-hosted documentation hub covering Linux host hardening, HTTP/2 reverse proxy tuning, TLS lifecycle automation, and reliable background jobs.
Managing socket-activated daemons cleanly with drop-in overrides, minimal capabilities,
strict UMask policies, and predictable restart semantics.
Configuring end-to-end streaming proxies without intermediate buffering, preserving request paths, and tuning TLS ALPN negotiation for low-latency streams.
Designing default-deny host firewalls, rate-limited management ports, and explicit sinkhole defaults so misconfigurations never silently bypass policy.
Writing lock-guarded sync workers that validate candidate configs before atomic
rename(2) replacement and skip restarts when state is unchanged.
# Inspect active TCP and UDP listeners
ss -tlnp
ss -ulnp
# Verify TLS certificate chain and HTTP-to-HTTPS redirect
curl -I https://docs.aidios.org
curl -I http://docs.aidios.org
openssl s_client -connect docs.aidios.org:443 -servername docs.aidios.org </dev/null
ssh.socket override notes and UFW limit examples.