Cloudflare

Raking the floods: my intern project using eBPF

Sep 18, 2020Jonas Otten
Raking the floods: my intern project using eBPF
SummaryAI, from the source post

Introduced an open-source Go library, 'rakelimit', for UDP service flood mitigation. The framework utilizes eBPF socket filters to analyze traffic patterns, employing hierarchical heavy hitters and CountMin sketches to identify and rate-limit attack traffic based on source/destination addresses and ports. It addresses challenges of spoofed IPs and IPv6 scalability by using probabilistic algorithms and a two-dimensional hierarchical structure for addresses and ports. The implementation uses fixed-point arithmetic to overcome BPF's lack of floating-point support.

More from the Website Security & Threat Management trail