headscale/hscontrol/policy
Kristoffer Dalby d810597414
policy/matcher: fix bug using contains instead of overlap (#2556)
* policy/matcher: slices.ContainsFunc

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

* policy/matcher: slices.ContainsFunc, correct contains vs overlap

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

* policy: add tests to validate fix for 2181

Fixes #2181

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

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-05-02 22:08:56 +02:00
..
matcher policy/matcher: fix bug using contains instead of overlap (#2556) 2025-05-02 22:08:56 +02:00
v1 Make matchers part of the Policy interface (#2514) 2025-05-01 07:06:30 +02:00
v2 policy/v2: validate autogroup:interet only in dst (#2552) 2025-05-02 13:58:12 +03:00
pm.go Make matchers part of the Policy interface (#2514) 2025-05-01 07:06:30 +02:00
policy.go Make matchers part of the Policy interface (#2514) 2025-05-01 07:06:30 +02:00
policy_test.go policy/matcher: fix bug using contains instead of overlap (#2556) 2025-05-02 22:08:56 +02:00