mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-26 19:46:27 -08:00
By default the controlhttp dialer tries the plaintext port 80 upgrade path first with a port 443 TLS fallback, so it's not deterministic which of the two server code paths a debugging session exercises. Add a --force-port flag to pin the noise connection to one or the other: 443 uses the dialer's existing TS_FORCE_NOISE_443 knob, and both values are also enforced at the dial layer so the other port can't be used by a silent fallback. Updates tailscale/corp#29053 Change-Id: I5641db9bd2083d458ba7e0e766c7f9da535ba3e0 Signed-off-by: Brad Fitzpatrick <[email protected]>