Skip to main content

Module pairing

Module pairing 

Source

Structs§

Pairing
The daemon’s pairing listener, at most one at a time.
PairingConfig

Constants§

POLL_IDLE
How long a pairing listener stays open without sb pair polling it.

Functions§

advertise_route
What this device tells its peers in each handshake about reaching it: its route, and its sshd in its signed row once it has one. Failures are logged, and the next call retries.
local_addresses
Where another device on the network may reach this one: the address of the default route, then the host name.
spawn_route_advertiser
Keeps the advertised route and row current, so a changed address or a newly enabled sshd reaches peers without a restart.