How a packet travels
The usual Linux path
Kaluza eUPFeBPF at the XDP hook, native mode
- Find the user
- Check the packet is really theirs
- Apply their rules: send, hold or drop, speed limit
- Count the bytes
- Unwrap or wrap the tunnel and send it on
Each packet is handled by eBPF programs attached at the network card through XDP, before it reaches the rest of the Linux network stack. The rules for each user live in eBPF maps that the control part fills in when KaluzaCore sets up a session. Counting comes after the speed limit, so dropped bytes are not counted. Packets eUPF does not own, such as the machine's own management traffic, go on to normal Linux.
KaluzaCore The core's session function
Decides each user's rules and sends them over PFCP.
One control part Shared
Written in Go. Turns each session into rules for whichever datapath runs below it.
Kaluza eUPF
eBPF and XDP in the Linux kernel.
Kaluza UPF-VPP
FD.io VPP with the Kaluza plugin.
Two datapaths, one brain
Both Kaluza user planes share one control part, so KaluzaCore talks to either in the same way and can use one in place of the other. That is why eUPF remains the reference engine beside UPF-VPP.
Its PFCP behaviour is checked against 3GPP TS 29.244 Release 19. A request it cannot honour is refused with a reason, never silently ignored.
What Kaluza added to the fork
- The uplink source check: every packet from a phone must come from that phone's own address
- Full IPv6 and dual-stack for phones, end to end
- Ethernet sessions for 5G LAN: MAC learning, an ARP proxy and local switching between devices
- Networks behind a phone (framed routes)
- Usage reports, quotas and time limits sent to the core
- Holding data for sleeping phones and telling the core
- Roaming protection for partner networks (IPUPS)
- Release 19 behaviour checks, with refusals that name their reason
- The shared datapath interface that Kaluza UPF-VPP builds on
Already in the original eUPF project: the XDP and eBPF design, GTP-U tunnels, finding a session by tunnel or address, speed limits, traffic filters and basic byte counters.
Design highlights
Per-user policy
A maximum speed, usage counting, quotas and time limits for each user.
Usage is reported back to the core, so limits are enforced as they happen.
Waits for sleeping phones
Holds incoming data while a phone wakes up, and tells the core so the network can page it.
Incoming data waits instead of being dropped.
Roaming protection
Drops traffic from a partner network unless it is well-formed and belongs to a tunnel set up for a real session.
Only traffic for real sessions crosses from a partner network.
Verified features
- Has carried phones' voice, video and internetOn real phones
- Uplink source check (anti-spoofing), active on phones' trafficOn real phones
- Blocking forged packetsIn lab simulation
- Local exit for edge computingIn lab simulation
- Ethernet sessions for 5G LAN, one to one with local switchingIn lab simulation
Place in the network
Kaluza eUPF or UPF‑VPP. Carry each user's traffic and apply that user's rules: Kaluza eUPF with eBPF in the Linux kernel, or Kaluza UPF-VPP with Vector Packet Processing. Either engine can do the job.
The other Kaluza projects
KaluzaCore
A complete 5G core network, written from the 3GPP Release 19 specifications.
Learn more →Kaluza UPF-VPP
A 5G user plane on FD.io Vector Packet Processing (VPP), built for exact per-user control.
Learn more →Built with Go, eBPF, XDP. Page last updated 29 November 2026.
Have a 5G security idea to test on a real network?
Kaluza is open to joint experiments with research groups and companies working on mobile network security.