Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Android ID as XUDP basekey #2660

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Use Android ID as XUDP basekey #2660

merged 1 commit into from
Dec 4, 2023

Conversation

yuhan6665
Copy link
Contributor

Since Xray 1.8.1, XUDP pass basekey as the global ID. It can maintain the same UDP port on the proxy server outbound. To enable maximum UDP connectivity, client should pass the device unique ID in the environment variable.
2dust/AndroidLibXrayLite#28
XTLS/Xray-core#2781
@2dust when you have time, please see what you can do for Windows

Since Xray 1.8.1, XUDP pass basekey as the global ID. It can maintain the same UDP port on the proxy server outbound.
To enable maximum UDP connectivity, client should pass the device unique ID in the environment variable.
@2dust 2dust merged commit 5af3225 into 2dust:master Dec 4, 2023
@yuhan6665
Copy link
Contributor Author

提一嘴 在 windows 效果更好 对于UDP流量 甚至本地切换节点 (比如同一个服务端不同inbound)都可以保持连接
安卓上tun重启会重置源端口 不切换节点 切换网络时 可以保持连接

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants