netbird/util
Viktor Liu 2475473227
Support client default routes for Linux (#1667)
All routes are now installed in a custom netbird routing table.
Management and wireguard traffic is now marked with a custom fwmark.
When the mark is present the traffic is routed via the main routing table, bypassing the VPN.
When the mark is absent the traffic is routed via the netbird routing table, if:
- there's no match in the main routing table
- it would match the default route in the routing table

IPv6 traffic is blocked when a default route IPv4 route is configured to avoid leakage.
2024-03-21 16:49:28 +01:00
..
grpc Support client default routes for Linux (#1667) 2024-03-21 16:49:28 +01:00
net Support client default routes for Linux (#1667) 2024-03-21 16:49:28 +01:00
common.go Disable SSH server by default on client side and add the flag --allow-server-ssh to enable it (#1508) 2024-02-20 11:13:27 +01:00
duration.go Turn credentials generation (#102) 2021-09-02 14:41:54 +02:00
file_test.go Allow to create config file next to binary (#701) 2023-02-28 17:01:38 +01:00
file.go Add direct write file to avoid moving docker mounted files (#1155) 2023-09-22 10:25:04 +02:00
log.go Add human-readbale log output (#681) 2023-02-27 12:20:07 +01:00
membership_unix.go NetBird SSH (#361) 2022-06-23 17:04:53 +02:00
membership_windows.go NetBird SSH (#361) 2022-06-23 17:04:53 +02:00
retry.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
util_suite_test.go feature: basic management service implementation (#44) 2021-07-17 14:38:59 +02:00