vortex-5 / ddwrt-bwmon

An Individual Bandwidth Monitor For DD-WRT
171 stars 37 forks source link

Inaccurate live bandwidth usage reporting when SFE is active. #55

Closed csirikak closed 6 years ago

csirikak commented 6 years ago

The bandwidth usage reporting is inaccurate when the Shortcut Forwarding Engine is enabled.

vortex-5 commented 6 years ago

Hmm... I don't have this feature (Shortcut Forwarding Engine) so I won't be able to fix this. Perhaps someone else in the community can diagnose / tell me what the difference is.

Temporarily setting this bug to won't fix since I don't have the capability of testing or reproducing this.

vortex-5 commented 6 years ago

There's a duplicate issue for other bandwidth monitors: https://www.dd-wrt.com/forum/viewtopic.php?t=310362

vortex-5 commented 6 years ago

So the basic reasoning from what I understand is that SFE bypassing net-filter which bypasses the firewal ip chains. This means traffic no longer flows through the ip tables changes which means DDWRT-BWMON can no longer track the data going across the wire since DDWRT-BWMON effectively installs a meter on the ipfilter chains and counts packets going across from it.

Now SFE according to the author is suppose to sync the state back to the netfilter chains but it's not happening right now as per your bug so this bug will have to be resolved by someone more experienced in this area.