headscale/hscontrol/policy/v2
Kristoffer Dalby a52f1df180
policy: remove v1 code (#2600)
* policy: remove v1 code

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* db: update test with v1 removal

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* integration: start moving to v2 policy

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* policy: add ssh unmarshal tests

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* changelog: add entry

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* policy: remove v1 comment

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* integration: remove comment out case

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* cleanup skipv1

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* policy: remove v1 prefix workaround

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* policy: add all node ips if prefix/host is ts ip

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-05-20 13:57:26 +02:00
..
filter.go Make more granular SSH tests for both Policies (#2555) 2025-05-04 12:05:41 +00:00
filter_test.go error on undefined host in policy (#2490) 2025-05-01 14:30:52 +02:00
policy.go policy/v2: separate exit node and 0.0.0.0/0 routes (#2578) 2025-05-09 23:20:04 +02:00
policy_test.go Make matchers part of the Policy interface (#2514) 2025-05-01 07:06:30 +02:00
types.go policy: remove v1 code (#2600) 2025-05-20 13:57:26 +02:00
types_test.go policy: remove v1 code (#2600) 2025-05-20 13:57:26 +02:00
utils.go policy/v2: error on missing or zero port (#2606) 2025-05-16 17:30:47 +02:00
utils_test.go Experimental implementation of Policy v2 (#2214) 2025-03-10 16:20:29 +01:00