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

当某个客户端的流量达到或超过限制带宽时,NPS和NPC之间的控制报文也会丢包,导致隧道中断。 #184

Open
sxfman opened this issue Jul 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sxfman
Copy link

sxfman commented Jul 4, 2024

运行过程中发现客户端总是不定期地自动与服务器断开连接,提示就是普通的检测超时:
2024/07/04 17:26:08 mux: read session unpack from connection err read tcp 10.0.8.4:8024->120.245.78.111:24254: use of closed network connection
2024/07/04 17:28:00 mux: ping time out, checktime 3 threshold 2
我使用的云服务器总上行带宽只有10Mbps,如果不针对客户端限速,断的频率会非常高。为了避免频繁断连,我给NPC客户端设置限速1MBps:
但当穿越访问客户端的流量持续跑满时,隧道就会断开。
怀疑没有将隧道和客户端连接控制的信令报文放到客户端限速外面,一起走了限速流程,造成带宽超标后信令报文丢失导致客户端和隧道断开。

@sxfman sxfman added the bug Something isn't working label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant