Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Introducing Programmable Flow Protection: custom DDoS mitigation logic for Magic Transit customers

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Anita Tenjarla, Alex Forster, Cody Doucette, and Venus Xeon-Blonde
Word Count
1,845
Language
English
Hacker News Points
-
Summary

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.