tailscale/cmd
Brad Fitzpatrick 84dc891843 cmd/tailscale/cli: add ping subcommand
For example:

$ tailscale ping -h
USAGE
  ping <hostname-or-IP>

FLAGS
  -c 10                   max number of pings to send
  -stop-once-direct true  stop once a direct path is established
  -verbose false          verbose output

$ tailscale ping mon.ts.tailscale.com
pong from monitoring (100.88.178.64) via DERP(sfo) in 65ms
pong from monitoring (100.88.178.64) via DERP(sfo) in 252ms
pong from monitoring (100.88.178.64) via [2604:a880:2:d1::36:d001]:41641 in 33ms

Fixes #661

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-08-10 12:50:56 -07:00
..
cloner cmd/cloner, tailcfg: fix nil vs len 0 issues, add tests, use for Hostinfo 2020-07-27 14:11:41 -07:00
derper derp: add server version to /debug, expvars 2020-08-07 12:46:02 -07:00
microproxy tsweb: rename Handler to ReturnHandler 2020-04-05 13:16:36 -07:00
mkpkg cmd/mkpkg: support adding empty directories. 2020-05-04 17:57:13 -04:00
tailscale cmd/tailscale/cli: add ping subcommand 2020-08-10 12:50:56 -07:00
tailscaled cmd/tailscaled: ignore SIGPIPE. 2020-07-31 19:12:45 -07:00
tsshd wgengine/monitor: don't call LinkChange when interfaces look unchanged 2020-03-10 11:03:19 -07:00