" class="title" title="home again woohoo">Home ?> pages bg right
Posted by Bruce on January 6, 2010


Downloads for Bandwidth Mod

Apache Modules :

  • Currently there are two Apache2 modules available.

    bw_mod [a.k.a. mod_bandwidth]mod_vhost_limit
    Ivn Project License : [Download]



    Author : Ivan Barrera (Bruce)
    Contact E-Mail : Bruce (at ivn)
    Status : Stable
    Current Version : v0.8

    Files :

  • mod_bw v0.8 – Source Code – [Download][Readme]
  • mod_bw v0.8 – Windows Release for Apache 2.2.9 – [Download]
  • mod_bw v0.8 – Windows Release for Apache 2.0.63 – [Download]
  • mod_bw v0.8 – Windows Release for Apache 2.2.6 – [Download]
  • mod_bw v0.8 – Windows Release for Apache 2.2.4 – [Download]
  • mod_bw v0.7 – Windows Release for Apache 2.0.47 – [Download]
  • mod_bw v0.7 – Windows Release for Apache 2.0.48 – [Download]
  • mod_bw v0.7 – Windows Release for Apache 2.0.55 – [Download]
  • mod_bw v0.7 – Windows Release for Apache 2.2.0 – [Download]
  • mod_bw v0.7 – Windows Release for Apache 2.2.2 – [Download]
  • mod_bw v0.7 – Visual Studio Project – [Download][Readme]

    Purpose :

  • Restrict the number of simultaneous connections per vhost/dir
  • Limit the bandwidth for files on vhost/dir

    Changelog for v0.8 :

  • Added user agent match on bandwidth and connections limiting
  • Fixed issue of symbols not found on some platforms
  • Updated documentation accordingly

    Platforms :

  • Linux/x86/x86_64
  • FreeBSD/x86 v5.2
  • MacOS X/ppc x86
  • Solaris 8/sparc
  • Microsoft Windows
  • HP/UX 11

    If you have any comments, bug reports, feature request, etc, soon there will be
    a web-system to address all that stuff. Meanwhile, you can email me.

    Bw_Mod v0.7 Previous Version
    Bw_Mod v0.6 Still available, and with its README here.
    Bw_Mod v0.5 Stable is obsoleted, and should not be used, unless you want to play with it.
    Bw_Mod v0.5 RC1 is obsoleted, and should not be used, unless you want to play with it.
    Mod_bandwidth v0.1 is obsoleted, and should not be used.





    Author : Ivan Barrera (Bruce)
    Created On : 2004.02.24
    Last Modified : 2007.04.06
    Status : Functional
    Current Version : v0.2

    NAME
    mod_vhost_limit [Download

    PURPOSE
    Restrict the number of simultaneous connections per vhost

    HISTORY
    – &nbsp 2007.04.06
    Included some cleanup, and fixes suggested (and coded by) Chirouze Olivier
    – &nbsp 2004.02.26

    Added compile.sh , to ease the compiling proccess.
    – &nbsp 2004.02.24
    Initial revision 0.1

    COMMENTS

    Some people asked me about the original implementation for
    Apache 1.3.x. Takato Satsuma was who wrote that, but appears that
    his code has nowhere to be found.
    As i kept a copy of it, i’m leaving it for download here :
    mod_vhost_limit-0.4.tar.gz for apache 1.3.x

  • Post a Comment
    

    9 Responses to “Downloads for Bandwidth Mod”

    1. Tomas M says:

      The download of mod_bw v0.8 – Source Code doesn’t work!

    2. Bobb says:

      Hello,
      I get this error trying to start apache after installing your 0.7 version of this module:
      Cannot load /usr/local/apache/modules/mod_bw.so into server: /usr/local/apache/modules/mod_bw.so: undefined symbol: apr_atomic_cas

      any ideas?

    3. Bruce says:

      Sorry !
      When i moved the downloads content from the old page, i didn’t update the links..

      Thanks for the head’s up !

    4. Bruce says:

      Yep.
      First, try using v0.8

      The error you are getting, is because some distributions (asuming you are using linux) uses a different APR lib, which do not use apr_atomic_cas anymore, and instead uses apr_atomic_cas32.
      v0.8 should fix this for you… Or, if you want to stick to 0.7, replace all ocurrences of apr_atomic_cas with apr_atomic_cas32 (and i think, you will have to change some other keywords too, like atomic_add , etc)

    5. Bobb says:

      0.8 works! I have a question, which answer didnt find in the .txt file.
      Can I set vhost with unlimited bandwidth and speed, but will get only 50 simultaneous connections and no more?

    6. Bruce says:

      Hi,
      You need to put a bandwidth limit , with a ridiculously high limit, and then set maxconnections for the same network.
      i.e.

      BandWidth all 2000000
      MaxConnection all 50

      There have been some bugs about this feature when using the speed 0 as unlimited.. Thats why you need a limit.
      (Ill fix this in the future)

    7. michael says:

      Hi,

      I use it in a Apache2 with CPANEL.
      I create include files inside Virtual Host, use the config:

      BandWidthModule On
      ForceBandWidthModule On
      LargeFileLimit .rar 500 5000

      But the download speed still UP of my limit configuration param.

      – Edit : The problem was that the configuration on the cluster took a little longer to refresh.

    8. Christian32 says:

      Hello,
      I use Apache 2.2.x. Can i limit the monthly bandwidth amount of a vhost?

      For example:
      site.com : 10GB/Monthly

      many thanks,
      Best regards

    9. kevin says:

      Would be nice to have a maxconnection setting that would be applied per IP, like 3 connections max per ip..
      Thanks!

    Leave a Reply