netbird/util
Viktor Liu 55126f990c
[client] Use native windows sock opts to avoid routing loops (#4314)
- Move `util/grpc` and `util/net` to `client` so `internal` packages can be accessed
 - Add methods to return the next best interface after the NetBird interface.
- Use `IP_UNICAST_IF` sock opt to force the outgoing interface for the NetBird `net.Dialer` and `net.ListenerConfig` to avoid routing loops. The interface is picked by the new route lookup method.
- Some refactoring to avoid import cycles
- Old behavior is available through `NB_USE_LEGACY_ROUTING=true` env var
2025-09-20 09:31:04 +02:00
..
embeddedroots [client] use embedded root CA if system certpool is empty (#3272) 2025-02-04 18:17:59 +03:00
semaphore-group [client] Add peer conn init limit (#3001) 2024-12-09 17:10:31 +01:00
common.go [management, client] Add API to change the network range (#4177) 2025-08-04 16:45:49 +02:00
duration.go [management, client] Add API to change the network range (#4177) 2025-08-04 16:45:49 +02:00
file_test.go [client] Improve state write timeout and abort work early on timeout (#2882) 2024-11-13 13:46:00 +01:00
file.go [client] Feat: Support Multiple Profiles (#3980) 2025-07-25 16:54:46 +03:00
log.go client: container: support CLI with entrypoint addition (#4126) 2025-07-25 11:44:30 +02:00
membership_unix.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
membership_windows.go NetBird SSH (#361) 2022-06-23 17:04:53 +02:00
permission_windows.go [client] Enforce permissions on Win (#2568) 2024-09-16 22:42:37 +02:00
permission.go [client] Enforce permissions on Win (#2568) 2024-09-16 22:42:37 +02:00
retry.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
runtime.go [management] Log UpdateAccountPeers caller (#4216) 2025-07-24 17:44:48 +02:00
syslog_nonwindows.go feat(client): send logs to syslog (#2259) 2024-07-16 10:19:58 +02:00
syslog_windows.go Refactor log util (#2276) 2024-07-16 11:50:35 +02:00
util_suite_test.go feature: basic management service implementation (#44) 2021-07-17 14:38:59 +02:00