headscale/hscontrol/util
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
..
addr_test.go use cmp.Diff instead of reflect.DeepEqual 2023-07-01 21:55:47 +02:00
addr.go use tsaddr library and cleanups (#2150) 2024-10-02 09:06:09 +02:00
const.go Split code into modules 2023-05-26 12:24:50 +02:00
dns_test.go Migrate IP fields in database to dedicated columns (#1869) 2024-04-17 07:03:06 +02:00
dns.go Migrate IP fields in database to dedicated columns (#1869) 2024-04-17 07:03:06 +02:00
file.go improve errors for missing directories (#1765) 2024-02-17 13:36:19 +01:00
key.go use tsaddr library and cleanups (#2150) 2024-10-02 09:06:09 +02:00
log.go Integrate GORM Logger with Zerolog and Add Configuration Options for Logging and Performance (#2040) 2024-08-19 11:47:52 +02:00
net.go use tsaddr library and cleanups (#2150) 2024-10-02 09:06:09 +02:00
string_test.go create DB struct 2023-05-26 12:24:50 +02:00
string.go remove custom contains funcs for slices.Contains (#2015) 2024-07-19 09:04:04 +02:00
test.go fix route table migration wiping routes 0.22 -> 0.23 (#2076) 2024-08-27 18:54:28 +02:00
util_test.go Get integration test netmap from watch-ipn command (#1729) 2024-02-18 23:22:18 +01:00
util.go Get integration test netmap from watch-ipn command (#1729) 2024-02-18 23:22:18 +01:00