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/ipn
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
..
ipnserver backoff: update to Go style, document a bit, make 30s explicit 4 years ago
ipnstate cmd/tailscale/cli: add ping subcommand 4 years ago
policy ipn, ipn/policy: filter portlist to a short list of "interesting" ports 5 years ago
backend.go cmd/tailscale/cli: add ping subcommand 4 years ago
doc.go Move Linux client & common packages into a public repo. 5 years ago
fake_test.go cmd/tailscale/cli: add ping subcommand 4 years ago
handle.go ipn: add Login backend command for sign-in with token 4 years ago
local.go cmd/tailscale/cli: add ping subcommand 4 years ago
message.go cmd/tailscale/cli: add ping subcommand 4 years ago
message_test.go ipn: add Login backend command for sign-in with token 4 years ago
prefs.go ipn: add OSVersion, DeviceModel fields to Prefs and propagate to Hostinfos 4 years ago
prefs_test.go ipn: add OSVersion, DeviceModel fields to Prefs and propagate to Hostinfos 4 years ago
store.go ipn: have NewFileStore try to create directories as needed 5 years ago
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 5 years ago