netbird/client/internal/peer
Zoltan Papp 0e95f16cdd
[relay,client] Relay/fix/wg roaming (#2691)
If a peer connection switches from Relayed to ICE P2P, the Relayed proxy still consumes the data the other peer sends. Because the proxy is operating, the WireGuard switches back to the Relayed proxy automatically, thanks to the roaming feature.

Extend the Proxy implementation with pause/resume functions. Before switching to the p2p connection, pause the WireGuard proxy operation to prevent unnecessary package sources.
Consider waiting some milliseconds after the pause to be sure the WireGuard engine already processed all UDP msg in from the pipe.
2024-10-11 16:24:30 +02:00
..
conn_monitor.go [client] Limit P2P attempts and restart on specific events (#2657) 2024-10-08 11:21:11 +02:00
conn_status_test.go Use the conn state of peer on proper way (#717) 2023-03-03 19:49:18 +01:00
conn_status.go [client] Fix race condition while read/write conn status in peer conn (#2607) 2024-09-17 11:15:14 +02:00
conn_test.go [client] Refactor/iface pkg (#2646) 2024-10-02 18:24:22 +02:00
conn.go [relay,client] Relay/fix/wg roaming (#2691) 2024-10-11 16:24:30 +02:00
env_config.go Eval/higher timeouts (#1776) 2024-03-31 19:39:52 +02:00
error_test.go Test conn (#199) 2022-01-21 13:52:19 +01:00
error.go Test conn (#199) 2022-01-21 13:52:19 +01:00
handshaker.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
listener.go Add OnDisconnecting service callback (#767) 2023-03-29 10:39:54 +02:00
notifier_test.go Update calculate server state (#796) 2023-04-10 18:22:25 +02:00
notifier.go Fix/always on boot (#1062) 2023-08-11 11:51:39 +02:00
signaler.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
status_test.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
status.go [client] Refactor/iface pkg (#2646) 2024-10-02 18:24:22 +02:00
stdnet_android.go [client] Limit P2P attempts and restart on specific events (#2657) 2024-10-08 11:21:11 +02:00
stdnet.go [client] Limit P2P attempts and restart on specific events (#2657) 2024-10-08 11:21:11 +02:00
worker_ice.go [client] Limit P2P attempts and restart on specific events (#2657) 2024-10-08 11:21:11 +02:00
worker_relay.go [client] Adjust relay worker log level and message (#2683) 2024-10-02 15:14:09 +02:00