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

    Traffic graphs - am I reading this wrong in/out values.

    Scheduled Pinned Locked Moved General pfSense Questions
    32 Posts 6 Posters 2.6k 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.
    • dennypageD
      dennypage @jrey
      last edited by

      @jrey said in Traffic graphs - am I reading this wrong in/out values.:

      usr/local/pfSense/include/www/bandwidth_by_ip.inc

      Those changes appear to already be in 23.09.1.

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

        Yup that patch is in but only affects output when using rate not iftop. I think all the data above is from iftop?

        It could be that the in/out headers don't make much sense for iftop. I don't think anything has changed there since 23.09 though.

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

          @dennypage

          Indeed

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by stephenw10

              What are you testing that on? I only see that patch as revertable in 23.09.1.

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

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Hmm, I can't replicate that. On a 23.09.1 system creating that patch in the system patches package shows only 'Revert' as an available action. Which is what I'd expect.

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

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      So you see the same as me but you think the webgui should just show the patch as invalid rather than revertable?

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

                        This post is deleted!
                        stephenw10S 1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator @stephenw10
                          last edited by johnpoz

                          @stephenw10 said in Traffic graphs - am I reading this wrong in/out values.:

                          up that patch is in but only affects output when using rate not iftop

                          So still seeing if using RATE vs iftop.. Is there some patch that needs to be applied even when on 23.09.1 ?

                          I would of thought the patch would of been included?

                          rate.jpg

                          I thought the patch from before was to show the IPs, I don't recall it having anything to do with if the traffic was in or out of an interface.. In the above same thing my 9.10 box is sending like 4Mbps to the internet.. So to the lan interface that top line is correct, but the 2nd line is showing 4Mbps out of the lan..

                          I send quite of bit of data to the internet most of the time.. My friends and family are almost always watching something off my plex box. Is there a patch I can apply to show the bandwidth in/out correctly?

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                            @jrey said in Traffic graphs - am I reading this wrong in/out values.:

                            This likely need a new thread if we going to continue discussing the patch mechanism rather than the traffic values ;-)

                            Yes I agree. Open a feature request for it if you want. However that is the expected behaviour it's not a bug.

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

                              @johnpoz said in Traffic graphs - am I reading this wrong in/out values.:

                              Is there some patch that needs to be applied even when on 23.09.1 ?

                              No all the patches are in 23.09.1. Yes, it was to show the expected IPs and didn't change the in/out data.

                              It could be those column headings are just wrong and exist from some much earlier version. To/From might be better there.

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

                                @johnpoz

                                Apologies for the thread diversion re:patching

                                I'm curious about the screen captures you are posting.. when I am testing this I see something more like (likely just optics) because your other devices aren't doing enough traffic to show on the auto scale in comparison)

                                Screen Shot 2023-12-11 at 8.19.30 AM.png

                                where there is basically traffic on both sides of the base line... and the traffic on LAN and WAN graphs basically matches
                                top to bottom, bottom to top between the graphs (there is more traffic on the LAN side being displayed because of other traffic between devices that does not go to WAN.

                                Again your display might just be because your graphs are only showing the peak of the one device and the auto scale is not making the other traffic visible.. Let me set up a large stream test but as near as I can tell the orange on the top (LAN) matches the blue on the bottom (WAN) and the blue on the top (LAN) matches the orange on the bottom (WAN). With the slight differences in the wave forms being attributed to either traffic being local to the LAN staying on the LAN, or WAN traffic coming in an not getting to the LAN (blocked)

                                johnpozJ 1 Reply Last reply Reply Quote 0
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator @jrey
                                  last edited by johnpoz

                                  @jrey your looking at a different graph. I am looking under traffic under status, what you posted just look like the traffic widget..

                                  widget.jpg

                                  The graphs are correct - its the IP in/out for specific interfaces under status / traffic that seems to be off.

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                                    @johnpoz

                                    no sir, not the widget. I am on exactly the same page as you, with the exact same settings you are showing in your captures. where you have a WAN and a LAN. I'm also using iftop same as you everything same as you are showing. I basically matching your setting on the screens you are showing and looking at the same type of results.
                                    My first image was basically running on two browser and screen is captured side by each, not too far apart (actually one over the other) . so I could visualize the wave forms IPs at the same time. Sorry that made it look like the widget. (it's not)

                                    This is where I am
                                    Screen Shot 2023-12-11 at 9.17.29 AM.png

                                    the IP rates (for a given IP) look the same at any given point in visually looking, even though the list moves often. The only slight differences I'm seeing in those value would likely be just other traffic that is not going between the interfaces.

                                    I'm just setting up my test box so I can do a more controlled and isolated test, that wouldn't be impacted by so much other lan/lan only or wan/block type traffic where a lot of devices are in use. (ie I want to remove all the normal background noise and network overhead and just look at one device.

                                    johnpozJ 1 Reply Last reply Reply Quote 0
                                    • johnpozJ
                                      johnpoz LAYER 8 Global Moderator @jrey
                                      last edited by

                                      @jrey yeah never had an issue with the graphs.. they are correctly showing traffic flow in the correct direction.

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                                        @johnpoz

                                        Test box, running a buffer bloat test.
                                        in both cases the gateway monitor is running a monitor to 1.1.1.1

                                        Screen Shot 2023-12-11 at 10.24.22 AM.png

                                        again two browsers overlapping.
                                        on the LAN
                                        1.10 is the system running the bloat test
                                        1.5 is the system running the graphs
                                        1.1 is the pfsense IP

                                        on the WAN display
                                        0.83 is the IP currently assigned to the WAN on the pfSense box

                                        change both graphs to filter remote -- run test again..
                                        Screen Shot 2023-12-11 at 10.35.03 AM.png

                                        johnpozJ 1 Reply Last reply Reply Quote 0
                                        • johnpozJ
                                          johnpoz LAYER 8 Global Moderator @jrey
                                          last edited by

                                          @jrey not sure what your trying to show there.. Your saying your not seeing the problem?

                                          here for example..

                                          host.jpg

                                          If your 1.10 is sending data to the internet.. How is that listed as out on the lan interface? That should be shown as IN to the lan interface.. Your wan shows it correctly 0.83 to the internet would be out..

                                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                                          If you get confused: Listen to the Music Play
                                          Please don't Chat/PM me for help, unless mod related
                                          SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                                            @johnpoz

                                            I didn't actually say anything about the results.

                                            Just showing you what I'm seeing on a system with little to no other traffic and no masked IP's.

                                            the buffer bloat test as you know downloads first, then uploads.

                                            so those first captures are yes at the point that is nearing the end of uploading test

                                            here is a capture while it is still in the download phase (local filter)
                                            Screen Shot 2023-12-11 at 12.49.40 PM.png

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