1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-11 05:30:57 -04:00
v2fly/proxy/socks
database64128 29f16cd054
🎳 Refine socks5 server UdpAssociate response behavior (#523)
- Previously, without specifying the server IP, the remote address in the response to a UdpAssoicate command is `127.0.0.1`, which might break UDP for non-localhost clients.
- This commit changes it so that, localhost clients get responses with the corresponding loopback IP, non-localhost clients get responses with the corresponding `net.AnyIP` or `net.AnyIPv6`.
- The new behavior is also consistent with many other implementations. So the compatibility is guaranteed. It also makes specifying server IP optional.
2020-12-16 16:39:14 +08:00
..
client.go 🧦 Fix socks client UDP outbound's wrong destination (#522) 2020-12-16 04:23:40 +08:00
config.go
config.pb.go Adjust Protocol Buffers (#109) 2020-08-24 12:10:26 +00:00
config.proto Adjust Protocol Buffers (#109) 2020-08-24 12:10:26 +00:00
errors.generated.go
protocol_test.go
protocol.go 🎳 Refine socks5 server UdpAssociate response behavior (#523) 2020-12-16 16:39:14 +08:00
server.go 🎳 Refine socks5 server UdpAssociate response behavior (#523) 2020-12-16 16:39:14 +08:00
socks.go Errorgen: support to run outside of GOPATH 2020-10-04 13:06:12 +08:00