Session 49: Wire protocol design with session indices

- Add fips-wire-protocol.md: comprehensive packet dispatch design
  - Wire format: discriminator byte + session indices for O(1) dispatch
  - WireGuard-style roaming: crypto authority, not address
  - Security: rate limiting, replay protection, state machine strictness
  - Transport considerations for UDP, TCP, Tor

- Rename fips-protocol-flow.md → fips-session-protocol.md

- Update fips-design.md wire format section
  - Replace TLV with discriminator + index format
  - Cross-reference fips-wire-protocol.md for details

- Update cross-references in all design docs
This commit is contained in:
Johnathan Corgan
2026-02-01 16:28:16 +00:00
parent 0076e9930c
commit 4890940bb7
6 changed files with 909 additions and 30 deletions
+3 -3
View File
@@ -928,7 +928,7 @@ this node wants to reach. This is the primary cache for endpoint nodes.
> **Terminology note**: These parameters configure *routing sessions*—hop-by-hop
> cached state at intermediate routers. For *crypto session* (end-to-end
> encryption) parameters, see the Crypto Session section below. See
> [fips-protocol-flow.md](fips-protocol-flow.md) §5 for the distinction.
> [fips-session-protocol.md](fips-session-protocol.md) §5 for the distinction.
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
@@ -945,7 +945,7 @@ configure the same underlying cache but are grouped by purpose.
### Crypto Session Management
> **Note**: Crypto sessions provide end-to-end authenticated encryption using
> Noise KK. See [fips-protocol-flow.md](fips-protocol-flow.md) §6 for details.
> Noise KK. See [fips-session-protocol.md](fips-session-protocol.md) §6 for details.
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
@@ -1041,7 +1041,7 @@ establishment).
## References
- [fips-design.md](fips-design.md) — Overall FIPS protocol design
- [fips-protocol-flow.md](fips-protocol-flow.md) — Traffic flow, session terminology, crypto sessions
- [fips-session-protocol.md](fips-session-protocol.md) — Traffic flow, session terminology, crypto sessions
- [fips-transports.md](fips-transports.md) — Transport protocol characteristics
- [fips-routing.md](fips-routing.md) — Routing, Bloom filters, discovery
- [spanning-tree-dynamics.md](spanning-tree-dynamics.md) — Tree protocol dynamics