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 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>
4 years ago
..
cloner cmd/cloner, tailcfg: fix nil vs len 0 issues, add tests, use for Hostinfo 4 years ago
derper derp: add server version to /debug, expvars 4 years ago
microproxy tsweb: rename Handler to ReturnHandler 5 years ago
mkpkg cmd/mkpkg: support adding empty directories. 4 years ago
tailscale cmd/tailscale/cli: add ping subcommand 4 years ago
tailscaled cmd/tailscaled: ignore SIGPIPE. 4 years ago
tsshd wgengine/monitor: don't call LinkChange when interfaces look unchanged 5 years ago