netbird/client/ui
Zoltan Papp daa8380df9
[client] Feature/lazy connection (#3379)
With the lazy connection feature, the peer will connect to target peers on-demand. The trigger can be any IP traffic.

This feature can be enabled with the NB_ENABLE_EXPERIMENTAL_LAZY_CONN environment variable.

When the engine receives a network map, it binds a free UDP port for every remote peer, and the system configures WireGuard endpoints for these ports. When traffic appears on a UDP socket, the system removes this listener and starts the peer connection procedure immediately.

Key changes
Fix slow netbird status -d command
Move from engine.go file to conn_mgr.go the peer connection related code
Refactor the iface interface usage and moved interface file next to the engine code
Add new command line flag and UI option to enable feature
The peer.Conn struct is reusable after it has been closed.
Change connection states
Connection states
Idle: The peer is not attempting to establish a connection. This typically means it's in a lazy state or the remote peer is expired.

Connecting: The peer is actively trying to establish a connection. This occurs when the peer has entered an active state and is continuously attempting to reach the remote peer.

Connected: A successful peer-to-peer connection has been established and communication is active.
2025-05-21 11:12:28 +02:00
..
assets [client] UI Refactor Icon Paths (#3420) 2025-03-04 18:29:29 +03:00
build [client] UI Refactor Icon Paths (#3420) 2025-03-04 18:29:29 +03:00
desktop [client] fix privacy warning on macOS (#3350) 2025-02-22 12:41:24 +01:00
event [client] fix privacy warning on macOS (#3350) 2025-02-22 12:41:24 +01:00
process [client] UI Refactor Icon Paths (#3420) 2025-03-04 18:29:29 +03:00
client_ui.go [client] Feature/lazy connection (#3379) 2025-05-21 11:12:28 +02:00
const.go [client] Feature/lazy connection (#3379) 2025-05-21 11:12:28 +02:00
debug.go [client] Add debug for duration option to netbird ui (#3772) 2025-05-01 23:25:27 +02:00
font_bsd.go [client] Allow freebsd to build netbird-ui (#3212) 2025-01-20 11:02:09 +01:00
font_darwin.go [client] Allow freebsd to build netbird-ui (#3212) 2025-01-20 11:02:09 +01:00
font_linux.go Get client ui locale on windows natively (#2251) 2024-07-12 08:25:33 +02:00
font_windows.go [client] Fix Advanced Setting unable to open on Windows 11 with Chinese Locale Setting. (#3483) 2025-03-16 17:51:42 +01:00
icons_windows.go [client] UI Refactor Icon Paths (#3420) 2025-03-04 18:29:29 +03:00
icons.go [client] UI Refactor Icon Paths (#3420) 2025-03-04 18:29:29 +03:00
manifest.xml Renaming project builds and including new Icons (#318) 2022-05-21 18:42:56 +02:00
netbird-ui.rb.tmpl Fix decompress zip path (#2755) 2024-10-17 20:39:59 +02:00
Netbird.icns Renaming project builds and including new Icons (#318) 2022-05-21 18:42:56 +02:00
network.go [client] Add debug for duration option to netbird ui (#3772) 2025-05-01 23:25:27 +02:00