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

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

    Expired/Withdrawn Bounties
    25
    151
    103.4k
    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.
    • B
      backbone
      last edited by

      I want to know how many GB of traffic every Internal IP adresse is using true my Firewall.
      Also runing many VLANs so it have to support to get info on many VLANs as well.
      Or I want to define the ip adresse I want to get info on. something like add ip adresses I want to monitor.
      have to support many hosts at one time.
      And just get the info for total bandwidth inn/out last month. And total so far this month.
      And maybe an total show of bandwidth over the firewall as well, for last month and so far this month.

      maybe based on darkstat or something?

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

        I'm pretty sure ntop can do this detailed level of reporting, and there's already an ntop package for PFsense…  http://www.pfsense.com/packages/All/

        ??

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

          @ollopa:

          I'm pretty sure ntop can do this detailed level of reporting, and there's already an ntop package for PFsense…  http://www.pfsense.com/packages/All/

          ??

          I can`t see how I can use Ntop on just the IP adresses I want.. and also how can I get It to show last month and so fare this month ??  ???

          Maybe ntop could be writen to do this?

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

            ntop can do this, but it doesn't run exceptionally well on FreeBSD because of threading bugs in ntop that the author doesn't care to fix.

            Plus, if you're running VLAN's, ntop requires putting your interfaces in promiscuous mode.  There's a bug in FreeBSD that will cause all your VLAN's to drop if you put a VLAN interface in promiscuous mode.

            This capability is really there already, you just need to collect the appropriate data and then report on it as you desire.  What you need to look at is the pfflowd package, and you need to get a NetFlow collector running on something.  For a quick solution, check out CactiEZ, it comes preconfigured with an awesome Cacti install plus a NetFlow collector enabled out of the box. 
            http://cactiusers.org/wiki/CactiEZ

            After you have the NetFlow stats collected, there are a bunch of reporting tools that will show you your NetFlow data, including ntop, which runs on CactiEZ (and works fine since it's Linux-based).

            Nice list of NetFlow related tools here:
            http://www.switch.ch/tf-tant/floma/software.html

            Personally, for my network monitoring at home, I run a CactiEZ install in a VM running on VMware Server.  Works great.

            Is this answer worth $200?  ;D

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

              This looks like a possible solution.

              http://bandwidthd.sourceforge.net/

              Look okay?  I may take this one up.

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

                @sullrich:

                This looks like a possible solution.

                http://bandwidthd.sourceforge.net/

                Look okay?  I may take this one up.

                Thats more like it :)
                I just testet the demo….
                but I can`t see how I can get how many GB of traffic one Ip have use there? This mnd and last?
                I see that it can write to a database, maybe just get the info out from there again?
                Can the data be writen to an external mysql db on another server?

                If you could do this in one package for pfsense it would be nice.

                This is something I would pay to get done ;)

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

                  @sullrich:

                  This looks like a possible solution.

                  http://bandwidthd.sourceforge.net/

                  Except it'll put your interfaces in promiscuous mode, and since he's running VLAN's, it'll kill all his network connectivity because of the VLAN's + promisc FreeBSD bug.  Won't work.

                  The only thing I know of that doesn't use promisc is NetFlow.

                  backbone:  You need to look at what I suggested, as that's the only thing that's going to work for you in the foreseeable future.

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

                    I ran across this: http://www.freebsd.org/cgi/query-pr.cgi?pr=72933
                    it's a patch to fix the problem for bge module. At the bottom of the page it linked to http://cvsup.pt.freebsd.org/cgi-bin/cvsweb/cvsweb.cgi/src/sys/dev/bge/if_bge.c
                    "Revision 1.148 / (download) - annotate - [select for diffs] , Mon Sep 18 22:18:21 2006 UTC (3 weeks, 3 days ago) by jkim
                    Branch: MAIN
                    Changes since 1.147: +28 -15 lines
                    Diff to previous 1.147

                    Do not strip VLAN tag in promiscuous mode."

                    It would seem to depend on the nic's your using, your going to have to figure out which kernel module your nic uses(http://www.freebsd.org/releases/6.1R/hardware-i386.html#ETHERNET) and see if it has been patched or is a problem.

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

                      Thanks for the pointer to that, omegadraconis.  Looks like drivers are getting fixed one by one.  We'll have to look at this again once 6.2 is out and we're using it.

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

                        i will pay another $50 for a package, that will help me to know how many GB of traffic every Internal IP address is using through my pfsense firewall with possibility to view statistics for a day, week, month, and also configurable local address table to exclude from calculation. i need this for my small office network and home use, there is not so much users and data to deploy NTOP and special accounting servers.

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

                          Ok, if everyone wants to verify that their nics will work with the package I mentioned earlier, I'll go ahead and get started on bandwidthd.

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

                            @sullrich:

                            Ok, if everyone wants to verify that their nics will work with the package I mentioned earlier, I'll go ahead and get started on bandwidthd.

                            I have 2 onboard Broadcom BCM5721 cards, using the bge(4) driver?

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

                              @sullrich:

                              Ok, if everyone wants to verify that their nics will work with the package I mentioned earlier, I'll go ahead and get started on bandwidthd.

                              i am using intel pro100 management adapters, their name in system are fxp… thank you, sullrich.

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

                                So we are a go?

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

                                  sullrich: what do i need to do? i allready need statistics on traffic of each local user :)

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

                                    @sullrich:

                                    So we are a go?

                                    If the nics are supported so yes :)

                                    but can this system get info for 1.jan to 2.feb ? I see that it has info for an Interval, but I need to know how many GB traffic it use last mnd and so on…. Maybe the sensor system has what i need?  It is the sensor system u want to make then? as a pfsense package?

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

                                      @sullrich:

                                      So we are a go?

                                      So what do u say? :)
                                      Something that could be done? :)

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

                                        Yeah, I'll start on it in the next day or so.  However, I am not sure your nics work or not, honestly.  Thats why i was asking you all ..

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          narf
                                          last edited by

                                          Is there a list of drivers that have been patched to work with promisc + VLAN, or is the bge module the only one that has been fixed?

                                          I'm just curious as i should be doing some hardware shopping, and its alot easier to just buy hardware that works, instead of waiting for drivers to be fixed.

                                          //Richard.

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

                                            I would say it is the opposite and that most nics should work fine.

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