fix(xdp): verifier padding, synchronous detach, percpu stats; add netns stress harness

Found by running the netns smoke on a real 5.15 KVM node:
- throttle_entry implicit padding rejected by the verifier (clang 14)
- XDP program left attached after the edge exited
- rampart_xdp_* gauges always zero (percpu_array read with lookup)
- RUST_LOG could not raise rampart above info
Smoke now keeps the origin inside the netns and polls for ban expiry.
This commit is contained in:
Loki 2026-11-21 15:10:37 +01:00
parent 987ccec905
commit d68b45e2b8
Signed by: boba
GPG key ID: 6CDE87BC9A778D97
11 changed files with 268 additions and 27 deletions

View file

@ -45,9 +45,9 @@
| Задача | Приоритет | Статус | План |
|--------|-----------|--------|------|
| XDP netns+veth harness в CI | P0 | planned | [v0.4-xdp-ci-harness.md](v0.4-xdp-ci-harness.md) |
| XDP netns+veth harness в CI | P0 | in-progress | [v0.4-xdp-ci-harness.md](v0.4-xdp-ci-harness.md) |
| Startup-диагностика окружения | P1 | in-progress | [v0.4-startup-diagnostics.md](v0.4-startup-diagnostics.md) |
| Anti-lockout и баны по порту | P1 | planned | [v0.4-anti-lockout.md](v0.4-anti-lockout.md) |
| Anti-lockout и баны по порту | P1 | in-progress | [v0.4-anti-lockout.md](v0.4-anti-lockout.md) |
## 5. v0.5 — продуктовые фичи

View file

@ -3,7 +3,7 @@
| | |
|---|---|
| Milestone | v0.4 |
| Status | planned |
| Status | in-progress |
| Priority | P1 |
| Depends on | — |

View file

@ -3,7 +3,7 @@
| | |
|---|---|
| Milestone | v0.4 |
| Status | planned |
| Status | in-progress |
| Priority | P0 |
| Depends on | — |