Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Traffic graph not shown for local ips

    Scheduled Pinned Locked Moved General pfSense Questions
    45 Posts 5 Posters 6.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Hmm, and the process you start is passing enough traffic that client should be top of the list?

      J 1 Reply Last reply Reply Quote 0
      • J
        jrey @stephenw10
        last edited by

        @stephenw10
        You tell me

        is this enough traffic to make IP address show on the list ? and again they do show momentarily until the refresh is done then the list clears

        this is rate (I can't really tell you what the traffic is per IP because the list doesn't stay visible long enough. The list is mostly in a blank state except during an actual refresh, when the IPs appear briefly and immediately disappear) - point is, there is no value in "flashing" IPs in this list and not leaving them visible long enough from someone to read. if there are 5+ IPs on the list, (and this is common here), by the time you look and scan the list, to find the one you are looking for, the list is gone. So blank most of the time even thought the traffic is still flowing. Based on where I think you are going with "start something continuous" ) the list is empty. If the expectation is that, that IP should remain listed based on traffic level or duration, IMHO it does not. (aka packet capture on a specific IP confirms there is consistent traffic, and yet the list shows empty.)
        additionally I've got an iPhone downloading the 17.1 iOS update as I type (the IP that phone is on is doing about 255M/sec and the list refreshed several times and clears - is blank) the download lasted about maybe about 10 seconds in total. The IP only showed on the list right at the start of the download, the list was empty for perhaps 8-9 of those seconds) ie "mostly empty" the IP did not remain listed for the duration of the download, even though other devices clearly appeared and left the list during the same timeframe.

        this is most likely why the list is "flashing" and empty most of the time.
        both not following long traffic for duration and;
        short bursts traffic (< refresh interval) just come and go.

        Screen Shot 2023-10-25 at 1.04.57 PM.png

        whereas this is iftop - there are always IPs listed (list is never blank) and they bounce around based on the sort order and what they are doing with each refresh. (the iPhone remained top of the list during the download)

        Screen Shot 2023-10-25 at 1.05.21 PM.png

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          And that's with the patch applied? For the one refresh it did appear did it show the correct bandwidth, 250Mbps?

          J 2 Replies Last reply Reply Quote 0
          • J
            jrey @stephenw10
            last edited by

            @stephenw10

            yes it did show the 250Mbps initially, but it also shows traffic with much lower rate initially as well. I don't think it has as much to do with rate as it does with duration of traffic

            I believe the original discussion was regarding 2.7 and a mention of 23.05.1

            so no patch applied prior, I'm on the Beta 23.09.b.20231023.1701
            and wanted to report/confirm the observation there as well,
            while waiting for the pending RC.

            applied the patch, navigated back to the page and
            Screen Shot 2023-10-25 at 4.03.10 PM.png

            not really seeing a difference for the amount of traffic on the graph. During that segment of graph shown from page load, 2 IPs have briefly appeared on the list, but certainly not remaining there while there is clearly traffic

            logged out back in - no change
            close browser - reload - login - no change

            cached server side perhaps ? only thing I can think of is restart the web GUI or reboot the system. (or wait for the RC which will do both of those and test it again.)

            But then I noticed that although it says applied (and I have the option to revert) it wasn't a 100% clean apply

            Debug shows
            Screen Shot 2023-10-25 at 4.27.38 PM.png

            Thanks

            1 Reply Last reply Reply Quote 0
            • J
              jrey @stephenw10
              last edited by

              @stephenw10

              revert (yup is reverted but with this)

              Screen Shot 2023-10-25 at 4.30.27 PM.png

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Huh, that in itself seems like a bug. Although that output looks like what you should see if you try to debug applying it when it's already applied?

                There are two things the patch does:

                1. Before the patch setting the filter to remote still showed all the local IP addresses. It should filter correctly with the patch.
                2. Before patching the local filter excluded traffic that was just within the local subnet so that included traffic from clients to the firewall itself. Those now show.

                If the connections do not show in the output from rate at all for some reason then the patch won't help.

                Steve

                J 1 Reply Last reply Reply Quote 0
                • J
                  jrey @stephenw10
                  last edited by

                  @stephenw10

                  Not sure what to tell you - this is the only patch applied (once) and since reverted (once) - and there are no other patches on the beta.

                  I'll try again after the RC. It's no big deal I don't sit on these screens monitoring traffic. I was only poking because of the beta.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Strange. It reverts and applies cleanly everywhere I've tried it.
                    Let's revisit in RC.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jrey @stephenw10
                      last edited by

                      @stephenw10

                      Strange indeed. So I made it work on this system / beta 23.09.b.20231023.1701

                      Not sure why, as the original patch as provided indicated at least by the system the patch applied.

                      1. I downloaded * the original version of the inc file being patched to another machine
                      2. modified the patch provided removing the change at line 20 and the one at the end referencing line 208
                        This leaving only the two actual changes of significance in the diff - so the patch now contains only this before applying
                        Screen Shot 2023-10-26 at 7.57.51 AM.png

                      3 Applied that modified patch (still apply OK, ie Revert Button appears, apply says good)
                      4 revisit the graph, surprise the IPs hang around longer and the list does not appear mostly empty.
                      5 download * the now patched inc file to other machine
                      6 revert the patch, confirm the graph has no IPs

                      So the patch itself does work
                      Now for the two files I downloaded. (the one at step 1 the original and step 5 the patched)
                      run a diff on these and get
                      Screen Shot 2023-10-26 at 8.05.28 AM.png

                      remember I modified the original patch before applying
                      the difference in this new diff (the change reported at line 20 is back the same as the original, but the change regarding the end of file (line 208) is not.

                      So strange indeed..

                      When the RC comes out, I'll let it settle in a while and try this all again. starting with the original patch, and then following through with modifying it and trying again if needed.

                      J 1 Reply Last reply Reply Quote 1
                      • J
                        jrey @jrey
                        last edited by

                        @jrey
                        In installed the RC without any patch applied,

                        IP list on graph was again mostly empty
                        applied the patch (my modified one) as described above.

                        IP's are listing fine again..

                        I'll go back after a bit of lunch and try the original patch, see if that is any different or works. (because that is/was likely something else) as the actual real lines needed to make it go are the same.

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.