Files
fips/docs/design
Johnathan Corgan 0076e9930c Session 48: Wire format design and logging improvements
Wire format:
- Add HandshakeMessageType enum (NoiseIKMsg1=0x01, NoiseIKMsg2=0x02)
- Define unified TLV framing for handshake and post-handshake messages
- Update fips-design.md and fips-protocol-flow.md with wire format details

Initialization:
- Defer TUN setup until after peer connections initiated
- Order: packet channel → transports → peers → TUN

Logging cleanup:
- Consolidate node/TUN info logs into aligned multi-line format
- TUN shutdown: single start/stop message, remove intermediate noise
- Remove ip link show callout and redundant Starting node message
- Change UDP transport stopped to debug level
2026-02-01 05:18:59 +00:00
..

FIPS Design Documents

Protocol design specifications and analysis for the Federated Interoperable Peering System.

Protocol Design

Document Description
fips-design.md Core protocol specification: goals, architecture, identity, addressing, spanning tree
fips-routing.md Routing architecture: Bloom filters, discovery protocol, session establishment
fips-transports.md Transport protocol characteristics: UDP, Ethernet, Tor, radio, and other link types
spanning-tree-dynamics.md Detailed study of spanning tree gossip protocol behavior and convergence

Implementation

Document Description
fips-architecture.md Software architecture: entities, state machines, transport abstractions, configuration
fips-architecture-review.md Architecture review issues and resolution status
fips-tun-driver.md TUN interface driver: reader/writer threads, ICMPv6, packet flow
fips-state-machines.md Phase-based state machine pattern: peer lifecycle, transitions, timeout handling
fips-protocol-flow.md Protocol message flow: packet channel, event loop, dispatching