4.1AdGuardHome-edge
24.6 MB · −10 MB bloat
The brain of the service. I stripped ~13k lines of anything that leaks data or wastes time (DHCP, cloud lookups, client-subnet), rebuilt the request pipeline to allocate nothing, and made the hot paths lock-free so it holds up under flood. A built-in front cache means most repeat lookups never travel further than this box.
0-alloc pipeline · lock-free serve path · front-cache +60% · −13k LOC
github.com/Ozy-666/AdGuardHome-edge-spec →
4.2dnsproxy
+101% throughput
How requests travel in and out. I rebuilt the UDP and TCP paths to allocate nothing, made upstream timing lock-free, and pooled connections instead of reopening one per query — then spread the listener across every CPU core. It also caps QUIC streams and DoH request sizes so a single client can't exhaust it.
0 allocs/op · lock-free RTT map · SO_REUSEPORT · flood caps
github.com/Ozy-666/dnsproxy →
4.3dnscrypt-proxy
0 vulnerabilities
The part that encrypts your DNS on its way out to the wider internet. I rebuilt its busy paths to allocate nothing, made server-selection lock-free, and stripped everything that phones home — the web UI, auto-updates, and remote list downloads. Then had it security-audited; it now rejects forged upstream replies too.
0 allocs/op · lock-free WP2 · −455 KB · audited
github.com/Ozy-666/dnscrypt-proxy →
The list-matcher that decides what's an ad or tracker. I changed how it indexes its trickiest rules (regular expressions) so they're found instantly instead of scanned one by one — closing a path attackers could use to slow it down with floods of fake subdomains. The lookup allocates nothing, and I verified the rebuilt engine returns identical results to the original across 39,983 real domains plus 130,000 fuzz runs.
O(1) regex matching · 0 allocs · 0 divergences verified
github.com/Ozy-666/urlfilter →
4.5Unbound + BoringSSL
−26% latency · +9.6%
The resolver that finds each address and proves it's genuine. Checking those security signatures was eating nearly half the server's effort, so I rebuilt Unbound on Google's faster, formally-verified math library (BoringSSL) — keeping a one-command undo ready in case anything misbehaved.
Statically-linked BoringSSL · full DNSSEC validation
AdGuardHome-edge-spec · §6.6 Unbound×BoringSSL →