tailscale/tailcfg
Simon Law 2fbd30824b
tailcfg,net/routecheck: add NodeAttrClientSideReachabilityRouteCheck (#20169)
This patch adds a new `client-side-reachability-routecheck` node
attribute to allow admins to selectively enable background routecheck
probing on trial nodes. The current implementation is still
experimental.

It adds the routecheck.IsEnabled helper to check for the new
`client-side-reachability-routecheck` node attribute alongside the
existing `client-side-reachability` node attribute in this node’s self
capabilities. This allows administrators to turn on and off this
feature by editing the policy file.

It adds the `TS_DEBUG_FORCE_CLIENT_SIDE_REACHABILITY_ROUTECHECK`
environment variable which can be set to override the policy file.
When set to `true`, it forcibly enables this feature. And when set to
`false`, it forcibly disables it.

Updates #17366
Updates tailscale/corp#33033

Signed-off-by: Simon Law <sfllaw@tailscale.com>
2026-06-25 18:22:15 -07:00
..
c2ntypes.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
derpmap.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
proto_port_range_test.go cmd/vet: add subtestnames analyzer; fix all existing violations 2026-04-05 15:52:51 -07:00
proto_port_range.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
tailcfg_clone.go cmd/cloner: preserve nil-valued entries when cloning map (#19749) 2026-05-14 10:30:59 -04:00
tailcfg_test.go tailcfg: add ServiceActionType constants 2026-06-04 14:53:15 -07:00
tailcfg_view.go all: update more references to Tailnet/Network Lock 2026-05-15 16:23:50 +01:00
tailcfg.go tailcfg,net/routecheck: add NodeAttrClientSideReachabilityRouteCheck (#20169) 2026-06-25 18:22:15 -07:00
tka.go all: update a few more references to network/tailnet lock 2026-05-28 16:44:16 +01:00