Raking the floods: my intern project using eBPF
Sep 18, 2020Jonas Otten

Summary
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
- We tested our own WAF with frontier AI models. Here’s what we found
- When scanners miss the attack: how Cloudflare Client-Side Security protects storefronts
- Introducing automatic remediation policies with Cloudflare CASB
- Introducing context-aware vulnerability discovery and remediation with Cloudflare Managed Defense and OpenAI Daybreak Models
- Introducing Adaptive Intelligence: undermining the economics of every bot attack