finds.dev← search

// the find

edenden/end.ac

★ 24 · C · MIT · updated Jun 2019

SRv6 function of multi-tenant proxy by SRH caching over AF_XDP

A research-grade SRv6 proxy that caches Segment Routing Headers and forwards traffic using AF_XDP for kernel-bypass packet processing. Built for multi-tenant network function virtualization scenarios where you need SRv6 encap/decap at line rate. This is academic/PoC work, not production infrastructure.

Uses AF_XDP with zero-copy mode, which is the right tool for this — avoids the full kernel networking stack without needing DPDK. SRH caching is a clever optimization that avoids re-computing segment lists per packet. The command-line interface exposes the right knobs (NUMA node, CPU pinning, MTU, buffer sizes) for serious performance tuning. Clean separation between BPF program (bpf.c) and userspace control plane.

Abandoned in June 2019 — kernel 4.19 was current then, AF_XDP APIs have changed significantly since and this almost certainly won't build on a modern kernel without substantial porting work. Zero documentation on the SRv6 topology assumptions or what 'multi-tenant' means here; the only example is a raw command string with no explanation of what the interface indices and MACs map to. 24 stars and 2 forks over 6+ years is a signal that nobody picked this up. No tests, no CI, no way to verify correctness of the forwarding logic beyond running it on physical hardware.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →