fix(xdp): walk IPv6 extension headers and apply the blacklist to every protocol

IPv6 packets with any extension header, and IPv4 ICMP/GRE/ESP, returned XDP_PASS
before the whitelist/blacklist were read. pkt_test gains phases for both (they fail
on the previous filter). Explicit TCP header bounds checks keep the 5.15 verifier happy.
This commit is contained in:
Loki 2026-11-21 20:05:09 +01:00
parent fb951ac225
commit b670a69866
Signed by: boba
GPG key ID: 6CDE87BC9A778D97
7 changed files with 177 additions and 19 deletions

View file

@ -58,7 +58,7 @@
| GeoIP/ASN reputation | P1 | idea | [v0.5-geoip-asn.md](v0.5-geoip-asn.md) |
| gRPC protocol plugin | P2 | idea | [v0.5-grpc-plugin.md](v0.5-grpc-plugin.md) |
| XDP: IPv6-паритет для L4 | P1 | idea | [v0.5-xdp-ipv6-parity.md](v0.5-xdp-ipv6-parity.md) |
| Аудит XDP-фильтра и тесты без root | P1 | idea | [v0.5-xdp-filter-audit.md](v0.5-xdp-filter-audit.md) |
| Аудит XDP-фильтра и тесты без root | P1 | in-progress | [v0.5-xdp-filter-audit.md](v0.5-xdp-filter-audit.md) |
| Minecraft: гигиена handshake/login | P1 | idea | [v0.5-minecraft-handshake-hygiene.md](v0.5-minecraft-handshake-hygiene.md) |
| Управление банами: теги, наборы, API | P2 | idea | [v0.5-control-plane-bans.md](v0.5-control-plane-bans.md) |
| Пакеты и релизный процесс | P2 | idea | [v0.5-packaging-release.md](v0.5-packaging-release.md) |