Skip to content
Cloudflare

BPF - the forgotten bytecode

May 21, 2014Marek Majkowski8 min read
Opens blog.cloudflare.com
What the post coversAI, from the source post

This post introduces the Berkeley Packet Filter (BPF) as a powerful and flexible mechanism for packet filtering within the kernel.

  • It details how BPF, originally developed for `tcpdump`, has evolved and is now utilized by Cloudflare for advanced threat management.
  • Specifically, it highlights the use of the `xt_bpf` iptables module to apply custom BPF bytecode for precisely matching and dropping malicious traffic, such as DNS queries for specific domains or subdomains, and demonstrates its effectiveness in handling massive packet floods.
Read the full post on blog.cloudflare.com · 8 min (opens in a new tab)

More from the Website Security & Threat Management trail