[SOLVED] Traffic Graph IP truncated

Started by aks, September 28, 2015, 07:08:37 PM

Previous topic - Next topic
September 28, 2015, 07:08:37 PM Last Edit: January 15, 2016, 12:40:44 PM by franco
Hi,

I used the "Status: Traffic Graph" today to analyze network behavior and it looks like "Hostname or IP"  field truncates the last digit of an ip if all 4 bytes need three digits (running 15.7.14).

Cheers

aks

BTW: Very nice and promising project

Hi there,

The traffic graphs are ancient and need to be reworked/replaced. I have a similar ticket already, added your report to it. I don't have an ETA though.

https://github.com/opnsense/core/issues/404


Thanks,
Franco

We can't seem to reproduce this. Do you have a screenshot or has this been resolved?


Cheers,
Franco

Tested. Don't seem to appear as truncated. Perhaps its a browser thing??

Yeah, or zoom level or the like. Not sure, thanks for looking into this. :)

I think this is a problem with displaying the SVG graphs but I've never been able to find the cause, I also had the same problem in pfSense. I currently have openSUSE 42.1 (a clean install after using 13.2 but keeping my old Home directory) and I have the problem on that, strangely a clean install in a VM (of 13.2 and 42.1) displays the graphs correctly. I gave up with the graphs a while ago. :)
Regards


Bill

I forgot to add that a using new user profile does show the graphs correctly.
Regards


Bill

Alright, closing this for now. Hopefully the traffic graphs will have a viable replacement in a not too distant future.

Hi,

Sorry for not responding earlier. I thought I had notifications enabled on this forum/topic, but didn't receive any, so thought this topic was dead.

In my case IP's are still truncated, a screenshot is attached.

The browser I am using is Safari on a Mac, after reading the posts I also tried Chrome and used another user on the firewall, but no change.

Maybe it is worth noting, that I changed the interface to LAN ?!

aks

Hi aks,

Thanks for responding. Ad rewrote the code, it looks to me like a display issue of the frontend, the development version of 15.7.24 will let you confirm if it is fixed. It's coming out on Monday.

If not, it might be a bug in the "rate" tool used to dump the data, I shall try to use a different IP to double-check.


Cheers,
Franco

Hi Franco,

I am more a gui-user and not sure how to get the development version installed, but will update to 15.7.24 tomorrow evening and provide feedback.

Thanks for trying to fix.

Cheers

aks

Hi Franco,

I installed 15.7.24 and checked the traffic graphs again. No change. But I made an observation that may help.

There are two shorter IP-addresses in the network. When changing the display to Hostname or FQDN, the shorter ones get a proper reverse DNS resolution, but the longer ones don't. Also longer names are displayed completely, but the long ip-addresses aren't. It looks like the truncation happens somewhere in the data and not in the frontend.

Cheers,

Andreas

Hi Andreas,

Can you try this modified rate package for me? From the console, run:

# pkg add -f https://pkg.opnsense.org/snapshots/rate-0.9_1.txz

Afterwards, refresh the graph page and watch out for those long IPs. :)


Cheers,
Franco

Hi Franco,

Looks good, the long IPs are there now. And also the reverse lookup of long IPs works properly now.

Thanks You !

Cheers,

Andreas

Hi Andreas,

Okay, thanks for confirming. This fix will be part of 15.7.25 on Monday. Marking this solved. :D


Cheers,
Franco