tailscale/wgengine
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
..
filter wgengine/filter: omit logging for all v6 multicast, remove debug panic :( 2020-08-01 12:40:32 -07:00
magicsock cmd/tailscale/cli: add ping subcommand 2020-08-10 12:50:56 -07:00
monitor wgengine/monitor: log RTM_DELROUTE details, fix format strings 2020-08-05 20:44:05 -07:00
packet wgengine/filter: fix IPv4 IGMP spam omission, also omit ff02::16 spam 2020-07-30 11:00:20 -07:00
router wgengine/router: set MTU on Windows to min(configured,possible) 2020-08-07 12:16:12 -07:00
tsdns tsdns: implement reverse DNS lookups, canonicalize names everywhere. (#640) 2020-08-06 14:25:28 -04:00
tstun wgengine: configure wireguard peers lazily, as needed 2020-07-24 12:50:15 -07:00
winnet Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
rusage_nowindows.go wgengine: flesh out some docs 2020-02-12 13:37:45 -08:00
rusage_windows.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
rusage.go Move "logger" package to under types, now that we have it. 2020-02-14 20:23:05 -08:00
userspace_test.go wgengine,magicsock: fix two lazy wireguard config issues 2020-08-06 15:02:29 -07:00
userspace.go cmd/tailscale/cli: add ping subcommand 2020-08-10 12:50:56 -07:00
watchdog_test.go wgengine: prevent log after exit in watchdog test 2020-07-03 10:52:39 -07:00
watchdog.go cmd/tailscale/cli: add ping subcommand 2020-08-10 12:50:56 -07:00
wgengine.go cmd/tailscale/cli: add ping subcommand 2020-08-10 12:50:56 -07:00