guard/tests
loki5512344 e456cb583f
feat(manager): SCAN inventory, pagination, request limits, graceful shutdown
- Inventory nodes/servers use cursor SCAN plus MGET batches instead of KEYS
  and per-key GET; a Redis error returns 503 instead of an empty fleet.
- GET /blacklist no longer writes: the legacy metadata backfill moved to a
  one-shot startup task. The list endpoint paginates (limit 100, max 1000,
  offset max 10000) instead of dumping SMEMBERS.
- Router-wide DefaultBodyLimit 8 KiB and TimeoutLayer 10 s; every mutating
  endpoint is rate limited (30/min per client IP) with idle eviction, and the
  login limiter resets on success. reason > 256 bytes and malformed targets
  are rejected with 400.
- SIGTERM/Ctrl-C trigger graceful shutdown; the heartbeat and eviction tasks
  are cancelled and joined so in-flight ban edits reach Redis.
- MANAGER_TRUSTED_PROXIES enables X-Forwarded-For (right-to-left walk) only
  for configured proxy networks; otherwise the TCP peer is used.
- tests/manager_api.rs covers 401/400/413/429/503 and CORS preflight through
  the real router; manager_security gains limiter and proxy-IP tests.
2026-11-16 12:36:29 +01:00
..
app_shutdown.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
clickhouse_writer.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
config_parse.rs fix(edge): IPv6 bind, configurable relay idle, per-gateway budget, PROXY identity 2026-11-16 12:36:19 +01:00
connection_limits.rs fix(edge): IPv6 bind, configurable relay idle, per-gateway budget, PROXY identity 2026-11-16 12:36:19 +01:00
filter_logic.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
http_protocol.rs feat(xdp): IPv6 UDP rate limit, working loader; English comments and docs 2026-11-15 23:50:52 +01:00
manager_api.rs feat(manager): SCAN inventory, pagination, request limits, graceful shutdown 2026-11-16 12:36:29 +01:00
manager_security.rs feat(manager): SCAN inventory, pagination, request limits, graceful shutdown 2026-11-16 12:36:29 +01:00
pow_difficulty.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
pow_roundtrip.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
protocol_registry.rs feat(xdp): IPv6 UDP rate limit, working loader; English comments and docs 2026-11-15 23:50:52 +01:00
proxy_identity.rs fix(edge): IPv6 bind, configurable relay idle, per-gateway budget, PROXY identity 2026-11-16 12:36:19 +01:00
redis_backoff.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
subnet_detection.rs feat(xdp): estimate distinct sources in prefix stats, fix the detection window 2026-11-16 12:36:19 +01:00
traffic_intel.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
traffic_prefix_stats.rs feat(xdp): estimate distinct sources in prefix stats, fix the detection window 2026-11-16 12:36:19 +01:00
tui_metrics.rs feat(xdp): IPv6 UDP rate limit, working loader; English comments and docs 2026-11-15 23:50:52 +01:00
xdp_attach_smoke.rs fix(xdp): correct payload length, attach/detach, whitelist and ban upkeep 2026-11-16 12:06:05 +01:00
xdp_ban_clock.rs feat(xdp): IPv6 UDP rate limit, working loader; English comments and docs 2026-11-15 23:50:52 +01:00
xdp_ban_keys.rs fix(xdp): correct payload length, attach/detach, whitelist and ban upkeep 2026-11-16 12:06:05 +01:00
xdp_ban_v6.rs feat(xdp): IPv6 UDP rate limit, working loader; English comments and docs 2026-11-15 23:50:52 +01:00
xdp_diagnostics.rs style: switch rustfmt to hard tabs; document tests-separate rule in TODO 2026-11-15 22:34:29 +01:00
xdp_events.rs feat(xdp): IPv6 UDP rate limit, working loader; English comments and docs 2026-11-15 23:50:52 +01:00
xdp_globals.rs style: switch rustfmt to hard tabs; document tests-separate rule in TODO 2026-11-15 22:34:29 +01:00
xdp_loader.rs fix(xdp): correct payload length, attach/detach, whitelist and ban upkeep 2026-11-16 12:06:05 +01:00
xdp_object_maps.rs feat(xdp): estimate distinct sources in prefix stats, fix the detection window 2026-11-16 12:36:19 +01:00
xdp_services.rs fix(xdp): correct payload length, attach/detach, whitelist and ban upkeep 2026-11-16 12:06:05 +01:00
xdp_whitelist_keys.rs fix(xdp): correct payload length, attach/detach, whitelist and ban upkeep 2026-11-16 12:06:05 +01:00