Cloud & Software Development

eBPF

Also known as: extended Berkeley Packet Filter, extended BPF

eBPF is a technology that lets developers run small, verified programs inside the Linux kernel without changing kernel code or loading risky modules.

It powers modern networking, security monitoring, and performance tools such as Cilium and Falco. While it sounds like a niche systems topic, eBPF has quietly become one of the most important building blocks of cloud infrastructure, because it gives deep visibility at very low cost.

eBPF, explained at three levels

At home

Think of the kernel, the core of an operating system, as a city's power station. Normally only the station's own engineers can change anything inside. eBPF is like letting you install small, inspected sensors inside the station: before any sensor goes in, an inspector checks it can't cause a blackout. Once approved, it watches and reacts to events, such as network traffic, right where they happen.

At work

eBPF is a Linux technology that lets companies run small programs inside the operating system's kernel without changing kernel code or rebooting. Those programs can watch network traffic, file access, and system activity, or make quick decisions such as dropping malicious packets. Businesses care because many modern security, networking, and monitoring products use eBPF to see everything happening on a server with very little slowdown.

Real-world examples

At home

Marcus wondered why his home server's disk was so busy. A friend showed him an eBPF-based tool that listed every process opening files in real time. He found a misconfigured backup job within a minute.

At work

Nadia leads security operations at a Vancouver software company. Her team deployed an eBPF-based runtime sensor across its Kubernetes clusters, which flagged a container unexpectedly launching a shell, an early sign of a compromised image.

How it compares

featureeBPFKernel module
SafetyChecked by a verifier before runningCan crash or compromise the system
DeploymentLoad and unload liveOften needs rebuilds for each kernel
FlexibilityLimited by verifier rulesNearly unlimited
Typical useNetworking, monitoring, securityDevice drivers and deep system changes

eBPF gives most of a kernel module's reach with far less risk.

For analysts

When vendors say their tool is 'agentless' or 'zero overhead,' eBPF is often why. I'd still ask which kernel versions they support and what privileges their sensor needs, because a tool that sees everything is also a tool worth securing.

History & origin

The original Berkeley Packet Filter was described in a 1992 paper by Steven McCanne and Van Jacobson as a fast way to filter network packets. Around 2014, Alexei Starovoitov and others extended it into 'extended BPF,' a general-purpose virtual machine inside the Linux kernel, first merged in Linux 3.18. Meta, Google, Netflix, and Cloudflare adopted it for networking and profiling. The eBPF Foundation formed under the Linux Foundation in 2021, Microsoft began porting eBPF to Windows, and Cisco acquired Isovalent, the company behind Cilium, in 2024. In my opinion, eBPF is the rare infrastructure technology whose hype undersells it.