1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 17:46:58 -05: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 optimize v2ctl size 2019-02-01 20:08:21 +01:00
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 simplify error creation 2018-09-30 18:39:53 +02:00
protocol_test.go fix broken test 2019-02-10 19:47:26 +01:00
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