cloudflare/bpftools
BPF Tools - packet analyst toolkit observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 78
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4501
- days_rel: n/a
- days_push: 132
- n_releases_24m: 0
Adoption not part of the score
1230 stars · 141 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A toolkit of Python scripts and Linux binaries for analyzing pcap traffic dumps and generating BPF bytecode. Its core purpose is crafting BPF and iptables rules that match and drop malicious traffic, such as packets targeting specific DNS domains.
Use cases
- generate BPF bytecode to match malicious traffic
- create iptables rules to drop packets to a domain
- analyze pcap traffic dumps
- convert between pcap files and hex
- parse DNS packets from captures
- write BPF filters matching DNS queries or domain suffixes
When to choose
- you need to drop DDoS or malicious traffic with iptables BPF rules
- you want to generate BPF bytecode matching DNS domain patterns
- you analyze packet captures on Linux
When to avoid
- you need a general-purpose packet capture tool like tcpdump
- you work on non-Linux platforms
- you need eBPF program development rather than classic BPF filtering
Facets
cli-tool · maturity maintenance
security networking parser developer-tools networking security developer-tools python cli bpf pcap iptables packet-analysis ddos-mitigation dns-filtering command-line linux
1 source
- readme: https://github.com/cloudflare/bpftools · fetched 2026-08-28 · c51f0532b9f1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cloudflare/bpftools | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="cloudflare/bpftools")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem