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

关于流量限制 #233

Open
wilinz opened this issue May 14, 2022 · 1 comment
Open

关于流量限制 #233

wilinz opened this issue May 14, 2022 · 1 comment
Assignees

Comments

@wilinz
Copy link

wilinz commented May 14, 2022

如果认证心跳设置为60秒,网速又非常快的话,客户端使用的流量可能会超过服务器的配额。因为服务端60秒后才收到auth心跳,才能禁止客户端联网,可能客户端已经用了300MB流量,而服务器本来的配额是50MB,但是服务器只有收到auth心跳才知道客户端用了300MB。
能否在第一次认证的时候服务器返回流量配额,以及网速限制,当wifidog监视到客户端使用的流量超过配额时立即将客户端断网,并且调用服务端message接口

@liudf0716
Copy link
Owner

一直想把流控的功能加上去,但没时间
最近在做xfrpc tcp mux的支持工作,忙完后考虑一下这个功能

@liudf0716 liudf0716 self-assigned this May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants