1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00
juanfont.headscale/hscontrol/db
Kristoffer Dalby 3964dec1c6
use tsaddr library and cleanups (#2150)
* resuse tsaddr code instead of handrolled

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

* ensure we dont give out internal tailscale IPs

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

* use prefix instead of string for routes

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

* remove old custom compare func

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

* trim unused util code

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

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-10-02 09:06:09 +02:00
..
testdata denormalise PreAuthKey tags (#2155) 2024-09-29 13:00:27 +02:00
api_key_test.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
api_key.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
db_test.go denormalise PreAuthKey tags (#2155) 2024-09-29 13:00:27 +02:00
db.go denormalise PreAuthKey tags (#2155) 2024-09-29 13:00:27 +02:00
ip_test.go use tsaddr library and cleanups (#2150) 2024-10-02 09:06:09 +02:00
ip.go use tsaddr library and cleanups (#2150) 2024-10-02 09:06:09 +02:00
node_test.go use tsaddr library and cleanups (#2150) 2024-10-02 09:06:09 +02:00
node.go use tsaddr library and cleanups (#2150) 2024-10-02 09:06:09 +02:00
policy.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
preauth_keys_test.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
preauth_keys.go denormalise PreAuthKey tags (#2155) 2024-09-29 13:00:27 +02:00
routes_test.go use tsaddr library and cleanups (#2150) 2024-10-02 09:06:09 +02:00
routes.go use tsaddr library and cleanups (#2150) 2024-10-02 09:06:09 +02:00
suite_test.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
users_test.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
users.go more log.Error -> fmt.Errorf cleanup 2024-04-15 12:31:53 +02:00