![]() Fixes tailscale/tailscale#14563 When creating a NoiseClient, ensure that if any private IP address is provided, with both an `http` scheme and an explicit port number, we do not ever attempt to use HTTPS. We were only handling the case of `127.0.0.1` and `localhost`, but `192.168.x.y` is a private IP as well. This uses the `netip` package to check and adds some logging in case we ever need to troubleshoot this. Signed-off-by: Andrea Gottardo <andrea@gottardo.me> |
||
---|---|---|
.. | ||
auto.go | ||
client.go | ||
controlclient_test.go | ||
direct_test.go | ||
direct.go | ||
map_test.go | ||
map.go | ||
noise_test.go | ||
noise.go | ||
sign_supported_test.go | ||
sign_supported.go | ||
sign_unsupported.go | ||
sign.go | ||
status.go |