Netfence
Like Envoy for eBPF Filters
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
To power the firewalling for our agents so that they couldn't contact arbitrary services, I build netfence. It's like Envoy but for eBPF filters.It allows you to define different DNS-based rules that are resolved in a local daemon to IPs, then pushed to the eBPF filter to allow traffic. By doing it this way, we can still allow DNS-defined rules, but prevent contacting random IPs.There's also no network performance penalty, since it's just DNS lookups and eBPF filters referencing memory.It also means you don't have to tamper with the base image, which the agent could potentially manipulate to remove rules (unless you prevent root maybe).It automatically manages the lifecycle of eBPF filters on cgroups and interfaces, so it works well for both containers and micro VMs (like Firecracker).You implement a control plane, just like Envoy xDS, which you can manage the rules of each cgroup/interface. You can even manage DNS through the control plane to dynamically resolve records (which is helpful as a normal DNS server doesn't know which interface/cgroup a request might be coming from).We specifically use this to allow our agents to only contact S3, pip, apt, and npm.
HN · launched Jan 25, 2026 · 58 upvotes (top 17%) · 0 views
Niche: networking and tunneling utilities · 190 launches, 10 in the last 7 days ▼ -17% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 190 launches in networking and tunneling utilities →
Could you build this?
No Developing an eBPF-based network firewall with dynamic user-space daemon rule compilation and kernel-space eBPF maps requires deep Linux kernel and networking engineering expertise.
What it would actually take: The architecture consists of a C/Rust eBPF kernel program hooked into TC (Traffic Control) or XDP network layers, interfacing via shared eBPF maps (like LPM trie) with a user-space control daemon written in Go/Rust (using cilium/ebpf or aya). The daemon must intercept DNS traffic, perform dynamic IP-to-domain mapping, handle DNS TTL expirations, and safely update kernel lookup tables without packet drops. This requires deep Linux kernel internals, low-level socket programming, and eBPF verifier navigation expertise.
Discussion
7 comments analyzed.
Competitors mentioned: Cilium (Kubernetes), Explicit HTTP proxies
Concerns raised: Latency of updating stale DNS caches on clients, Unclear positioning relative to Envoy xDS
Feature requests: Individual port-level allow/block rules
Competitors
Other products that read as similar to this one : 174 launches clear the similarity bar, closest 8 shown.
Attention rank: #32 of 175 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 75 days after the earliest competitor.
- CargoWall · hn · 2026-03-31 · 14 upvotes · similarity 0.57
- Dsnitch · hn · 2026-09-06 · 5 upvotes · similarity 0.51
- I built a firewall for agents because prompt engineering isn't security · hn · 2026-01-19 · 7 upvotes · similarity 0.46
- Claw Patrol, a security firewall for agents · hn · 2026-06-09 · 112 upvotes · similarity 0.46
- I built a smart proxy so your coding agent can run loose · hn · 2026-07-14 · 14 upvotes · similarity 0.45
- Cerberus · hn · 2025-12-20 · 12 upvotes · similarity 0.45
- Turn wire protocols into structured statements LLMs can understand · hn · 2026-09-10 · 6 upvotes · similarity 0.45
- FireClaw · hn · 2026-03-17 · 5 upvotes · similarity 0.42
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.