Commit Graph

2665 Commits

Author SHA1 Message Date
Juan Font Alonso f42868f67f Docker requires lowercase for the container names 2022-03-20 12:30:56 +01:00
Juan Font Alonso a6455653c0 Added missing package 2022-03-20 12:30:08 +01:00
Kristoffer Dalby c8aa653275
Merge branch 'main' into main 2022-03-19 09:36:36 +00:00
Kristoffer Dalby 91e5cbd793 Add direnv flake support 2022-03-19 09:23:03 +00:00
Kristoffer Dalby 79fc74c7a4
Merge branch 'main' into acls-doc 2022-03-18 22:43:17 +00:00
Kristoffer Dalby c8503075e0
Merge pull request #514 from aofei/main 2022-03-18 21:18:22 +00:00
Kristoffer Dalby 4068a7b00b
Merge branch 'main' into main 2022-03-18 21:02:05 +00:00
Kristoffer Dalby daae2fe549
Merge pull request #512 from restanrm/feat-add-debug-log 2022-03-18 21:01:16 +00:00
Kristoffer Dalby 47bbb85a20
Merge branch 'main' into acls-doc 2022-03-18 20:44:44 +00:00
Kristoffer Dalby 739653fa71
Merge branch 'main' into feat-add-debug-log 2022-03-18 20:44:21 +00:00
Kristoffer Dalby 304109a6c5
Merge pull request #511 from restanrm/fix-machine-registration-expired 2022-03-18 20:44:05 +00:00
Kristoffer Dalby c29af96a19
Merge branch 'main' into main 2022-03-18 20:42:44 +00:00
Kristoffer Dalby d21e9d29d1
Merge branch 'main' into feat-add-debug-log 2022-03-18 19:41:32 +00:00
Kristoffer Dalby b65bd5baa8
Merge branch 'main' into fix-machine-registration-expired 2022-03-18 19:41:26 +00:00
Juan Font Alonso 0165b89941 Fixed paths 2022-03-18 19:35:09 +01:00
Kristoffer Dalby 53b62f3f39
Merge pull request #499 from juanfont/mandatory-stun 2022-03-18 18:28:37 +00:00
Kristoffer Dalby cd2914ab3b
Merge branch 'main' into mandatory-stun 2022-03-18 17:44:12 +00:00
Kristoffer Dalby e85b97143c
Merge pull request #509 from kradalby/go118 2022-03-18 17:43:41 +00:00
Aofei Sheng 1eafe960b8 fix: possible panic in `Headscale.scheduledDERPMapUpdateWorker`
There is a possible nil pointer dereference panic in the
`Headscale.scheduledDERPMapUpdateWorker`. Such as when the embedded
DERP server is disabled.
2022-03-19 01:20:25 +08:00
Juan Font Alonso 749c92954c Add Tailscale unstable channel and repo HEAD to integration tests
In preparation for the implementation of the new TS2021 protocol (Tailscale control protocol v2) we are expanding the test infrastructure
2022-03-18 17:05:28 +01:00
Juan Font Alonso db9ba17920 Added missing file 2022-03-18 13:10:35 +01:00
Juan Font Alonso d5ce7d7523 Prettier 2022-03-18 13:09:57 +01:00
Juan Font Alonso 2e6687209b Make STUN server mandatory if DERP embedded is enabled 2022-03-18 12:58:00 +01:00
Adrien Raffin-Caboisse 2e04abf4bb
feat(oidc): add debug log 2022-03-18 09:40:12 +01:00
Adrien Raffin-Caboisse 882c0c34c1
chore(changelog): update changelog 2022-03-18 09:34:18 +01:00
Adrien Raffin-Caboisse 61ebb713f2
fix(oidc): Reset expiry for reauthentication
The previous code resetted the expiry time to be expired.  So the machine was never reauthenticated
2022-03-18 09:32:07 +01:00
Kristoffer Dalby ac5ad42474 Fix integration nix 2022-03-18 08:24:21 +00:00
Nico Rey d68d7d5a6f Docs/ACLs: Add a network diagram to help explain ACLs 2022-03-17 19:58:56 -03:00
Nico Rey bff9036f14 Docs/ACLs: Add router examples with subnets 2022-03-17 19:58:34 -03:00
Nico Rey 8b08c2a918 Docs/ACLs: Namespaces are created automatically 2022-03-17 19:24:39 -03:00
Nico Rey b9f0fabb5c Docs/ACLs: Wording, add intermediary router example 2022-03-17 19:23:37 -03:00
Kristoffer Dalby 9d4822b8c7 Actually set up nix 2022-03-17 18:20:01 +00:00
Kristoffer Dalby 466d03d574 Nixify integration test 2022-03-17 18:18:51 +00:00
Kristoffer Dalby d43fec7f96
Merge branch 'main' into flake-build-env 2022-03-17 18:11:21 +00:00
Kristoffer Dalby 62f4c205f5 Run binary build with nix 2022-03-17 18:11:04 +00:00
Kristoffer Dalby 003c19004d Run tests with nix 2022-03-17 18:10:50 +00:00
Kristoffer Dalby 70274d528c Add nix to runn on lint and integration 2022-03-17 18:08:49 +00:00
Kristoffer Dalby 6d41279781 Upgrade to go 1.18 2022-03-17 18:07:26 +00:00
Kristoffer Dalby b781446e86 Upgrade to go 1.18 2022-03-17 17:43:11 +00:00
Kristoffer Dalby 1c9b1c0579
Merge pull request #507 from juanfont/update-contributors 2022-03-17 07:28:42 +00:00
github-actions[bot] ade9552736
docs(README): update contributors 2022-03-17 06:38:00 +00:00
Kristoffer Dalby 68403cb76e
Merge pull request #505 from y0ngb1n/fix-docs-metrics-endpoint 2022-03-17 06:37:27 +00:00
Yang Bin 537ecb8db0
docs: fixed `/metrics` endpoint `8080 → 9090`, reference `config-example.yaml` 2022-03-17 09:25:42 +08:00
Juan Font Alonso 8f5875efe4 Reorg errors 2022-03-16 19:46:59 +01:00
Juan Font 98ac88d5ef
Changed comment position
Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no>
2022-03-16 18:45:34 +01:00
Kristoffer Dalby d13338a9fb
Merge branch 'main' into mandatory-stun 2022-03-16 07:18:18 +00:00
Juan Font 1579ffb66a
Merge pull request #500 from bravechamp/patch-1
Fix API access
2022-03-15 14:53:23 +01:00
bravechamp 0bfa5302a7
Fix API access
By allowing API keys to be validated
2022-03-15 16:05:56 +03:00
Juan Font Alonso b8aad5451d Make STUN run by default when embedded DERP is enabled
This commit also allows to set an external STUN server, while running the embedded DERP server (without embedded STUN)
2022-03-15 13:22:25 +01:00
bravechamp 60ee04674d Normalize nickname before saving to database 2022-03-13 21:55:36 +00:00