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

    BandwidthD is coming back soon!

    Scheduled Pinned Locked Moved Traffic Monitoring
    28 Posts 16 Posters 7.1k 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.
    • arrmoA
      arrmo
      last edited by

      Hi,

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

      Thanks!

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

        @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
        

        ?

        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
        • arrmoA
          arrmo
          last edited by

          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!

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

            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.

            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 1
            • N
              n3by
              last edited by

              Hi,

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

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

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

                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
                • C
                  crookedview
                  last edited by

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

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

                    No VLAN monitoring support :(

                    1 Reply Last reply Reply Quote 0
                    • cfapressC
                      cfapress
                      last edited by

                      :) :) :)

                      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

                      1 Reply Last reply Reply Quote 0
                      • R
                        rickjm540
                        last edited by

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

                        Thanks so much for bringing this back :)

                        1 Reply Last reply Reply Quote 0
                        • G
                          grandrivers
                          last edited by

                          sure would be nice to see dark mode color pallet fixed

                          pfsense plus 25.03 super micro A1SRM-2558F
                          C2558 32gig ECC  60gig SSD

                          1 Reply Last reply Reply Quote 0
                          • J
                            jasonsfirewall
                            last edited by

                            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

                            1 Reply Last reply Reply Quote 0
                            • J
                              jasonsfirewall
                              last edited by

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

                              1 Reply Last reply Reply Quote 0
                              • J
                                jasonsfirewall
                                last edited by

                                Does Bandwidthd work on 2.4.1? thanks

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sgw
                                  last edited by

                                  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?

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

                                    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.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      shortspecialbus
                                      last edited by

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

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        johndoe74
                                        last edited by

                                        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.

                                        1 Reply Last reply Reply Quote 1
                                        • B
                                          breakaway
                                          last edited by

                                          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.

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