News › networking

BPF Programs to Access Other Network Namespaces: New Proposal at 2026 Summit

By Zayden R., August 6, 2026

Jordan Rife proposes enabling BPF programs to iterate through sockets of different network namespaces with permissions. This could enhance Kubernetes networking capabilities.

At the 2026 Linux Storage, Filesystem, Memory-Management, and BPF Summit, Jordan Rife introduced a proposal to allow BPF programs to access and iterate through sockets in different network namespaces, provided they have the necessary permissions. This development is poised to enhance the functionality of tools like Cilium, which interfaces with Kubernetes networking.

The discussion around this proposal was lively, with BPF developers suggesting various related alternatives. The ability to examine sockets across network namespaces could streamline several network management tasks by allowing for more comprehensive monitoring and diagnostics within Kubernetes environments. This is particularly relevant for environments that rely heavily on containerization, where network namespaces play a crucial role in isolating and managing network traffic.

BPF (Berkeley Packet Filter) has long been a powerful tool for network analysis and policy enforcement in Linux. By extending its capabilities to operate across network namespaces, engineers could gain a more unified view of network operations. This proposal, if implemented, could lead to more robust network setups by providing deeper insights into network behavior and potential issues.

For practitioners, the practical impact of such a change would be significant. It would require updates to existing BPF programs to leverage the new capability, potentially leading to more efficient network monitoring solutions. The conversation at the summit suggests that while this feature is in its early stages, it is being carefully considered by the community.

The next steps would likely involve further discussions and development to address technical challenges and security implications. However, the potential benefits make it a topic worth watching for any engineer focused on network performance and reliability.

Sources

Practice this on a real machine

The Linux Camp teaches these topics as hands-on labs on real virtual machines, verified as you type.