mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 17:46:58 -05:00
29f16cd054
- 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. |
||
---|---|---|
.. | ||
blackhole | ||
dns | ||
dokodemo | ||
freedom | ||
http | ||
mtproto | ||
shadowsocks | ||
socks | ||
trojan | ||
vless | ||
vmess | ||
proxy.go |