netbird/client
Misha Bragin 762a26dcea
Fix Register/Deregister race on Signal (#431)
This PR fixes a race condition that happens
when agents connect to a Signal stream, multiple
times within a short amount of time. Common on
slow and unstable internet connections.
Every time an agent establishes a new connection
to Signal, Signal creates a Stream and writes an entry
to the registry of connected peers storing the stream.
Every time an agent disconnects, Signal removes the
stream from the registry.
Due to unstable connections, the agent could detect
a broken connection, and attempt to reconnect to Signal.
Signal will override the stream, but it might detect
the old broken connection later, causing peer deregistration.
It will deregister the peer leaving the client thinking
it is still connected, rejecting any messages.
2022-08-22 12:21:19 +02:00
..
cmd Output NetBird daemon and CLI versions on status command (#408) 2022-08-01 12:42:45 +02:00
internal Fix Register/Deregister race on Signal (#431) 2022-08-22 12:21:19 +02:00
proto Output NetBird daemon and CLI versions on status command (#408) 2022-08-01 12:42:45 +02:00
server Output NetBird daemon and CLI versions on status command (#408) 2022-08-01 12:42:45 +02:00
ssh Use id command for user lookup on MacOS (#384) 2022-07-07 16:13:46 +02:00
status Enhance status command (#382) 2022-07-05 19:47:50 +02:00
system Use unix.Uname to get Darwin system info (#404) 2022-07-30 11:31:27 +02:00
testdata Replace IP allocation logic (#342) 2022-05-29 22:43:39 +02:00
ui Add routing support to management service (#424) 2022-08-18 18:22:15 +02:00
Dockerfile Add PATH to client Dockerfile (#389) 2022-07-12 15:35:51 +02:00
installer.nsis Update MacOS and Windows installers (#325) 2022-05-25 19:41:03 +02:00
main.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
manifest.xml Renaming project builds and including new Icons (#318) 2022-05-21 18:42:56 +02:00
resources.rc Renaming project builds and including new Icons (#318) 2022-05-21 18:42:56 +02:00
wireguard_nt.sh Refactor Interface package and update windows driver (#192) 2022-01-17 14:01:58 +01:00