You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/derp/derphttp
Thomas Kosiewski b2ae8fdf80
derp/derphttp: strip port numbers from URL hostname
When trying to set up multiple derper instances meshing with each
other, it turned out that while one can specify an alternative
listening port using the -a flag, the TLS hostname gets incorrectly
determined and includes the set alternative listening port as part of
the hostname. Thus, the TLS hostname validation always fails when the
-mesh-with values have ports.

Updates #9949

Signed-off-by: Thomas Kosiewski <thomas.kosiewski@loft.sh>
1 year ago
..
derphttp_client.go derp/derphttp: strip port numbers from URL hostname 1 year ago
derphttp_server.go all: update copyright and license headers 2 years ago
derphttp_test.go all: use Go 1.20's bytes.Clone 2 years ago
mesh_client.go derp: include src IPs in mesh watch messages 1 year ago
websocket.go net/wsconn: accept a remote addr string and plumb it through 1 year ago