OPNsense Forum

Archive => 15.7 Legacy Series => Topic started by: aks on September 28, 2015, 07:08:37 pm

Title: [SOLVED] Traffic Graph IP truncated
Post by: aks on September 28, 2015, 07:08:37 pm
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
Title: Re: Traffic Graph IP truncated
Post by: franco on September 30, 2015, 08:01:28 am
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
Title: Re: Traffic Graph IP truncated
Post by: franco on November 01, 2015, 03:47:15 pm
We can't seem to reproduce this. Do you have a screenshot or has this been resolved?


Cheers,
Franco
Title: Re: Traffic Graph IP truncated
Post by: lucifercipher on November 02, 2015, 08:21:36 am
Tested. Don't seem to appear as truncated. Perhaps its a browser thing??
Title: Re: Traffic Graph IP truncated
Post by: franco on November 03, 2015, 08:12:55 am
Yeah, or zoom level or the like. Not sure, thanks for looking into this. :)
Title: Re: Traffic Graph IP truncated
Post by: phoenix on November 03, 2015, 12:43:29 pm
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. :)
Title: Re: Traffic Graph IP truncated
Post by: phoenix on November 03, 2015, 12:49:03 pm
I forgot to add that a using new user profile does show the graphs correctly.
Title: Re: Traffic Graph IP truncated
Post by: franco on November 04, 2015, 07:56:01 am
Alright, closing this for now. Hopefully the traffic graphs will have a viable replacement in a not too distant future.
Title: Re: [DOESNOTAPPLY] Traffic Graph IP truncated
Post by: aks on January 09, 2016, 12:44:46 pm
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
Title: Re: Traffic Graph IP truncated
Post by: franco on January 10, 2016, 01:06:50 pm
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
Title: Re: Traffic Graph IP truncated
Post by: aks on January 10, 2016, 09:24:47 pm
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
Title: Re: Traffic Graph IP truncated
Post by: aks on January 11, 2016, 10:53:43 pm
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
Title: Re: Traffic Graph IP truncated
Post by: franco on January 15, 2016, 09:43:40 am
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
Title: Re: Traffic Graph IP truncated
Post by: aks on January 15, 2016, 12:31:33 pm
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
Title: Re: Traffic Graph IP truncated
Post by: franco on January 15, 2016, 12:40:33 pm
Hi Andreas,

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


Cheers,
Franco