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
Josh Bleecher Snyder 1ebbaaaebb net/interfaces: make syscall and netstat agree when multiple gateways are present
likelyHomeRouterIPDarwinSyscall iterates through the list of routes,
looking for a private gateway, returning the first one it finds.

likelyHomeRouterIPDarwinExec does the same thing,
except that it returns the last one it finds.

As a result, when there are multiple gateways,
TestLikelyHomeRouterIPSyscallExec fails.
(At least, I think that that is what is happening;
I am going inferring from observed behavior.)

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
4 years ago
..
dnscache net/dnscache, control/controlclient: use DNS cache when dialing control 4 years ago
interfaces net/interfaces: make syscall and netstat agree when multiple gateways are present 4 years ago
netcheck net/netcheck: remove unused DNSCache from netcheck 4 years ago
netns net/netns: remove use of unsafe on Windows 4 years ago
netstat net/netstat: remove a bit more unsafe 4 years ago
nettest scripts: add a license header checker. 5 years ago
packet wgengine/filter: don't filter GCP DNS. 4 years ago
stun net/stun: Fix STUN attribute padding (#710) 4 years ago
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 4 years ago
tsaddr tsaddr: add helpers for the Tailscale IPv6 range, and 4to6 conversion. 4 years ago
tshttpproxy net/tshttpproxy: aggressively rate-limit error logs in Transport.Proxy path 4 years ago