- C: lpm_key6 + blacklist6_map (LPM_TRIE, 20-byte key); native IPv6 no longer returns XDP_PASS before filtering: same L4/port gates, then blacklist6, UDP drop-policy, TCP flag checks and /64 prefix stats. - Rust: blacklist6_key/blacklist6_update; ban_cidr handles V4 and V6; gateway xdp_ban uses ban_cidr (/32 or /128); dead ban_ip removed. - tests/xdp_ban_v6.rs (key layout) and scripts/xdp_ipv6_smoke.sh (real kernel: pass -> ban drops -> unban passes). - TODO: record done items and two findings (userspace ban expiry clock mismatch; short-L4 bypass of blacklist). |
||
|---|---|---|
| .. | ||
| core | ||
| hooks | ||