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 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
                                    • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.