Commit Graph

3 Commits

Author SHA1 Message Date
Reese Norris
86e86c4350 feat: FSD connection, rate, and auth hardening
Add per-IP/CID connection caps, login/idle timeouts, per-session rate
limits, non-blocking fan-out, ATC vis-range caps, auth-fail throttling,
loopback-default service HTTP, and JWT secret entropy fixes.
2026-07-22 16:08:48 -04:00
Reese Norris
2b4a0a9435 server: SweatboxHost registers synthetic pilots with Cancel-safe lifecycle
Wire the pure sweatbox engine to FSD sessions with dual bookkeeping:
claim before Register, post-Register commit check, abortFailedAdd vs
cleanupSyntheticSession, AfterFunc pointer-scoped only (stopAF before
Cancel on intentional Remove), engine.Delete only if owned.

Also: FPL encode goldens, PackPBH round-trip, kick/$!! Remove for
Synthetic, SWEATBOX_ENABLED default false (TestServer true), tick apply
with map + same-pointer Find, State merges session FlightPlan.
2026-07-17 20:57:30 -04:00
Reese Norris
8180994186 test: handler table tests + split handler_*.go
Split handlers by domain; fake Registry unit tests.
2026-07-16 12:37:31 -04:00