Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG] 流量统计问题 #29

Closed
NJcoxx opened this issue Dec 18, 2024 · 2 comments
Closed

[BUG] 流量统计问题 #29

NJcoxx opened this issue Dec 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@NJcoxx
Copy link

NJcoxx commented Dec 18, 2024

BUG1:Socks5代理的流量不计入客户端流量(图1、图2);
图1(Socks5代理界面)显示跑了7.15MB流量:
QQ20241218-161516
图2(客户端界面)流量显示为0B:
Socks5CLIENT

BUG2:HTTP代理的流量只计入客户端流量,HTTP代理界面不显示流量(图3、图4);
图3(HTTP代理界面)流量显示为0B:
QQ20241218-161911
图4(客户端界面)显示跑了28.90MB流量:
HTTPCLIENT

Server (please complete the following information):

  • OS: Debian 6.8.12-4
  • ARCH: amd64
  • Tunnel: TCP HTTP\SOCKS5
  • Version: v0.26.32

Client (please complete the following information):

  • OS: Windows11 24H2
  • ARCH: amd64
  • Tunnel: TCP HTTP\SOCKS5
  • Version: v0.26.32
@NJcoxx NJcoxx added the bug Something isn't working label Dec 18, 2024
@djylb
Copy link
Owner

djylb commented Dec 18, 2024

好的,刚看了下第一个确实存在,不过第二个算不上bug,目前只设计了一个根据客户端汇总统计流量。
有空我修一下,后期可能会重写流量统计部分。

@djylb
Copy link
Owner

djylb commented Dec 18, 2024

临时修了,socks5流量直接计入客户端了,原始代码这块处理问题不小,回头我彻底重新写一下吧。#30

@djylb djylb closed this as completed Dec 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants