Mod_cband

about the module

mod_cband is an Apache 2 module provided to solve the problem of limiting users’ and virtualhosts’ bandwidth usage. The current versions can set virtualhosts’ and users’ bandwidth quotas, maximal download speed (like in mod_bandwidth), requests-per-second speed and the maximal number of simultanous IP connections (like in mod_limitipconn)

I advise using mod_cband by hosting companies, which would like to limit data transfer for their users, such as “10Gb of traffic per month”. There already exists the mod_curb module, which can limit data transfers, but it doesn’t work with virtualhosts and Apache 2, so I wrote my own module fully compatible with Apache 2 API and supporting per-user and per-virtualhost bandwidth limiting

The mod_cband Freshmeat record is systematicaly updated so if you are already a member of Freshmeat, you can subscribe to new releases and receive new version notifications from them.

Links

Features

* Lightweight bandwidth limiting module for Apache2


* **per-user bandwidth limiting**


* **per-virtualhost bandwidth limiting**


* **per-destination bandwidth limiting**


* Limiting:


  * Bandwidth total usage (**bandwidth quota**)


  * Maximal download speed (**bandwidth throttling**)


  * Maximal requests-per-second speed


  * Maximal simultanous IP connections





* Support for virtualhosts


* Support for defined users


* Support for **/cband-status** handler


* Support for **/cband-status-me** handler

Latest news

* **[01-06-2009]** - The homepage of the project is alive again!


* **[14-08-2007]** - New turkish translation is also available for reading. Thanks to **[Murat Ugur!!](http://www.murat.ws/)**


* **[08-08-2007]** - The first **bulgarian tutorial** for mod_cband is available!! Thanks to **Amri** from [http://DHStudio.eu](http://dhstudio.eu/) - Web Design - Dobrich


* **[14-11-2006]** - mod_cband 0.9.7.5 is available for [download](http://dembol.org/downloads/cband/mod-cband-0.9.7.5.tgz)!!

Latest version

mod-cband-0.9.7.5: mod-cband-0.9.7.5.tgz

Tutorials

* [Apache2 ile mod_cband modülü (bandwith, kota ve trafik limitleme)](http://www.fedoraturkiye.com/nasil-belgeleri/apache/Apache2-ile-mod_cband-modulu) [TUR]** NEW!**


* [Apache mod_cband howto](http://www.dhstudio.eu/mod_cband.html) [BUL] also in [PDF](http://www.dhstudio.eu/mod_cband.pdf) ** NEW!**


* [Manage Apache Download Speed And Traffic Limits With mod_cband](http://www.howtoforge.com/mod_cband_apache2_bandwidth_quota_throttling)


* [Controlling bandwidth usage with mod_cband or mod_bw on Apache2](http://www.uno-code.com/?q=node/64)


* [VinaCIS.NETWORK - Manage Apache Download Speed And Traffic Limits With mod_cband](http://www.vinacis.net/content/view/29/32/)


* [VinaCIS.NETWORK - Manage Apache Download Speed And Traffic Limits With mod_cband](http://www.vinacis.net/index2.php?option=com_content&do_pdf=1&id=29) [PDF]


* [ISPConfig and BandWidth control](http://e-corona.org/blog,245) (also in[Spanish](http://e-corona.org/blog,242) ) by Erik Corona


* [montanalinux.org about mod_cband](http://www.montanalinux.org/mod_cband.html)


* [Control de ancho de banda con mod_cband](http://www.apache-es.org/index.php/2006/10/29/control-de-ancho-de-banda-con-mod_cband/)


* [ Bandwidth & Connections Limiting: A How To Guide](http://elliottback.com/wp/archives/2006/06/20/bandwidth-connections-limiting-a-how-to-guide/)


* [baixando o cband](http://www.debianfordummies.org/wiki/index.php/WebServer_Howto#baixando_o_cband)


* [HowTo Apache mod_cband rate limiting](http://tikiwiki.org/HowToApacheModCbandRateLimiting)


* [Limite de tráfego com apache2 e mod_cband](http://histeria.blog.br/blog/?p=7)


* [Apache mod_cband How To](http://blog.bojack.idv.tw/?p=259) [TW]


* [ Niveau intermédiaire Contrôle de la bande passante et le traffic web avec le mod_cband sur Apache2. Installation effectuée sur Debian](http://www.generation-linux.net/article.php3?id_article=29)


* [Contrôle de la bande passante et le traffic web avec le mod_cband sur Apache 2](http://wiki.generation-linux.net/tutoriels:apache:cband_module)


* [Apache2 Zugriffskontrolle mit mod_cband](http://nodomain.cc/archives/2007/01/05/684-Apache2-Zugriffskontrolle-mit-mod_cband.html)


* [Limiting Bandwidth Usage By VirtualHost [HOWTO]](http://www.interworx.com/forums/archive/index.php/t-1080.html)


* [Uso mod_cband para control de ancho de banda en apache2](http://mcbrain.powers.cl/?p=296)


* [limit apache traffic](http://www.opennet.ru/base/net/mod_cband_limit.txt.html) [RU]


* [Gentoo - HOWTO Apache 2 bandwidth limiting](http://gentoo-wiki.com/HOWTO_Apache_2_bandwidth_limiting)


* [Bandwidth limiting with apache mod_cband](http://mediumbagel.org/nucleus/2007/02/06/bandwidth-limiting-with-apache-mod_cband/)

Developers

* **Lukasz Dembinski - [dembol.org](http://dembol.org/) - head developer**


* Sergey V. Beduev [**shaman |at| interdon |dot| net**](mailto:%20shaman%20_at_%20interdon.net) - per-destination bandwidth limiter


* Kyle Poulter[** kyle |at| unixowns |dot| us**](mailto:%20kyle%20_at_%20unixowns.us) - /cband-status handler with XML Output


* J. Kendzorra [**kenzo |at| kenzo |dot| homelinux |dot| org**](mailto:%20kenzo%20_at_%20kenzo.homelinux.org) - bandwidth limit units


* Adam Dawidowski[** drake |at| oomkill |dot| net**](mailto:%20drake%20_at_%20oomkill.net) - bandwidth limit units, module stress testing

License

mod_cband is distributed under GNU GPL license

Bug tracking system

mod_cband’s bug tracking system is available here

**

**

Comments