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

ocserv的协议优先级及强制DTLS #181

Open
omaidb opened this issue Nov 5, 2022 · 4 comments
Open

ocserv的协议优先级及强制DTLS #181

omaidb opened this issue Nov 5, 2022 · 4 comments

Comments

@omaidb
Copy link

omaidb commented Nov 5, 2022

ocserv中有个协议优先级功能,非常好.可以加上这个功能

设置协议定义的优先级(SO_PRIORITY)的数据包发送。从0到6,其中0是最低,6最高

net-priority = 6

TCP模式下速度非常慢.使用DTLS才会快,能否支持禁用TCP强制使用DTLS功能

@itviewer
Copy link
Contributor

itviewer commented Nov 8, 2022

服务端开启dtls后,思科客户端优先使用dtls,连不通才会使用tls

@omaidb
Copy link
Author

omaidb commented Nov 14, 2022

能否放弃tcp

@itviewer
Copy link
Contributor

能否放弃tcp

你不需要不代表没用,多数环境应该没有问题,少数环境傻逼网管可能会限制udp。只是openconnect协议目前不够优化,目前就算udp通道正常,协议仍然保留一条没用的tcp隧道,除非自己定义协议,不兼容openconnect和思科客户端,实现用udp时,不保留tcp通道,若udp不可用继续用tcp,才是最优方案。

@yzazzx2021
Copy link

移动:?听说你想要用UDP?其他两网:?听说你想跨省用UDP?

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

3 participants