Project

General

Profile

Actions

Bug #10429

open

Status Traffic Total broken 2.4.5

Added by Manuel Piovan over 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Jared Dillard
Category:
Status Traffic Totals
Target version:
-
Start date:
04/04/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.4.5
Affected Plus Version:
Affected Architecture:

Description

it's broken on 2.4.5
Hourly and Daily tab show data in the future
top 10 show ... some strange geometric figure


Files

Immagine.jpg (103 KB) Immagine.jpg Manuel Piovan, 04/04/2020 01:21 PM
Immagine2.jpg (108 KB) Immagine2.jpg Manuel Piovan, 04/04/2020 01:21 PM
Pfsense Bug #10429.diff (993 Bytes) Pfsense Bug #10429.diff Chris R, 10/22/2020 04:21 AM
4BF1E759-2E9F-47D5-9EB2-AA4DE8ECAC9A_1_105_c.jpeg (92.7 KB) 4BF1E759-2E9F-47D5-9EB2-AA4DE8ECAC9A_1_105_c.jpeg Danilo Zrenjanin, 12/25/2020 09:07 AM
Actions #2

Updated by Jim Pingle over 4 years ago

I can't replicate anything like this. It's been working solid here, and the data is sane.

The only thing I did notice is that it looks like, no matter which option is chosen, the Hourly tab acts as though it is doing a cumulative summary. That could also explain why it appears you see data from the "future" -- it's summarizing hours from previous days together.

Actions #3

Updated by Vinoth Kumar R about 4 years ago

Manuel Piovan wrote:

https://forum.netgate.com/topic/151914/traffic-totals-hourly-report-problem/

pfSense version: 2.4.5-RELEASE-p1
package version: 2.3.1

I'm also facing the same issue mentioned in the thread above.

Actions #4

Updated by Chris R about 4 years ago

Attached is a patch that can be applied with the system patches plugin that incorporates the fixes needed to fix the hourly reporting and the 10 day graph.
All credit to what to change goes to pwnell for the fix to the hourly chart and YannTKO for fixing the top 10.
All I have done is aggregate them together in a way that can be used by others and hopefully by Netgate as well to fix the underlying issue.

To apply with the system patches plugin, set path strip count to 0 and base directory to "/" and leave ignore whitespace checked.

Actions #5

Updated by Jared Dillard about 4 years ago

  • Status changed from New to Feedback

The diff was applied in this commit and should be testable once the packages rebuild for package version 2.3.2: https://github.com/pfsense/FreeBSD-ports/commit/dcb4949cc70f78006d05c662aa81c5849f93d4c0

Actions #6

Updated by Jared Dillard about 4 years ago

  • Target version set to 2.5.0
Actions #7

Updated by Danilo Zrenjanin almost 4 years ago

Tested on the latest release.

Traffic Totals version - 2.3.2_1

Its functionality is fixed. There are minor complaints, though.

- Rx Value is shown in Bytes
- You need to move the mouse pointer out of the actual Bar to see the values.

I'll leave the ticket open.

Actions #8

Updated by Jim Pingle almost 4 years ago

  • Status changed from Feedback to New
Actions #9

Updated by Scott Long almost 4 years ago

  • Target version deleted (2.5.0)
Actions #10

Updated by Andres Mora almost 4 years ago

Patch works for me

2.4.5-RELEASE-p1 (amd64)
built on Tue Jun 02 17:51:17 EDT 2020
FreeBSD 11.3-STABLE

Status_Traffic_Totals net 2.3.1_1

Actions #11

Updated by Andres Mora over 3 years ago

hello guys.
has this been fixed in 4.5?

Actions #12

Updated by Chris R over 3 years ago

The patch provided by me above with the instructions works to fix it on 2.4.5, or, you can also update to 2.5.0 which has the patch included.

Actions

Also available in: Atom PDF