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

    Bandwidth over counts

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    12 Posts 5 Posters 3.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.
    • C
      cadcamjim
      last edited by

      I've installed Bandwidth and noticed right away
      it does not count traffic properly.
      A 5 MB file shows just over 11 MB on the graph.
      A 50 MB file graphed another 111.4 MB.
      Is this a Bandwidth bug or is something wrong with PFsense?

      1 Reply Last reply Reply Quote 0
      • M
        Metu69salemi
        last edited by

        Have you tried search?

        1 Reply Last reply Reply Quote 0
        • C
          cadcamjim
          last edited by

          Duh , ummm, yah…

          I know what the search button is for. Thanks ;)

          But if you know what the solution is that's not found in search by all means please chime in on my post with some positive info.

          Cheers

          1 Reply Last reply Reply Quote 0
          • M
            Metu69salemi
            last edited by

            Positive or not, but i haven't seen any post where someone is saying that bandwidthd is workin correctly

            1 Reply Last reply Reply Quote 0
            • N
              Nachtfalke
              last edited by

              The problem is somewhere in the underlaying system. Counting isn't working since 2.0.0 but it seems not easy to find the problem or the solution for that.

              CaptivePortal is another service which relays on the same service and does not count traffic correctly.

              1 Reply Last reply Reply Quote 0
              • A
                Alan87i
                last edited by

                @Nachtfalke:

                The problem is somewhere in the underlaying system. Counting isn't working since 2.0.0 but it seems not easy to find the problem or the solution for that.

                CaptivePortal is another service which relays on the same service and does not count traffic correctly.

                It seems the longer a download or stream is active the faster things count up in Bandwidthd and captive portal.
                No matter Bandwidthd at this time is not accurate even with regular web browsing.

                Any change an Admin could chime in with an ETA of when this bug might be worked on?

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  http://redmine.pfsense.org/issues/1974#change-9358

                  Though I highly doubt it's the same issue for CP and bandwidthd as CP gets its stats from ipfw, bandwidthd doesn't, and ipfw is what had the problem for CP…

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • N
                    Nachtfalke
                    last edited by

                    Please pay attention, when using freeradius2:

                    This is the description:
                    Enter the amount of download and upload traffic (summarized) for this user in MegaByte (MB)

                    So please make sure the values you posted above are for both - upload and download.
                    Downloading a 10MB file and uploading 5MB will result in 15MB.

                    1 Reply Last reply Reply Quote 0
                    • A
                      Alan87i
                      last edited by

                      I was thinking about ACK packets. For each download or page hit you send a request and data returns ,, correct ?
                      And for every X amount of data you have an ACK packet sent back.

                      So this will make a 100 MB file count x more after downloading it. How much I don't know. need to find a calculator for this.

                      1 Reply Last reply Reply Quote 0
                      • N
                        Nachtfalke
                        last edited by

                        It doesn't matter which kind of traffic passes CP or the switch - it just passes it - and so it counts.

                        1 Reply Last reply Reply Quote 0
                        • A
                          Alan87i
                          last edited by

                          @jimp:

                          http://redmine.pfsense.org/issues/1974#change-9358

                          Though I highly doubt it's the same issue for CP and bandwidthd as CP gets its stats from ipfw, bandwidthd doesn't, and ipfw is what had the problem for CP…

                          After testing the latest july 7 snap with CP marked as "should be fixed" Captive portal appears too count correctly now.
                          Bandwidthd is still over counting.

                          1 Reply Last reply Reply Quote 0
                          • N
                            Nachtfalke
                            last edited by

                            @Alan87i:

                            (…)
                            After testing the latest july 7 snap with CP marked as "should be fixed" Captive portal appears too count correctly now.
                            (...)

                            This sounds good - at least for the CP accounting :)

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