Expand description
Peer delta update tracking.
Structs§
- AllPeers
- Return every known peer’s full domain
Node(not the lossyStatusNode). - GetStatus
- Build the peer entries of a
Statussnapshot, each paired with itsPeerIdsoRuntime::statuscan join per-peer connectivity (cur_addr/relay) from the direct manager before returning. The self node is not included here (it lives in the control runner);Runtime::statuscombines both and drops the ids. - Peer
ByAccepted Route - Lookup all peers that accept packets addressed to the given IP.
- Peer
ByName - Lookup a peer by name.
- Peer
ByTailnet Ip - Lookup the peer that has the given tailnet IP address.
- PeerDb
- A database that stores a map of peers by
PeerIdand multiple indices. - Peer
Tracker - Actor that tracks peer delta updates and emits new states.
- Republish
State - Ask the peer tracker to re-broadcast its current peer snapshot on the bus, without any peer
change. Sent after a runtime preference change so the route updater and source filter (both
Arc<PeerState>subscribers) re-resolve against the new value immediately, rather than waiting for the next netmap update:Device::set_exit_node(new exit-node selector) andDevice::set_accept_routes(new accept-routes flag) both send it. - TkaAuthority
Update - Bus message delivering the latest verified Tailnet-Lock
Authorityfrom the control runner (after a successful/machine/tka/sync) to the peer tracker for observe-only verify-and-logging (issue #136). Cloned onto the bus (AuthorityisClone); the control runner re-publishes on every successful sync since the bus has no replay for a late subscriber. - Watch
Netmap - Subscribe to netmap peer-change events.
- Whois
- Resolve which node owns a tailnet source address.