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
Brad Fitzpatrick d413850bd7 cmd/tailscale: add "debug via" subcommand to do CIDR math for via ranges
$ tailscale debug via 0xb 10.2.0.0/16
fd7a:115c:a1e0:b1a:0🅱️a02:0/112
$ tailscale debug via fd7a:115c:a1e0:b1a:0🅱️a02:0/112
site 11 (0xb), 10.2.0.0/16

Previously: 3ae701f0eb

This adds a little debug tool to do CIDR math to make converting between
those ranges easier for now.

Updates #3616

Change-Id: I98302e95d17765bfaced3ecbb71cbd43e84bff46
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
dns net/dns: schedule DoH upgrade explicitly, fix Resolver.Addr confusion 3 years ago
dnscache net/dns/resolver: make DoH dialer use existing dnscache happy eyeball dialer 3 years ago
dnsfallback net/dnsfallback: update from 'go generate' 3 years ago
flowtrack all: use any instead of interface{} 3 years ago
interfaces net/interfaces: add FreeBSD default route lookup (portmapping, etc) 3 years ago
netcheck derp/derphttp,net/netcheck: improve netcheck behavior under MITM proxies 3 years ago
neterror net/{neterror,dns/resolver}: move PacketWasTruncated to neterror from DNS code 3 years ago
netknob all: disable TCP keep-alives on iOS/Android 3 years ago
netns net/netns: remove a useless probe of the "ip" command 3 years ago
netstat all: gofmt with Go 1.17 3 years ago
nettest net/nettest: deflake TestPipeTimeout 3 years ago
netutil net/netutil: add CheckIPForwardingLinux (#4301) 3 years ago
packet net/packet, wgengine/netstack: remove workaround for old gvisor ECN bug 3 years ago
portmapper all: use any instead of interface{} 3 years ago
proxymux net/proxymux: add a listener mux that can run SOCKS and HTTP on a single socket. 3 years ago
socks5 all: use any instead of interface{} 3 years ago
speedtest all: fix spelling mistakes 3 years ago
stun all: gofmt with Go 1.17 3 years ago
tlsdial envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 3 years ago
tsaddr cmd/tailscale: add "debug via" subcommand to do CIDR math for via ranges 3 years ago
tsdial cmd/tailscale: write fewer known_hosts, resolve ssh host to FQDN early 3 years ago
tshttpproxy net/tshttpproxy: ensure we pass the correct flags to WinHttpOpen on Win7 and Win8.0 3 years ago
tstun wgengine: inject packetbuffers rather than bytes (#4220) 3 years ago