tailscale / tailscale/tailscale
Didn't work with mihomo/clash's tun mode
- Dominant language
- Go
- Stars
- 36.5k
- Forks
- 3.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 132
Description
### What is the issue?
Tailscale derp would connect fail after [mihomo](https://github.com/MetaCubeX/mihomo)'s tun mode turn on.
I found some problem after debugged tailscale and mihomo source.
1. after mihomo's tun turn on, all tcp handshake to derp node will success, in derp/derphttp/derphttp_client.go#dialNode
2. but some node will tls handshake fail, in derp/derphttp/derphttp_client.go#connect tlsConn.Handshake()
The derp node i tls handshake failed is 172.237.28.183:443 (derp7h.tailscale.com)
May be, we need try next derp node if tls handshake fail
### Steps to reproduce
_No response_
### Are there any recent changes that introduced the issue?
_No response_
### OS
Windows
### OS version
26200.7462
### Tailscale version
1.92.5
### Other software
_No response_
### Bug report
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.