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
..
2025-08-29 17:40:05 +02:00
2025-08-29 17:40:05 +02:00
2025-08-29 17:40:05 +02:00
2025-05-05 14:29:05 +02:00
2025-05-05 14:29:05 +02:00
2025-01-13 10:15:01 +01:00
2024-06-13 13:24:24 +02:00
2025-08-12 15:40:37 +02:00
2025-08-11 11:57:21 +02:00
2025-07-25 11:46:04 +02:00
2025-08-11 11:57:21 +02:00
2024-06-13 13:24:24 +02:00
2025-08-11 11:57:21 +02:00
2025-06-17 14:02:30 +02:00
2025-08-29 17:40:05 +02:00
2025-02-21 16:29:21 +01:00
2025-08-27 09:59:39 +02:00
2025-02-21 16:29:21 +01:00
2025-08-11 11:57:21 +02:00
2025-08-12 15:40:37 +02:00
2025-07-25 11:46:04 +02:00
2025-08-11 11:57:21 +02:00
2025-08-29 17:40:05 +02:00
2025-08-11 11:57:21 +02:00
2023-12-18 11:46:58 +01:00
2025-08-11 11:57:21 +02:00
2024-10-02 18:24:22 +02:00
2024-01-30 09:58:56 +01:00
2024-01-30 09:58:56 +01:00
2024-01-30 09:58:56 +01:00
2023-11-01 17:11:16 +01:00
2023-07-14 21:56:22 +02:00
2023-12-18 11:46:58 +01:00
2025-08-29 17:40:05 +02:00
2024-06-13 13:24:24 +02:00
2024-10-24 10:53:46 +02:00
2025-08-29 17:40:05 +02:00
2025-08-11 11:57:21 +02:00
2025-09-20 09:31:04 +02:00
2025-08-11 11:57:21 +02:00
2024-10-24 10:53:46 +02:00
2025-08-11 11:57:21 +02:00
2024-10-24 10:53:46 +02:00
2024-10-24 10:53:46 +02:00
2025-08-11 11:57:21 +02:00
2025-08-12 15:40:37 +02:00
2025-09-20 09:31:04 +02:00
2025-08-29 17:40:05 +02:00
2025-08-29 17:40:05 +02:00
2025-08-29 17:40:05 +02:00
2025-08-29 17:40:05 +02:00
2025-05-21 11:12:28 +02:00
2025-05-21 11:12:28 +02:00