diff options
| author | Andrew Dunham <andrew@tailscale.com> | 2022-09-06 16:04:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-06 16:04:10 -0400 |
| commit | 9240f5c1e20bac3ecf945a58a447f53157f68e14 (patch) | |
| tree | 66dd20055767c88153f3bf9b162d5f5cbfef6f8a /control/controlknobs/controlknobs.go | |
| parent | 2f702b150ee2d2a4684de4db1c5c340264db622a (diff) | |
| download | tailscale-9240f5c1e20bac3ecf945a58a447f53157f68e14.tar.xz tailscale-9240f5c1e20bac3ecf945a58a447f53157f68e14.zip | |
wgengine/netstack: only accept connection after dialing (#5503)
If we accept a forwarded TCP connection before dialing, we can
erroneously signal to a client that we support IPv6 (or IPv4) without
that actually being possible. Instead, we only complete the client's TCP
handshake after we've dialed the outbound connection; if that fails, we
respond with a RST.
Updates #5425 (maybe fixes!)
Signed-off-by: Andrew Dunham <andrew@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
