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

[Feature Request]客户端支持udp目的端口范围的跳跃 #642

Open
egg1234 opened this issue Jan 2, 2025 · 2 comments
Open

[Feature Request]客户端支持udp目的端口范围的跳跃 #642

egg1234 opened this issue Jan 2, 2025 · 2 comments

Comments

@egg1234
Copy link

egg1234 commented Jan 2, 2025

下面的服务器端命令方式是gost 3.x已经支持的
gost3 -L=udp://:50000-50050/127.0.0.1:51000 -L=kcp://:51000

新的客户端命令举例,达到支持udp目的端口范围的跳跃
gost3 -L=udp://:8000/mydomain.com:50000-50050/?目的端口跳跃时间间隔=x秒

gost3 -L=:1080 -F=kcp://127.0.0.1:8000

理论上如果实现了这个功能,那么其他udp类型的应用都可以串接到gost3使用这个功能透明地实现udp目的端口范围的跳跃

@ginuerzh
Copy link
Member

ginuerzh commented Jan 3, 2025

端口跳跃的关键是要实现会话迁移,这需要新的协议和流程。

@egg1234
Copy link
Author

egg1234 commented Jan 3, 2025

能否参考并移植hysteria对应的端口跳跃部分的源代码呢?因为都是golang语言的源代码

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

No branches or pull requests

2 participants