tailscale/feature/routecheck
Simon Law 2ee9eacb94
client/local,ipn/localapi: add /localapi/v0/routecheck endpoint (#19640)
In order to support a `tailscale routecheck` command, we introduce the
`/localapi/v0/routecheck` endpoint to the local API. This endpoint
returns the most recent report collected by the routecheck client.
If `force=true` is an argument in the query string, then this endpoint
will actively probe before returning the report.

Updates #17366
Updates tailscale/corp#33033

Signed-off-by: Simon Law <sfllaw@tailscale.com>
2026-06-01 11:06:14 -07:00
..
ipn.go client/local,ipn/localapi: add /localapi/v0/routecheck endpoint (#19640) 2026-06-01 11:06:14 -07:00
localapi.go client/local,ipn/localapi: add /localapi/v0/routecheck endpoint (#19640) 2026-06-01 11:06:14 -07:00
routecheck.go net/routecheck: introduce new package for checking peer reachability (#19639) 2026-06-01 10:33:08 -07:00