Juan Font Alonso
b41d89946a
Merge branch 'embedded-derp' of https://github.com/juanfont/headscale into embedded-derp
2022-03-08 12:11:59 +01:00
Juan Font Alonso
cc0c88a63a
Added small integration test for stun
2022-03-08 12:11:51 +01:00
e-zk
c06689dec1
fix: make register html/template consistent with other html
...
- makes the html/template for /register follow the same formatting
as /apple and /windows
- adds a <title> element
- minor change for consistency's sake
2022-03-08 18:34:46 +10:00
Kristoffer Dalby
b85dd7abbd
Merge pull request #484 from juanfont/prtemplate-fix
...
Fix checkboxes in PR template
2022-03-08 07:29:30 +00:00
Kristoffer Dalby
6aeaff43aa
Fix checkboxes in PR template
2022-03-08 07:21:04 +00:00
Kristoffer Dalby
dd26cbd193
Merge branch 'main' into embedded-derp
2022-03-08 07:18:51 +00:00
Kristoffer Dalby
b0ae3240fd
Merge pull request #387 from restanrm/fix-magic-dns-and-uppercase-letters
...
Fix magic dns and uppercase letters
2022-03-08 07:17:45 +00:00
Adrien Raffin-Caboisse
41efe98953
fix: apply fmt and fix missing name changes
2022-03-07 23:20:30 +01:00
Adrien Raffin-Caboisse
2b68c90778
chore: update changelog
2022-03-07 23:14:39 +01:00
Adrien Raffin-Caboisse
f19c048569
fix: change normalization function name
2022-03-07 22:55:54 +01:00
Adrien Raffin-Caboisse
6cc8bbc24f
feat(api): add normalisation at machine register step
2022-03-07 22:46:29 +01:00
Juan Font Alonso
03452a8dca
Prettied
2022-03-07 00:29:40 +01:00
Juan Font Alonso
15ed71315c
Merge branch 'embedded-derp' of https://github.com/juanfont/headscale into embedded-derp
2022-03-06 23:47:31 +01:00
Juan Font Alonso
05df8e947a
Added missing file
2022-03-06 23:47:14 +01:00
Juan Font Alonso
b3fa66dbd2
Check for DERP in test
2022-03-06 23:46:16 +01:00
Juan Font Alonso
a27b386123
Clarified expiration dates
2022-03-06 23:45:01 +01:00
Juan Font Alonso
580db9b58f
Mention that STUN is UDP
2022-03-06 23:19:21 +01:00
Adrien Raffin-Caboisse
1114449601
change: update name of method to check and normalize Domain name
2022-03-06 20:46:17 +01:00
Juan Font
b47de07eea
Update Dockerfile.tailscale
...
Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no>
2022-03-06 20:42:27 +01:00
Juan Font
e1fcf0da26
Added more version
...
Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no>
2022-03-06 20:40:55 +01:00
Juan Font
dcf3ea567c
Merge branch 'main' into fix-magic-dns-and-uppercase-letters
2022-03-06 17:37:48 +01:00
Juan Font Alonso
de2ea83b3b
Linting here and there
2022-03-06 17:35:54 +01:00
Juan Font Alonso
eb06054a7b
Make DERP Region configurable
2022-03-06 17:25:21 +01:00
Juan Font Alonso
eb500155e8
Make STUN server configurable
2022-03-06 17:00:56 +01:00
Juan Font Alonso
dc909ba6d7
Improved logging on startup
2022-03-06 16:54:19 +01:00
Juan Font Alonso
70910c4595
Working /bootstrap-dns DERP helper
2022-03-06 01:23:35 +01:00
Juan Font Alonso
54c3e00a1f
Merge local DERP server region with other configured DERP sources
2022-03-05 20:04:31 +01:00
Juan Font Alonso
e78c002f5a
Fix minor issue
2022-03-05 19:48:30 +01:00
Juan Font Alonso
237f7f1027
Merge branch 'main' into embedded-derp
2022-03-05 19:42:29 +01:00
Juan Font Alonso
992efbd84a
Added missing private TLS key
2022-03-05 19:35:15 +01:00
Juan Font Alonso
e9eb90fa76
Added integration tests for the embedded DERP server
2022-03-05 19:34:06 +01:00
Juan Font Alonso
88378c22fb
Rename the file to derp_server.go for coherence
2022-03-05 19:31:50 +01:00
Juan Font Alonso
b742379627
Do not use the term embedded
2022-03-05 19:30:30 +01:00
Juan Font Alonso
df37d1a639
Do not offer the option to be DERP insecure
...
Websockets, in which DERP is based, requires a TLS certificate. At the same time,
if we use a certificate it must be valid... otherwise Tailscale wont connect (does not
have an Insecure option). So there is no option to expose insecure here
2022-03-05 19:19:21 +01:00
Juan Font Alonso
758b1ba1cb
Renamed configuration items of the DERP server
2022-03-05 16:22:02 +01:00
Kristoffer Dalby
435ee36d78
Merge pull request #394 from juanfont/renovateaction/dockerfiles
2022-03-05 00:41:22 +00:00
Renovate Bot
35efd8f95a
chore(deps): update dependency docker.io/golang to v1.17.8
2022-03-05 00:09:36 +00:00
Juan Font Alonso
09d78c7a05
Even more stuff moved to common
2022-03-04 13:54:59 +01:00
Kristoffer Dalby
60655c5242
Merge pull request #393 from juanfont/update-contributors
2022-03-04 12:30:20 +00:00
Juan Font Alonso
22d2443281
Move more stuff to common
2022-03-04 13:26:45 +01:00
github-actions[bot]
a70669fca7
docs(README): update contributors
2022-03-04 11:04:12 +00:00
Kristoffer Dalby
0720473033
Merge pull request #392 from e-zk/windows-endpoint
2022-03-04 11:03:33 +00:00
Kristoffer Dalby
e799307e74
Merge branch 'main' into windows-endpoint
2022-03-04 10:47:52 +00:00
e-zk
575f33d183
docs: fix comments to comply with golangci-lint
2022-03-04 20:35:09 +10:00
Juan Font Alonso
607c1eb316
Be consistent with uppercase DERP
2022-03-04 11:31:41 +01:00
e-zk
d69dada8ff
feat(windows): rename apple_mobileconfig.go => platform_config.go
...
rename apple_mobileconfig.go to platform_config.go since the file
includes configuration info for multiple platforms now.
2022-03-04 20:03:49 +10:00
e-zk
f9e0c13890
docs: update CHANGELOG
2022-03-04 19:53:57 +10:00
e-zk
12a50ac8ac
feat(windows): add /windows endpoint for Windows configuration
...
- registry file /windows/tailscale.reg is generated, filling in the
associated control server URL
- also includes CLI instructions
- fix /apple incorrect template: 'Url' is supposed to be '.URL'
2022-03-04 19:53:44 +10:00
e-zk
b342cf0240
feat(windows): cleanup /apple endpoint
...
- rename the gin function to AppleConfigMessage
- use <pre> + <code> for code blocks
- add headscale heading
- reword some sections
2022-03-04 19:53:29 +10:00
Kristoffer Dalby
e3ff87b7ef
Merge pull request #389 from e-zk/main
2022-03-04 07:26:35 +00:00