netbird/client/internal/stdnet
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
..
dialer.go Support client default routes for Linux (#1667) 2024-03-21 16:49:28 +01:00
discover_mobile_test.go Ignore ipv6 labeled address (#809) 2023-04-14 15:40:27 +02:00
discover_mobile.go Update pion v3 (#1398) 2023-12-20 23:02:42 +01:00
discover_pion.go Update pion v3 (#1398) 2023-12-20 23:02:42 +01:00
discover.go Update pion v3 (#1398) 2023-12-20 23:02:42 +01:00
filter.go Routemgr error handling (#1073) 2023-08-12 11:42:36 +02:00
listener.go Support client default routes for Linux (#1667) 2024-03-21 16:49:28 +01:00
stdnet.go Update pion v3 (#1398) 2023-12-20 23:02:42 +01:00