1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00
juanfont.headscale/hscontrol
enoperm 1e61084898
Add compatibility with only websocket-capable clients (#2132)
* handle control protocol through websocket

The necessary behaviour is already in place,
but the wasm build only issued GETs, and the handler was not invoked.

* get DERP-over-websocket working for wasm clients

* Prepare for testing builtin websocket-over-DERP

Still needs some way to assert that clients are connected through websockets,
rather than the TCP hijacking version of DERP.

* integration tests: properly differentiate between DERP transports

* do not touch unrelated code

* linter fixes

* integration testing: unexport common implementation of derp server scenario

* fixup! integration testing: unexport common implementation of derp server scenario

* dockertestutil/logs: remove unhelpful comment

* update changelog

---------

Co-authored-by: Csaba Sarkadi <sarkadicsa@tutanota.de>
2024-09-21 12:05:36 +02:00
..
assets update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
db move logic for validating node names (#2127) 2024-09-11 18:27:49 +02:00
derp Add compatibility with only websocket-capable clients (#2132) 2024-09-21 12:05:36 +02:00
mapper chore: fix some comments (#2069) 2024-09-09 14:17:25 +02:00
notifier Fix slow shutdown (#2113) 2024-09-09 14:10:22 +02:00
policy reformat code (#2019) 2024-07-22 08:56:00 +02:00
templates Update documentation for Apple (#2117) 2024-09-11 18:43:59 +02:00
types Add compatibility with only websocket-capable clients (#2132) 2024-09-21 12:05:36 +02:00
util Add compatibility with only websocket-capable clients (#2132) 2024-09-21 12:05:36 +02:00
app.go Add compatibility with only websocket-capable clients (#2132) 2024-09-21 12:05:36 +02:00
auth_noise.go metrics, tuning in tests, db cleanups, fix concurrency issue (#1895) 2024-04-21 18:28:17 +02:00
auth.go move logic for validating node names (#2127) 2024-09-11 18:27:49 +02:00
grpcv1_test.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
grpcv1.go move logic for validating node names (#2127) 2024-09-11 18:27:49 +02:00
handlers.go Make registration screen easier to use (#1975) 2024-06-15 09:40:49 +02:00
metrics.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
noise.go Redo DNS configuration (#2034) 2024-08-19 11:41:05 +02:00
oidc.go Fix self notification on expiry update via oidc relogin (#2080) 2024-08-30 08:20:29 +02:00
platform_config.go Simplify windows setup instructions (#2114) 2024-09-09 13:18:16 +02:00
poll.go make stream shutdown if self-node has been removed (#2125) 2024-09-11 12:00:32 +02:00
suite_test.go new IP allocator and add postgres to integration tests. (#1756) 2024-02-18 19:31:29 +01:00
tailsql.go Use result of fmt.Errorf call (#1668) 2024-02-15 11:02:54 +01:00