BandwidthD is coming back soon!


  • Rebel Alliance Developer Netgate

    It's already up for 2.4 and 2.3.x snapshots. It is still being tested and adjusted a bit, but it should be up for 2.3.4 before long.


  • Rebel Alliance Developer Netgate

    …and now it's up for 2.3.4.



  • Awesome - thanks! Any idea when it will be available for 2.4? Just anxious, no worries though … :).


  • Rebel Alliance Developer Netgate

    It was up for 2.4 first. It should be there for everyone now (2.3.4 and later)



  • I see it there - thanks so much! Now I need to remember how to initialize the database (I like to use PostgreSQL).

    Thanks again!



  • OK, one slight hitch … ;)

    I have been struggling to get Bandwidthd working with my postgresql server, thought it was me setting something up wrong. Then I checked the log on pfSense, found this,
    May 27 09:49:19 pfSense bandwidthd: Postgresql logging selected but postgresql support is not compiled into binary.  Please check the documentation in README, distributed with this software.

    OK, at least it may not be me ... LOL.

    Is there a way to build in this support?

    Thanks!



  • Any way to change the color palette? Kind of hard to see things on the dark theme…




  • @jimp:

    …and now it's up for 2.3.4.

    I've had a play on my LAN and really like the looks of the reports however it appears to not support PPPoE WAN are there any plans to support PPPoE


  • Rebel Alliance Developer Netgate

    @JasonAU:

    @jimp:

    …and now it's up for 2.3.4.

    I've had a play on my LAN and really like the looks of the reports however it appears to not support PPPoE WAN are there any plans to support PPPoE

    That isn't anything we can control, and you wouldn't generally want to run it on a WAN anyhow. It used to exclude WAN interfaces, I added them back because it's easier for me to test it that way.

    You'd run it on a LAN where you want to see/track your LAN user traffic.



  • Hi,

    Any thoughts about PostgreSQL support? Seems to be missing in this build …  :(

    Thanks!


  • Rebel Alliance Developer Netgate

    @arrmo:

    Any thoughts about PostgreSQL support? Seems to be missing in this build …  :(

    Does it work if you manually run this:

    pkg install postgresql93-client
    

    ?



  • I think the issue is bandwidthd, not postgresql related … no? Here is what I saw in the log when I tried it,
    May 27 09:49:19 pfSense bandwidthd: Postgresql logging selected but postgresql support is not compiled into binary.  Please check the documentation in README, distributed with this software.

    Thanks!


  • Rebel Alliance Developer Netgate

    The port doesn't have any way to set a Postgres dependency, though. It looks like back on 2.2.x it compiled postgresql-client before it compiled bandwidthd and bandwidthd picked it up automatically, which is ugly. I'll have to see if I can find a better way to make that work.



  • Hi,

    I discovered that bandwidth statistical pages can be accessed without been authenticated…


  • Rebel Alliance Developer Netgate

    @ecfx:

    Hi,

    I discovered that bandwidth statistical pages can be accessed without been authenticated…

    That has always been the case with bandwidthd. Though I have some ideas on how to fix that, I haven't implemented anything yet.



  • Just chiming in with a request to find a way to support logging to a remote PostgreSQL database.  I tried installing the client from the suggestion above and also receive the message about PostgreSQL support not being compiled into the binary (same as arrmo).



  • No VLAN monitoring support :(



  • :) :) :)

    THANK YOU SO MUCH for bringing back BandwidthD.

    This tool is my 'go to' reference when I notice unusual traffic going across the network. It gives me an immediate snapshot to identify the device causing the traffic. Which I can quick cross reference to a user on my network.

    I've struggled with ntopng since BandwidthD was removed. While ntopng is pretty it's not at all intuitive and pales in the ease of use I find with BandwidthD.

    So, again, a HUGE - THANK YOU - for bringing this package back !!!

    Jason



  • I would also LOVE to see the postgres logging available again!

    Thanks so much for bringing this back :)



  • sure would be nice to see dark mode color pallet fixed



  • I love Bandwidthd! I was soooo disappointed when it was removed. Thank you to all that worked on the project to get it reinstated! Not everyone has unlimited bandwidth so I depend on this tool to tell me who is over doing it. I tried a lot of other tools even using free version of splunk which will turn you into a forensic investigator spending hours and hours…. Bandwidthd is point and click!  ;D



  • @jimp:

    @ecfx:

    Hi,

    I discovered that bandwidth statistical pages can be accessed without been authenticated…

    That has always been the case with bandwidthd. Though I have some ideas on how to fix that, I haven't implemented anything yet.

    I like the fact that it doesn't require auth for home use so I can easily share with kids and wife, I can see for commercial use that wouldn't be so good. If you do enable auth it would be good to be able to toggle on or off.



  • Does Bandwidthd work on 2.4.1? thanks



  • A bit off-topic here, but not completely:

    customer asks to have the stats generated by bandwidthd included in a website on another server.

    I want to keep pfsense as out-of-the-box as possible: everything restorable from config.xml. So I want to avoid pushing/rsyncing the generated html-dir from pfsense to the webserver, but rather have the webserver pull the date from pfsense.

    How to solve that in the most secure way? extra ssh-user with minimal rights, and edit its .ssh/authorized_keys to only allow scp or so?



  • Another "Me Too" for for remote database support.  I ended up here AFTER I setup my postgresSQL VM and saw the "Postgresql logging selected but postgresql support is not compiled into binary. Please check the documentation in README, distributed with this software" error message in pfSense's logs.



  • Chalk me up as well for wanting Postgres support.  I spent an hour debugging this because I failed to notice the error message :(



  • I was able to get postgresSQL working with Bandwidthd. You would need to recompile bandwidthd with postgressql library. Here're the steps:

    1. On a FreeBSD 11 system (I used a FreeBSD 11 VM), download and compile postgressql version 7.4.30 (I used this version because it's likely the version used by bandwidthd 10 years ago, newer versions may or may not work) -> ./configure && make install, you should have postgressql library at /usr/local/pgsql.
    2. Download the Pfsense FreeBSD freshports here: https://github.com/pfsense/FreeBSD-ports
    3. Extract the pfsense freshports and go into net-mgmt/bandwidthd folder.
    4. run ./configure && make
    5. You should get the pgsql-enabled bandwidthd binary at net-mgmt/bandwidthd/work/bandwidthd-xxxxx/ folder (where xxxxx is the latest bandwidthd version).
    6. Stop the bandwidthd service at pfsense, SSH into pfsense, make a backup of the bandwidthd binary at /usr/local/bandwidthd.
    7. scp the pgsql-enabled bandwidthd binary to your pfsense /usr/local/bandwidthd path and overwrite it.
    8. Restart Bandwidthd service at pfsense.



  • Is putting VLAN monitoring back in on the roadmap? Additionally, any recommendations for alternative packages that also allow VLAN traffic monitoring?

    I have installed ntopNG for the time being but it's too complicated for what I require.