headscale/hscontrol/types/testdata
Motiejus Jakštys c4ac626298 config: loosen up BaseDomain and ServerURL checks
Requirements [here][1]:

> OK:
> server_url: headscale.com, base: clients.headscale.com
> server_url: headscale.com, base: headscale.net
>
> Not OK:
> server_url: server.headscale.com, base: headscale.com
>
> Essentially we have to prevent the possibility where the headscale
> server has a URL which can also be assigned to a node.
>
> So for the Not OK scenario:
>
> if the server is: server.headscale.com, and a node joins with the name
> server, it will be assigned server.headscale.com and that will break
> the connection for nodes which will now try to connect to that node
> instead of the headscale server.

Fixes #2210

[1]: https://github.com/juanfont/headscale/issues/2210#issuecomment-2488165187
2024-11-21 06:38:02 +02:00
..
base-domain-in-server-url.yaml config: loosen up BaseDomain and ServerURL checks 2024-11-21 06:38:02 +02:00
base-domain-not-in-server-url.yaml Redo DNS configuration (#2034) 2024-08-19 11:41:05 +02:00
dns_full.yaml Redo DNS configuration (#2034) 2024-08-19 11:41:05 +02:00
dns_full_no_magic.yaml Redo DNS configuration (#2034) 2024-08-19 11:41:05 +02:00
minimal.yaml Redo DNS configuration (#2034) 2024-08-19 11:41:05 +02:00
policy-path-is-loaded.yaml make acl_policy_path fatal if policy.path is not set (#2041) 2024-08-19 13:03:01 +02:00