- changed status to wontfix
error display of network speed while using shadowsocks
Issue #284
wontfix
When I'm using shadowsocks app(version 2.9.1) in NAT mode, the network speed always shows 4 to 5 times of the real speed. And I tried the same function of other network speed display app, it works well.
Comments (1)
-
- Log in to comment
I tested some 3rd party apps and they are not all showing the correct speed too. Those that show the correct value are reading data directly from the drivers of network devices.
Toolbox uses the default way of getting data and the resulting value includes ALL the traffic (incoming and outgoing) from ALL network interfaces over both TCP and UDP protocols.
Shadowsocks' NAT is creating additional routes and transmitting traffic locally, this must be why it is counted multiple times.
It's totally possible to fix this, but the code will be a lot more complicated (list all network devices, detect their types, gather data, summarize). NAT mode is also deprecated since Android 5.0, so I'd rather leave everything as it is :)