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

    Bounty $200: Monitor bandwidth use on IP adresses. NOW $250

    Scheduled Pinned Locked Moved Expired/Withdrawn Bounties
    151 Posts 25 Posters 111.0k 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.
    • S
      sullrich
      last edited by

      FYI:
      I have started on the bandwidthd package.  http://cvstrac.pfsense.com/chngview?cn=16403

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

        Alrighty, test it out.  It should be in the packages area now.

        1 Reply Last reply Reply Quote 0
        • Y
          yoda715
          last edited by

          Link under services after installing package is broken.

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

            yes, it is broken enough :)

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

              @sdale:

              Link under services after installing package is broken.

              Until you start it via status services, yes.  BandwidthD must create the contents!

              1 Reply Last reply Reply Quote 0
              • B
                Bredys
                last edited by

                I try install this package on new instaled pfsense with last snapshot from 02.02.
                But i cannot start service :

                Feb 4 16:31:36 bandwidthd: Syntax Error "syntax error" on line 11
                Feb 4 16:31:36 bandwidthd: Syntax Error "syntax error" on line 11
                Feb 4 16:31:36 bandwidthd: Monitoring subnet 192.168.10.0 with netmask 192.168.10.0
                Feb 4 16:31:16 bandwidthd: Syntax Error "syntax error" on line 11
                Feb 4 16:31:16 bandwidthd: Syntax Error "syntax error" on line 11

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

                  how much time it need to create contents? i have allredy started service, link still not working

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

                    @Bredys:

                    I try install this package on new instaled pfsense with last snapshot from 02.02.
                    But i cannot start service :

                    Feb 4 16:31:36 bandwidthd: Syntax Error "syntax error" on line 11
                    Feb 4 16:31:36 bandwidthd: Syntax Error "syntax error" on line 11
                    Feb 4 16:31:36 bandwidthd: Monitoring subnet 192.168.10.0 with netmask 192.168.10.0
                    Feb 4 16:31:16 bandwidthd: Syntax Error "syntax error" on line 11
                    Feb 4 16:31:16 bandwidthd: Syntax Error "syntax error" on line 11

                    What does line 11 say of the file /usr/local/bandwidthd/etc/bandwidthd.conf

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

                      Anyone having issues, please deinstall and reinstall.

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bredys
                        last edited by

                        Line 11 is : "subnet /"

                        When i delete this free subnet service start without problem
                        but… i cant acces BandwidthD under Services... still page not found :(

                        ;)

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

                        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 192.168.1.0/24
                        subnet /

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

                          @Bredys:

                          Line 11 is : "subnet /"

                          When i delete this free subnet service start without problem
                          but… i cant acces BandwidthD under Services... still page not found :(

                          ;)

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

                          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 192.168.1.0/24
                          subnet /

                          Please deinstall and reinstall the package.

                          1 Reply Last reply Reply Quote 0
                          • B
                            Bredys
                            last edited by

                            Oki… when i use clean instalation in my vmware, services/BandwidthD works fine after editing bandwidthd config...
                            But i need everytime when i made change manualy edit config file and delete line with free subnet info.

                            I try this on real test PFsense box and same problem...

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

                              Please show me the line in question that you have to remove each time.

                              I think we're getting close…

                              1 Reply Last reply Reply Quote 0
                              • B
                                Bredys
                                last edited by

                                Everytime … this line : "subnet /"

                                On my realbox is config like this (2 lan and 1 wan interface)
                                subnet 192.168.10.0/24
                                subnet /
                                subnet 192.168.1.0/24

                                on vmware (1 wan and 1 lan interface)
                                subnet 192.168.1.0/24
                                subnet /

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

                                  Okay, deinstall and reinstall one more time.

                                  If it still fails to work correctly, please issue the following command from shell:

                                  cat /usr/local/pkg/bandwidthd.inc | grep Id

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    Bredys
                                    last edited by

                                    Not help …
                                    /* $Id: bandwidthd.inc,v 1.18 2007/02/04 20:23:27 sullrich Exp $ */

                                    Subnets to collect statistics on.  Traffic that

                                    matches none of these subnets will be ignored.

                                    Syntax is either IP Subnet Mask or CIDR

                                    subnet 192.168.1.0/24
                                    subnet /

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

                                      Okay, I put some more code in to prevent the blank item.

                                      Please try to deinstall and reinstall again.  You should now be on 1.19 of that file.

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        Bredys
                                        last edited by

                                        Its OK now :)

                                        Thanks

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

                                          Alrighty, everyone else that helped with the bounty, please test and send me the rest of my $$

                                          Thanks ! :)

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

                                            The conf is still not being written out correctly. For example, instead of recover_cdf it needs to be "recover_cdf true".

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