Features: - High-performance packet filtering via eBPF/XDP - Instant blocklist with dynamic CLI management - Exact-match rules with Drop/Pass/Log actions - CIDR-based IP range dropping via LPM trie - Token-bucket rate limiting (IP-based and flow-based) - Auto temp bans for rate limit violators - Real-time event logging via BPF ring buffer - Interactive TUI monitor with live stats Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
277 B
TOML
17 lines
277 B
TOML
[package]
|
|
name = "xdp-firewall-ebpf"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
aya-ebpf = "0.1.1"
|
|
aya-log-ebpf = "0.1.0"
|
|
network-types = "0.1.0"
|
|
xdp-firewall-common = { path = "../xdp-firewall-common" }
|
|
|
|
[[bin]]
|
|
name = "xdp-firewall"
|
|
path = "src/main.rs"
|
|
|
|
[workspace]
|