You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/interfaces
Anton Tolchanov d499afac78 net/interfaces: improve default route detection
Instead of treating any interface with a non-ifscope route as a
potential default gateway, now verify that a given route is
actually a default route (0.0.0.0/0 or ::/0).

Fixes #5879

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2 years ago
..
interfaces.go all: fix spelling mistakes 2 years ago
interfaces_bsd.go net/interfaces: improve default route detection 2 years ago
interfaces_darwin.go net/interfaces: deduplicate route table parsing on Darwin and FreeBSD 2 years ago
interfaces_darwin_test.go net/interfaces: improve default route detection 2 years ago
interfaces_default_route_test.go all: gofmt with Go 1.17 3 years ago
interfaces_defaultrouteif_todo.go net/interfaces: add FreeBSD default route lookup (portmapping, etc) 3 years ago
interfaces_freebsd.go net/interfaces: deduplicate route table parsing on Darwin and FreeBSD 2 years ago
interfaces_linux.go syncs, all: move to using Go's new atomic types instead of ours 2 years ago
interfaces_linux_test.go refactor: move from io/ioutil to io and os packages 2 years ago
interfaces_test.go all: convert more code to use net/netip directly 2 years ago
interfaces_windows.go go.mod: bump wireguard/windows, which moves to using net/netip 2 years ago
interfaces_windows_test.go net/interfaces: quiet PAC detection logging in no-PAC case, add benchmark 4 years ago