OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • [SOLVED] Traffic Graph IP truncated
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Traffic Graph IP truncated  (Read 8491 times)

aks

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
[SOLVED] Traffic Graph IP truncated
« 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
« Last Edit: January 15, 2016, 12:40:44 pm by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13906
  • Karma: 1206
    • View Profile
Re: Traffic Graph IP truncated
« Reply #1 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13906
  • Karma: 1206
    • View Profile
Re: Traffic Graph IP truncated
« Reply #2 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
Logged

lucifercipher

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 9
    • View Profile
Re: Traffic Graph IP truncated
« Reply #3 on: November 02, 2015, 08:21:36 am »
Tested. Don't seem to appear as truncated. Perhaps its a browser thing??
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13906
  • Karma: 1206
    • View Profile
Re: Traffic Graph IP truncated
« Reply #4 on: November 03, 2015, 08:12:55 am »
Yeah, or zoom level or the like. Not sure, thanks for looking into this. :)
Logged

phoenix

  • Hero Member
  • *****
  • Posts: 508
  • Karma: 57
    • View Profile
Re: Traffic Graph IP truncated
« Reply #5 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. :)
Logged
Regards


Bill

phoenix

  • Hero Member
  • *****
  • Posts: 508
  • Karma: 57
    • View Profile
Re: Traffic Graph IP truncated
« Reply #6 on: November 03, 2015, 12:49:03 pm »
I forgot to add that a using new user profile does show the graphs correctly.
Logged
Regards


Bill

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13906
  • Karma: 1206
    • View Profile
Re: Traffic Graph IP truncated
« Reply #7 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.
Logged

aks

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
Re: [DOESNOTAPPLY] Traffic Graph IP truncated
« Reply #8 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13906
  • Karma: 1206
    • View Profile
Re: Traffic Graph IP truncated
« Reply #9 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
Logged

aks

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
Re: Traffic Graph IP truncated
« Reply #10 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
Logged

aks

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
Re: Traffic Graph IP truncated
« Reply #11 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13906
  • Karma: 1206
    • View Profile
Re: Traffic Graph IP truncated
« Reply #12 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
Logged

aks

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
Re: Traffic Graph IP truncated
« Reply #13 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13906
  • Karma: 1206
    • View Profile
Re: Traffic Graph IP truncated
« Reply #14 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • [SOLVED] Traffic Graph IP truncated
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2