mod_cband apache2 debian system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hellow friends i tried configure mod_cband in apache2 but it appear to no work for my configuration, let me explain you what i want to do

scenario:

i have and external network & like limit the download traffic for this external network and open all traffic to my internal network, here's my conf in virtualhost file



<IfModule mod_cband.c>
    <Location /cband-status>
    SetHandler cband-status
    </Location>
        <Location /cband-status-me>
SetHandler cband-status-me
    </Location>
 <CBandClass localNetwork>
CBandClassDst 172.16.1.0/24
CBandClassDst 172.16.2.0/24
CBandClassDst 172.16.3.0/24
CBandClassDst 172.16.4.0/24
CBandClassDst 172.16.5.0/24
CBandClassDst 172.16.6.0/24
CBandClassDst 172.16.7.0/24
CBandClassDst 172.16.8.0/24
CBandClassDst 172.16.9.0/24
CBandClassDst 172.16.10.0/24
CBandClassDst 172.16.11.0/24
</CBandClass>

<CBandClass nodo>
CBandClassDst 172.16.0.0/24
</CBandClass>

<CBandClass external>
CBandClassDst 192.168.157.244
CBandClassDst 192.168.157.0/24
CBandClassDst 192.168.158.0/24
CBandClassDst 192.168.159.0/24
CBandClassDst 200.55.156.0/24
</CBandClass>


<virtualhost *:80>

<IfModule mod_cband.c>
CBandSpeed 10240 2 30
#CBandUser user1
CBandClassRemoteSpeed localNetwork 60Mb/s 2 3
#CBandClassLimit external 32kb/s
CBandClassRemoteSpeed external 32kb/s 3 3
</IfModule>

</virtualhost>


Can you helpme?

Thanks in advance

Hermidio



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux