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/cmd
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>
2 years ago
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 3 years ago
cloner all: use any instead of interface{} 2 years ago
derper cmd/derper: add --stun-port flag 2 years ago
derpprobe all: use any instead of interface{} 2 years ago
hello all: use strings.Cut even more 2 years ago
mkpkg cmd/mkpkg: use package flag (#4373) 2 years ago
nginx-auth cmd/nginx-auth: maintainer scripts and tailnet checking (#4460) 2 years ago
printdep cmd/printdep: add flag to print out Go toolchain tarball URL 2 years ago
proxy-to-grafana cmd/proxy-to-grafana: prevent premature termination 2 years ago
speedtest cmd: upgrade to ffcli v3 3 years ago
tailscale cmd/tailscale: add "debug via" subcommand to do CIDR math for via ranges 2 years ago
tailscaled ssh/tailssh: make the SSH server a singleton, register with LocalBackend 2 years ago
testcontrol all: use any instead of interface{} 2 years ago
tsshd tempfork: temporarily fork gliderlabs/ssh and x/crypto/ssh 2 years ago