Bug #2822
closedDirection wrong in traffic graph (lan)
100%
Description
On my LAN graph I see outgoing traffic (downloads) graphed ok (out), but listed under Bandwidth IN
2.0.2-RELEASE (i386)
FreeBSD 8.1-RELEASE-p13
Alix 2d3
Files
Updated by Renato Botelho almost 12 years ago
- Affected Version set to All
- Affected Architecture All added
- Affected Architecture deleted (
)
After investigation, i figured out the root cause of this issue. For LAN interface:
- pfSense_get_interface_stats() is used for plot the graph and it considers the traffic as OUT.
- /usr/local/bin/rate is used to build the table with Host IP information, and it considers the traffic as IN.
Updated by Ermal Luçi over 11 years ago
- Status changed from New to Feedback
Patch pushed test with new snapshots.
Updated by Ermal Luçi over 11 years ago
- % Done changed from 0 to 100
Applied in changeset pfsense-tools:commit:d09e8fddd50e95f731f7cef8d1db92ba1b4f2398.
Updated by Phillip Davis over 11 years ago
Forum thread http://forum.pfsense.org/index.php/topic,59714.0.html
Now the bandwidth by IP display shows separate entries for the source and destination IPs with each IP showing its In and Out figures. (i.e. every byte count appears in 2 entries - 1 for the local IP, and 1 for the remote IP - e.g. when downloading and displaying for LAN, In from the remote internet site IP is high, and out to the local LAN IP is high. That is good/correct!)
It would be good to have an option to display only the "local" IPs or only the "remote" IPs.
Updated by Chris Buechler over 11 years ago
- Status changed from Feedback to Resolved
After Phil's last submission everything here looks good. thanks!