Bandwidth over counts



  • 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?



  • Have you tried search?



  • 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



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



  • 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.



  • @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?


  • Rebel Alliance Developer Netgate

    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…



  • 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.



  • 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.



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



  • @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.



  • @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 :)


Locked