All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Netfence: An Envoy xDS-like Control Plane for eBPF Network Filter Management

By

dangoodmanUT

4mo ago· 5 min readenCode

Summary

Netfence is an open-source project that functions similarly to Envoy's xDS (Discovery Service) but for eBPF (extended Berkeley Packet Filter) filters. It runs as a daemon on VM/container hosts, automatically injecting eBPF filter programs into cgroups and network interfaces. The system includes a built-in DNS server that resolves allowed domains and populates IP allowlists. Netfence daemons connect to a central control plane via gRPC to synchronize allowlists/denylists with backend systems, allowing administrators to push network rules like ALLOW *.pypi.org or ALLOW 10.0.0.0/16 to attached interfaces/cgroups.

Key quotes

· 4 pulled
Netfence runs as a daemon on your VM/container hosts and automatically injects eBPF filter programs into cgroups and network interfaces
Netfence daemons connect to a central control plane that you implement via gRPC to synchronize allowlists/denylists with your backend
Your control plane pushes network rules like ALLOW *.pypi.org or ALLOW 10.0.0.0/16 to attached interfaces/cgroups
Like Envoy xDS, but for eBPF filters
Snippet from the RSS feed
Like Envoy xDS, but for eBPF filters. Contribute to danthegoodman1/netfence development by creating an account on GitHub.

You might also wanna read