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
Andrew Dunham 2d3ae485e3 net/interfaces: add better test for LikelyHomeRouterIP
Return a mock set of interfaces and a mock gateway during this test and
verify that LikelyHomeRouterIP returns the outcome we expect. Also
verify that we return an error if there are no IPv4 addresses available.

Follow-up to #7447

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I8f06989e7f1f0bebd108861cbff17b820ed2e6e4
1 year ago
..
connstats net/connstats: fix ticker in NewStatistics (#7225) 1 year ago
dns sockstats: instrument networking code paths 1 year ago
dnscache tstest: add method to Replace values for tests 1 year ago
dnsfallback util/slicesx: add package for generic slice functions, use 1 year ago
flowtrack all: update copyright and license headers 1 year ago
interfaces net/interfaces: add better test for LikelyHomeRouterIP 1 year ago
memnet net/memnet: rename from net/nettest 1 year ago
netaddr all: update copyright and license headers 1 year ago
netcheck tstest: add method to Replace values for tests 1 year ago
neterror all: update copyright and license headers 1 year ago
netknob all: update copyright and license headers 1 year ago
netns net/interfaces, net/netns: add node attributes to control default interface getting and binding 1 year ago
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 1 year ago
netutil net/netutil: only check Linux sysctls w/ procfs, assume absent means false 1 year ago
packet all: update copyright and license headers 1 year ago
ping all: update copyright and license headers 1 year ago
portmapper cmd/tailscale, cmd/tailscaled: move portmapper debugging into tailscale CLI 1 year ago
proxymux all: update copyright and license headers 1 year ago
routetable net/routetable: include unknown flags in the routetable doctor output 1 year ago
socks5 all: update copyright and license headers 1 year ago
sockstats net/sockstats: remove explicit dependency on wgengine/monitor 1 year ago
speedtest all: update copyright and license headers 1 year ago
stun all: use Go 1.20's bytes.Clone 1 year ago
tlsdial health, net/tlsdial: add healthcheck for self-signed cert 1 year ago
tsaddr all: update copyright and license headers 1 year ago
tsdial all: update copyright and license headers 1 year ago
tshttpproxy net/tshttpproxy: more directly use Transport proxy CONNECT hooks 1 year ago
tstun wgengine: start logging DISCO frames to pcap stream 1 year ago
wsconn all: update copyright and license headers 1 year ago