tailscale/cmd/tailscale/cli
Brad Fitzpatrick 1bd14a072c cmd/tailscale, ipn/localapi: move IP forwarding check to tailscaled, API
Instead of having the CLI check whether IP forwarding is enabled, ask
tailscaled. It has a better idea. If it's netstack, for instance, the
sysctl values don't matter. And it's possible that only the daemon has
permission to know.

Fixes #1626

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-03-31 12:09:16 -07:00
..
cli.go client/tailscale, cmd/tailscale/cli: plumb --socket through 2021-03-30 10:09:14 -07:00
debug.go ipn/{ipnlocal,localapi}, client/tailscale: add file get/delete APIs 2021-03-30 12:56:51 -07:00
down.go cmd/tailscale, ipn/localapi: use localapi for status, not IPN acrobatics 2021-03-18 19:51:02 -07:00
ip.go cmd/tailscale: add "tailscale ip [-4] [-6]" command 2021-03-24 09:54:32 -07:00
netcheck.go net/portmapper: add NAT-PMP client, move port mapping service probing 2021-02-23 09:07:38 -08:00
ping.go cmd/tailscale/cli: factor out tailscaleIPFromArg from ping command 2021-03-29 21:29:27 -07:00
push.go cmd/tailscale/cli: factor out filename selection 2021-03-29 22:19:42 -07:00
status.go cmd/tailscale/cli: use double hypens, make default usage func more clear 2021-03-19 13:11:55 -07:00
up.go cmd/tailscale, ipn/localapi: move IP forwarding check to tailscaled, API 2021-03-31 12:09:16 -07:00
version.go cmd/tailscale, ipn/localapi: get daemon version from localapi status 2021-03-18 21:14:10 -07:00
web.css cmd/tailscale/cli: split out web.css file 2021-03-31 10:48:05 -07:00
web.go cmd/tailscale/cli: split out web.css file 2021-03-31 10:48:05 -07:00
web.html cmd/tailscale/cli: split out web.css file 2021-03-31 10:48:05 -07:00