headscale/hscontrol/policy/v2
Kristoffer Dalby 107c2f2f70 policy, noise: implement SSH check action
Implement the SSH "check" action which requires additional
verification before allowing SSH access. The policy compiler generates
a HoldAndDelegate URL that the Tailscale client calls back to
headscale. The SSHActionHandler creates an auth session and waits for
approval via the generalised auth flow.

Sort check (HoldAndDelegate) rules before accept rules to match
Tailscale's first-match-wins evaluation order.

Updates #1850
2026-02-25 21:28:05 +01:00
..
filter.go policy, noise: implement SSH check action 2026-02-25 21:28:05 +01:00
filter_test.go policy, noise: implement SSH check action 2026-02-25 21:28:05 +01:00
policy.go policy, noise: implement SSH check action 2026-02-25 21:28:05 +01:00
policy_test.go all: upgrade to Go 1.26rc2 and modernize codebase 2026-02-08 12:35:23 +01:00
tailscale_compat_test.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
tailscale_routes_compat_test.go policy: autogroup:internet does not generate packet filters 2026-02-05 19:29:16 +01:00
types.go all: upgrade to Go 1.26rc2 and modernize codebase 2026-02-08 12:35:23 +01:00
types_test.go policy/v2: add policy unmarshal tests for bracketed IPv6 2026-02-20 21:49:21 +01:00
utils.go policy/v2: accept RFC 3986 bracketed IPv6 in ACL destinations 2026-02-20 21:49:21 +01:00
utils_test.go policy/v2: accept RFC 3986 bracketed IPv6 in ACL destinations 2026-02-20 21:49:21 +01:00