Implement authenticated host presence and an amplification-safe LiteNetLib NAT mediator #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #1
Depends on: #6, #10
Outcome
Observe both peers from their real gameplay UDP sockets and introduce only an authorized, verified pair.
Scope
NatPunchModulemediator inside the Server module.NatIntroduce.Acceptance criteria
Starting implementation on stacked branch
codex/issue-11-nat-mediator, based on verified issue #10 commit1baa105. Scope: bounded caller-owned LiteNetLib mediator, source-observed and role-bound presence, exact-pair introductions, candidate/address-family policy, replay/reorder/expiry safety, and adversarial amplification/state-bound tests.Implemented issue #11 on
codex/issue-11-nat-mediatorat6d076c2.The branch audit found and fixed forged LiteNet response reflection, cancel/emission linearizability, IPv6 bind widening, duplicate-flood CPU work, frozen IPv6 amplification, canonical-token drift, and missing race/adversarial coverage.
Verification: formatting clean, Release build clean, Contracts and Client packages produced, 145/145 tests pass, and the worktree is clean. The issue remains open until the stacked branch is landed.