Files
fips/docs/reference
fr34akyandJohnathan Corgan 10b4e6ea60 fix(node): scope the medium-change reaction to the peers that moved
The reaction dropped every peer's connected socket and heartbeated every
connectionless peer, whatever the change actually named. That was
defensible while the fingerprint was host-wide and could not say which
peering had moved. Keying it on peers removed that excuse, and introduced
a reason to care.

`probe_target` is the observed source address of the last authentic packet
a peer sent, updated with no throttle. So the trigger is now within reach
of a remote party for the first time: a peer alternating between two of
its own addresses that leave this host by different interfaces moves the
fingerprint at will. Node-wide, that one peer could drive every other
peering's socket teardown and heartbeat, repeatedly, bounded only by the
poll interval — up to `max_peers` drain threads torn down and respawned
per period.

Scoped, the only peer in the set is the roamer itself, whose connected
socket the data plane has already cleared on the address change. The lever
closes by construction rather than by a rate limit.

Nothing is left stranded by the narrowing. A peer absent from the set is
one whose local source address the kernel still resolves to the same
place, and that is the entire content of the fingerprint: a peer that did
not move is a peer whose socket is not stale.

To be clear about what this was worth: nothing black-holed before it. The
sockets reinstall on a later tick and sends continue over the wildcard
socket meanwhile, so the cost was internal teardown and respawn work
rather than an outage. It is done here because this change is what created
the lever, not because it was urgent.

The test holds two peers, moves one, and asserts the other keeps both its
socket and its heartbeat timestamp. The medium-change lab still passes
17/17, which is the end-to-end check that the peer whose route really did
move is still in the set and still repaired.
2026-09-09 18:45:42 +00:00
..
2026-08-30 10:42:59 +00:00
2026-08-30 10:42:59 +00:00

Reference

Information-oriented technical descriptions for lookup on demand. Reference content describes what is: wire formats, configuration keys, command-line flags, control-socket commands, default values, file paths, exit codes. It is consulted, not read end-to-end.

Reference is austere by design: minimal narrative, no opinions, no guidance on when to use a feature. The "why" lives in design/; the "how do I accomplish X" lives in how-to/.

Available Reference

Document Scope
wire-formats.md All FMP and FSP message byte layouts, encapsulation walkthrough
configuration.md Full YAML configuration reference for the daemon and gateway
security.md nftables baseline, peer ACL, cryptographic primitives, rekey defaults, threat-resistance matrix
nostr-events.md Kind 37195 advert, Kind 21059 traversal signaling, Kind 10050 inbox relays
transports.md Per-transport statistics counter inventory
control-socket.md Line-delimited JSON control protocol for the daemon and gateway
native-api.md Native datagram API: the Rust surface, addressing and ports, errno table, ceilings, line protocol, command reference
cli-fips.md fips daemon CLI: options, exit codes, environment, files
cli-fipsctl.md fipsctl control-client: subcommands, options, exit codes
cli-fipstop.md fipstop live-status TUI: tabs, keybindings
cli-fips-gateway.md fips-gateway service CLI: options, exit codes, files