mirror of
https://github.com/jmcorgan/fips.git
synced 2026-07-22 07:48:26 +00:00
62ce26767764062f80d159f6a18f0223edfcf61f
Add encode/decode for all session-layer message types (SessionSetup, SessionAck, DataPacket, CoordsRequired, PathBroken) and SessionDatagram link-layer envelope. Wire format follows design doc §8.0-8.6 with address-only coordinate serialization (16 bytes/entry). Struct additions: handshake_payload on SessionSetup/SessionAck, flags on SessionAck, optional src_coords/dest_coords on DataPacket for route cache warming (COORDS_PRESENT flag). New disconnect integration tests verify cascading cleanup in multi-node networks: chain peer removal, star hub departure, chain partition with bloom filter update verification, all reason codes. New routing tests validate bloom-filter-only transit behavior and peer removal effects: confirm transit nodes without cached coords return None (loop prevention), routing stops after partition, source-only coords insufficient for multi-hop delivery. 361 tests pass (up from 335), zero warnings.
FIPS Documentation
| Directory | Description |
|---|---|
| design/ | Protocol design specifications and analysis |
Languages
Rust
86.1%
Shell
10.4%
Python
3%
PowerShell
0.2%
Makefile
0.1%