Navigation

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

    Bandwidthd

    pfSense Packages
    8
    23
    13657
    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.
    • J
      Jonb last edited by

      Tryied that and it still doesn't work  :(

      Feb 12 14:16:16 bandwidthd: Packet Encoding: Ethernet
      Feb 12 14:16:16 bandwidthd: Opening xl0
      Feb 12 14:16:16 bandwidthd: Packet Encoding: Ethernet
      Feb 12 14:16:16 bandwidthd: Opening xl0
      Feb 12 14:16:16 bandwidthd: Packet Encoding: Ethernet
      Feb 12 14:16:16 bandwidthd: Opening xl0
      Feb 12 14:16:16 bandwidthd: Packet Encoding: Ethernet
      Feb 12 14:16:16 bandwidthd: Opening xl0
      Feb 12 14:16:16 kernel: xl0: promiscuous mode enabled
      Feb 12 14:16:16 bandwidthd: Monitoring subnet 10.255.0.0 with netmask 10.255.0.0
      Feb 12 14:16:15 kernel: xl0: promiscuous mode disabled
      Feb 12 07:49:07 snort2c[1102]: attack detected non-whitelisted ip: 219.133.62.192 blocked !
      Feb 12 07:49:07 snort2c[1102]: attack detected non-whitelisted ip: 219.133.62.192 blocked !
      Feb 12 01:00:00 check_reload_status: check_reload_status is starting
      Feb 10 03:00:00 check_reload_status: check_reload_status is starting
      Feb 10 02:55:00 check_reload_status: check_reload_status is starting
      Feb 10 00:35:00 check_reload_status: check_reload_status is starting
      Feb 9 21:22:00 kernel: WARNING: pseudo-random number generator used for IPsec processing
      Feb 9 20:53:32 syslogd: kernel boot file is /boot/kernel/kernel

      1 Reply Last reply Reply Quote 0
      • D
        dvserg last edited by

        Can i use this package wit next configuration?

        • bridge(1 wan + 1 lan)
        • squid
        1 Reply Last reply Reply Quote 0
        • P
          Perry last edited by

          is xl0 your lan

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

            no I have an internal interface as rl0 which I have changed in the log since I posted it

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

              Hmmm no when I goto see the charts I get a blank screen.

              1 Reply Last reply Reply Quote 0
              • P
                Perry last edited by

                if your .conf looks like this

                Subnets to collect statistics on.  Traffic that

                matches none of these subnets will be ignored.

                Syntax is either IP Subnet Mask or CIDR

                subnet 10.255.0.0/24

                Device to listen on

                Bandwidthd listens on the first device it detects

                by default.  Run "bandwidthd -l" for a list of

                devices.

                dev "rl0"
                dev "xl0"

                try deleting the xl0 line
                save and restart service

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

                  This file was automatically generated by the pfSense

                  package management system.  Changing this file

                  will lead to it being overwritten again when

                  the package manage resyncs.

                  ####################################################

                  Bandwidthd.conf

                  Commented out options are here to provide

                  documentation and represent defaults

                  Subnets to collect statistics on.  Traffic that

                  matches none of these subnets will be ignored.

                  Syntax is either IP Subnet Mask or CIDR

                  subnet 10.255.0.0/24

                  Device to listen on

                  Bandwidthd listens on the first device it detects

                  by default.  Run "bandwidthd -l" for a list of

                  devices.

                  dev "rl0"

                  ###################################################

                  Options that don't usually get changed

                  An interval is 2.5 minutes, this is how many

                  intervals to skip before doing a graphing run

                  Graph cutoff is how many k must be transfered by an

                  ip before we bother to graph it

                  #Put interface in promiscuous mode to score to traffic
                  #that may not be routing through the host machine.

                  #Log data to cdf file htdocs/log.cdf
                  output_cdf true

                  #Read back the cdf file on startup
                  recover_cdf true

                  #Libpcap format filter string used to control what bandwidthd see's
                  #Please always include "ip" in the string to avoid strange problems

                  #Draw Graphs - This default to true to graph the traffic bandwidthd is recording
                  #Usually set this to false if you only want cdf output or
                  #you are using the database output option.  Bandwidthd will use very little
                  #ram and cpu if this is set to false.

                  #Set META REFRESH seconds (default 150, use 0 to disable).

                  This is strange because sometimes when you click access bandwidthd it doesn't load up anything. Then other time it will load but just say no details have been collected.

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

                    I have been testing bandwidthd and come to the following, for whatever it is worth.

                    If I install Pfsense with xl0=wan and xl1=lan, bandwidthd will listen to wan.
                    If I install Pfsense with xl0=lan and xl1=wan, bandwidthd will listen to wan. (Can be seen in system logs.)
                    No logging of  in either case.

                    However, if I go to interfaces assign and swap interfaces there, it works like a dream. But if I change any settings and save, bandwidthd goes back to listen to wan and stops logging.

                    I tried to set the interface in the configfile with no luck. I did notice a notice stating that it will chose the first interface it seas, and that this is set in the startup script an will override the configfile.

                    1 Reply Last reply Reply Quote 0
                    • jahonix
                      jahonix last edited by

                      Same behavior over here.

                      I run pfSense with 3 NICs (Realtek…) with rl0 being LAN and rl1 assigned to WAN. rl2 is currently unassigned.

                      A checkbox on the config page to tell bandwithd the port to listen on would be really helpful.

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

                        See the original thread.  There are many bugs in bandwidthd.

                        1 Reply Last reply Reply Quote 0
                        • O
                          Omega last edited by

                          As i posted yesterday IN the original thread before it was deleted, I cannot get the latest package to install.

                          It just hangs on this step:

                          "Executing custom_php_install_command()…"

                          As i said, im not sure if its just me, but i could install the old package fine and i just thought id let you know.

                          Cheers,

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

                            @Omega:

                            As i posted yesterday IN the original thread before it was deleted, I cannot get the latest package to install.

                            It just hangs on this step:

                            "Executing custom_php_install_command()…"

                            As i said, im not sure if its just me, but i could install the old package fine and i just thought id let you know.

                            Cheers,

                            Upgrade to the latest snapshot.  I cannot reproduce this issue here.

                            1 Reply Last reply Reply Quote 0
                            • L
                              LawnMowerGuy1 last edited by

                              I have the same problem. It hangs on custom_php_install_command()

                              Heres the logs:
                              Feb 19 21:47:13 php: /pkg_mgr_install.php: Beginning package installation for bandwidthd.
                              Feb 19 21:47:15 php: /pkg_mgr_install.php: You should specify a interface for bandwidthd to listen on. exiting.

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

                                @LawnMowerGuy1:

                                I have the same problem. It hangs on custom_php_install_command()

                                Heres the logs:
                                Feb 19 21:47:13 php: /pkg_mgr_install.php: Beginning package installation for bandwidthd.
                                Feb 19 21:47:15 php: /pkg_mgr_install.php: You should specify a interface for bandwidthd to listen on. exiting.

                                Update to the latest snapshot.

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

                                  Fixed a few installation issues as well.  Please try again

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    LawnMowerGuy1 last edited by

                                    Warning: fopen(/usr/local/bandwidthd/etc/bandwidthd.conf): failed to open stream: No such file or directory in /usr/local/pkg/bandwidthd.inc on line 172

                                    1 Reply Last reply Reply Quote 0
                                    • O
                                      Omega last edited by

                                      Im still getting the "No Data to Graph Error" i was getting prior to the update. (though the updated version does install now again).

                                      Log shows this:

                                      Feb 19 21:24:19 bandwidthd: Packet Encoding: Ethernet
                                      Feb 19 21:24:19 bandwidthd: Opening rl0
                                      Feb 19 21:24:19 bandwidthd: Packet Encoding: Ethernet
                                      Feb 19 21:24:19 bandwidthd: Opening rl0
                                      Feb 19 21:24:19 bandwidthd: log.3.0.cdf is corrupted, skipping
                                      Feb 19 21:24:19 bandwidthd: log.3.0.cdf is corrupted, skipping
                                      Feb 19 21:24:19 bandwidthd: Packet Encoding: Ethernet
                                      Feb 19 21:24:19 bandwidthd: Opening rl0
                                      Feb 19 21:24:19 bandwidthd: log.1.0.cdf is corrupted, skipping
                                      Feb 19 21:24:19 bandwidthd: log.1.0.cdf is corrupted, skipping
                                      Feb 19 21:24:19 bandwidthd: Packet Encoding: Ethernet
                                      Feb 19 21:24:19 bandwidthd: Opening rl0
                                      Feb 19 21:24:19 bandwidthd: log.2.0.cdf is corrupted, skipping
                                      Feb 19 21:24:19 bandwidthd: log.2.0.cdf is corrupted, skipping

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        LawnMowerGuy1 last edited by

                                        I did:
                                        mkdir /usr/local/bandwidthd
                                        mkdir /usr/local/bandwidthd/etc
                                        touch /usr/local/bandwidthd/etc/bandwidthd.conf

                                        Now it installs.

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

                                          I have done an update so I will test it when I get home.

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

                                            @LawnMowerGuy1:

                                            I did:
                                            mkdir /usr/local/bandwidthd
                                            mkdir /usr/local/bandwidthd/etc
                                            touch /usr/local/bandwidthd/etc/bandwidthd.conf

                                            Now it installs.

                                            That should not be needed.  The FreeBSD package has all of this in it..

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

                                              Now I get a blank screen ??????

                                              1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post

                                              Products

                                              • Platform Overview
                                              • TNSR
                                              • pfSense
                                              • Appliances

                                              Services

                                              • Training
                                              • Professional Services

                                              Support

                                              • Subscription Plans
                                              • Contact Support
                                              • Product Lifecycle
                                              • Documentation

                                              News

                                              • Media Coverage
                                              • Press
                                              • Events

                                              Resources

                                              • Blog
                                              • FAQ
                                              • Find a Partner
                                              • Resource Library
                                              • Security Information

                                              Company

                                              • About Us
                                              • Careers
                                              • Partners
                                              • Contact Us
                                              • Legal
                                              Our Mission

                                              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                                              Subscribe to our Newsletter

                                              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                                              © 2021 Rubicon Communications, LLC | Privacy Policy