Introducing Programmable Flow Protection: custom DDoS mitigation logic for Magic Transit customers
Blog post from Cloudflare
Programmable Flow Protection, introduced by Cloudflare for Magic Transit Enterprise customers, is a customizable system designed to enhance DDoS mitigation by allowing clients to implement their own custom logic across Cloudflare's global network. This beta feature addresses the challenge of detecting and mitigating attacks on custom or proprietary UDP protocols, which standard DDoS defenses struggle with due to a lack of protocol-specific knowledge. Customers can write eBPF programs to define "good" versus "bad" packets, enabling precise traffic management and mitigation without impacting legitimate users. By leveraging Cloudflare's infrastructure, users can deploy these programs to handle massive attack traffic efficiently, even executing stateful tracking and client challenges to verify the legitimacy of traffic. This approach provides greater flexibility and control over network security, going beyond traditional firewall capabilities, and is especially useful for applications reliant on UDP, such as online gaming.