1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-06-05 01:20:21 +02:00
juanfont.headscale/hscontrol/types
Kristoffer Dalby 45e38cb080
policy: reduce routes sent to peers based on packetfilter (#2561)
* notifier: use convenience funcs

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

* policy: reduce routes based on policy

Fixes #2365

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

* hsic: more helper methods

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

* policy: more test cases

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

* integration: add route with filter acl integration test

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

* integration: correct route reduce test, now failing

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

* mapper: compare peer routes against node

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

* hs: more output to debug strings

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

* types/node: slice.ContainsFunc

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

* policy: more reduce route test

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

* changelog: add entry for route filter

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

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-05-04 21:52:47 +02:00
..
testdata Restore support for "Override local DNS" (#2438) 2025-04-17 17:16:59 +02:00
api_key.go Split code into modules 2023-05-26 12:24:50 +02:00
common.go fix double login URL with OIDC (#2445) 2025-02-25 18:16:07 +01:00
config_test.go config: disallow same server url and base_domain (#2544) 2025-04-23 16:24:38 +02:00
config.go config: disallow same server url and base_domain (#2544) 2025-04-23 16:24:38 +02:00
const.go improve testing of route failover logic 2024-04-15 12:31:53 +02:00
node_test.go Make matchers part of the Policy interface (#2514) 2025-05-01 07:06:30 +02:00
node.go policy: reduce routes sent to peers based on packetfilter (#2561) 2025-05-04 21:52:47 +02:00
policy.go feat: implements apis for managing headscale policy (#1792) 2024-07-18 07:38:25 +02:00
preauth_key.go types/authkey: include user object in response (#2542) 2025-04-30 11:45:08 +02:00
routes.go Redo route code (#2422) 2025-02-26 16:22:55 +01:00
users_test.go add casbin user test (#2474) 2025-04-23 13:21:51 +02:00
users.go oidc: try to get username from userinfo (#2545) 2025-04-30 11:54:13 +02:00
version.go add git hash to binary, print on startup (#2415) 2025-02-07 13:49:34 +01:00