Files
netbird/client/internal/peer
riccardom 5f3f5d56d9 [client] pqkem: re-bootstrap over Signal only while the peer is connected
A failed KEM exchange makes the manager ask for a fresh signalling offer.
For a peer that is registered but offline that offer can never be answered,
so with lazy connections off (the default) each such peer drew a new offer
at every exchange timeout, about every 22 seconds, forever. That runs on top
of the reconnect guard, which already retries the peer with exponential
backoff, and every guard offer starts a fresh KEM exchange anyway. With many
offline peers it is a steady stream of useless Signal traffic.

Send the recovery offer only while the peer is connected. That is where it
is needed: the transport is up but the KEM did not converge (strict mode
stuck before its first PSK, or a broken rotation). An unreachable peer is
left to the guard's backoff.
2026-10-19 17:02:15 +02:00
..
2022-01-21 13:52:19 +01:00
2022-01-21 13:52:19 +01:00
2026-09-11 14:48:54 +02:00