diff options
| author | VimT <me@vimt.me> | 2024-09-20 23:52:45 +0800 |
|---|---|---|
| committer | Brad Fitzpatrick <brad@danga.com> | 2024-11-01 15:47:52 -0700 |
| commit | b0626ff84c11f8ad5c680fdec214eb5981307f1c (patch) | |
| tree | 2a16e89f9af9a6efd4cebd54c43b4b2b00206bf5 /control/controlhttp/controlhttpserver | |
| parent | 634cc2ba4a03714173f23915e933f9eed918c137 (diff) | |
| download | tailscale-b0626ff84c11f8ad5c680fdec214eb5981307f1c.tar.xz tailscale-b0626ff84c11f8ad5c680fdec214eb5981307f1c.zip | |
net/socks5: fix UDP relay in userspace-networking mode
This commit addresses an issue with the SOCKS5 UDP relay functionality
when using the --tun=userspace-networking option. Previously, UDP packets
were not being correctly routed into the Tailscale network in this mode.
Key changes:
- Replace single UDP connection with a map of connections per target
- Use c.srv.dial for creating connections to ensure proper routing
Updates #7581
Change-Id: Iaaa66f9de6a3713218014cf3f498003a7cac9832
Signed-off-by: VimT <me@vimt.me>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions
