netbird/client/firewall
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
..
iptables [client] Use native windows sock opts to avoid routing loops (#4314) 2025-09-20 09:31:04 +02:00
manager [misc] Move shared components to shared directory (#4286) 2025-08-05 15:22:58 +02:00
nftables [client] Use native windows sock opts to avoid routing loops (#4314) 2025-09-20 09:31:04 +02:00
test [client] Set up firewall rules for dns routes dynamically based on dns response (#3702) 2025-04-24 17:37:28 +02:00
uspfilter [client] Fix rule order for deny rules in peer ACLs (#4147) 2025-08-18 11:17:00 +02:00
create_linux.go [client,management] add netflow support to client and update management (#3414) 2025-03-20 17:05:48 +01:00
create.go [client,management] add netflow support to client and update management (#3414) 2025-03-20 17:05:48 +01:00
iface.go [client] Ignore candidates that are part of the the wireguard subnet (#3472) 2025-03-10 13:59:21 +01:00