netbird/client/internal/peer
Zoltan Papp 9021bb512b
[client] Recreate agent when receive new session id (#4564)
When an ICE agent connection was in progress, new offers were being ignored. This was incorrect logic because the remote agent could be restarted at any time.
In this change, whenever a new session ID is received, the ongoing handshake is closed and a new one is started.
2025-10-08 17:14:24 +02:00
..
conntype [client] Feature/lazy connection (#3379) 2025-05-21 11:12:28 +02:00
dispatcher [client] Feature/lazy connection (#3379) 2025-05-21 11:12:28 +02:00
guard [client] Recreate agent when receive new session id (#4564) 2025-10-08 17:14:24 +02:00
ice [client] Update Pion ICE to the latest version (#4388) 2025-09-01 10:42:01 +02:00
id [client] Feature/lazy connection (#3379) 2025-05-21 11:12:28 +02:00
worker [client] Feature/lazy connection (#3379) 2025-05-21 11:12:28 +02:00
conn_status_test.go [client] Feature/lazy connection (#3379) 2025-05-21 11:12:28 +02:00
conn_status.go [client] Feature/lazy connection (#3379) 2025-05-21 11:12:28 +02:00
conn_test.go [client] Recreate agent when receive new session id (#4564) 2025-10-08 17:14:24 +02:00
conn.go [client] Recreate agent when receive new session id (#4564) 2025-10-08 17:14:24 +02:00
endpoint.go [client] Fix/pkg loss (#3338) 2025-09-30 15:31:18 +02:00
env.go [client] Implement environment variable handling for Android (#4440) 2025-09-08 18:42:42 +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_listener_test.go [client] Recreate agent when receive new session id (#4564) 2025-10-08 17:14:24 +02:00
handshaker_listener.go [client] Recreate agent when receive new session id (#4564) 2025-10-08 17:14:24 +02:00
handshaker.go [client] Recreate agent when receive new session id (#4564) 2025-10-08 17:14:24 +02:00
iface.go [client] Remove endpoint address on peer disconnect, retain status for activity recording (#4228) 2025-10-08 03:12:16 +02:00
listener.go Add OnDisconnecting service callback (#767) 2023-03-29 10:39:54 +02:00
nilcheck.go [client] Nil check on ICE remote conn (#2806) 2024-10-31 23:18:35 +01:00
notifier_test.go Update calculate server state (#796) 2023-04-10 18:22:25 +02:00
notifier.go [client, android] Fix/notifier threading (#3807) 2025-05-27 17:12:04 +02:00
route.go [client] Set up firewall rules for dns routes dynamically based on dns response (#3702) 2025-04-24 17:37:28 +02:00
session_id.go [client] Fix/ice handshake (#4281) 2025-08-18 20:09:50 +02:00
signaler.go [client] Update Pion ICE to the latest version (#4388) 2025-09-01 10:42:01 +02:00
state_dump.go [client] add profiling dumps to debug package (#3517) 2025-03-23 13:46:09 +01:00
status_test.go [client] Refactor peer state change subscription mechanism (#3910) 2025-06-03 09:20:33 +02:00
status.go [client] Eliminate upstream server strings in dns code (#4267) 2025-08-11 11:57:21 +02:00
wg_watcher_test.go [client] Feature/lazy connection (#3379) 2025-05-21 11:12:28 +02:00
wg_watcher.go [client] Debug information for connection (#4439) 2025-09-08 14:51:34 +02:00
worker_ice.go [client] Recreate agent when receive new session id (#4564) 2025-10-08 17:14:24 +02:00
worker_relay.go [misc] Move shared components to shared directory (#4286) 2025-08-05 15:22:58 +02:00