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.8k 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.
    • M
      mcury Rebel Alliance @johnpoz
      last edited by

      @johnpoz hmm, I think something is inverted there although the graph is showing the correct data, its the info on the side that is inverted ?
      Now I think who needs coffee is me..

      dead on arrival, nowhere to be found.

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

        @mcury exactly - the graphs are correct.. they show in and out for what you would expect for a client on my lan sending to the internet the bandwidth would be in on the lan, and out on the wan..

        And 1 line for Ips is correct.. Its the other line that seems reversed..

        To me -- if looking on the lan interface and picking an IP be it the 76 or the 192 address.. This traffic in to the lan should be the 19Mbps.. Be it the source IP or the destination IP.. That is traffic into the lan..

        Same goes for wan.. If I look at it either as the source IP 209, or the destination IP 76.. Leaving the wan out should both show the 19Mbps..

        Its time to switch from coffee to Michelada's, maybe I need some lubrication for the brain cells - heheheh

        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

        M 1 Reply Last reply Reply Quote 0
        • M
          mcury Rebel Alliance @johnpoz
          last edited by mcury

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

          Its time to switch from coffee to Michelada's, maybe I need some lubrication for the brain cells - heheheh

          My coffee is ready here but it didn't help.. eheh
          But I think you are correct.

          LAN details should show 192.168.9.10 with 19.3Mbps IN and 76.16 with 79.2Kbps OUT.
          WAN details local WAN address 19Mbps OUT and 84.3Kbps IN..

          Edit:
          Try to change to Bandwidth OUT to see if something changes.

          dead on arrival, nowhere to be found.

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

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

            WAN details local WAN address 19Mbps OUT and 84.3Kbps IN..

            Exactly so the A line is correct

            graph2.jpg

            My wan IP 209.x is sending out 19Mbps.. And getting in some Kbps..

            But what is confusing.. If looking at the wan for the IP 76.16, the B line.. The wan for sure is not getting 19Mbps inbound to it..

            So I am not crazy - this seems off right?? If looking at my wan interface.. Be it either the pfsense IP or the external IP Traffic leaving the wan interface.. Should both show 19Mbps 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

            M 1 Reply Last reply Reply Quote 0
            • M
              mcury Rebel Alliance @johnpoz
              last edited by mcury

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

              So I am not crazy

              You are not crazy, for me, everything you are saying is making perfect sense.
              WAN would never have 19Mbps inbound no matter the way you look at it..

              dead on arrival, nowhere to be found.

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

                @mcury thanks - going to call in @stephenw10 maybe we are both just coffee deficient.. Going to take a look see in redmine if anything has been reported like this. I do recall there being some weirdness with the traffic graph and either not showing the IPs at all or something being off..

                I do recall there even being a patch put out to correct....

                But yeah in no scenario in my current traffic flow where lan device is sending 19Mbps to the internet should the Wan graph show "in" to the wan at that 19Mbps.. No matter if its the source IP my wan.. Or the destination IP that 76.16 address.

                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

                johnpozJ 1 Reply Last reply Reply Quote 1
                • D
                  darcey
                  last edited by

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

                    @johnpoz ok here is another look at it.. Same traffic flow, only the bandwidth has changed a bit..

                    Looking at the graphs and filtering by either local and or remote - so don't have double lines to look at..

                    Lines I have tagged with A are wrong, while lines tagged with B are correct.

                    When I show only local IPs.. Which my wan IP would be included in. Or just remote IPs.. Somewhere the in/out seems reversed.

                    Line A is wrong, While lines marked B are correct.

                    graph3.jpg

                    In all cases the graphs show correct for in and out bandwidth.. Its only the IP table showing wrong.. But only for when you pick local IPs on the lan, and remote IPs on the wan.

                    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 jrey

                      This post is deleted!
                      dennypageD 1 Reply Last reply Reply Quote 0
                      • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.