Limitando a banda do Kazaa com CBQ

Publicado por Lacier Dias em 02/06/2004

[ Hits: 13.081 ]

Blog: http://br.linkedin.com/in/lacierdias/

 


Limitando a banda do Kazaa com CBQ



Crie o arquivo com o nome cbq-0120.kazaa-in e o seguinte conteúdo:

DEVICE=eth0,10Mbit,1Mbit
RATE=50Kbit
WEIGHT=5Kbit
PRIO=5
RULE=:1214

e crie o arquivo com o nome cbq-0120.kazaa-out e o seguinte conteúdo:

DEVICE=eth1,10Mbit,1Mbit
RATE=50Kbit
WEIGHT=5Kbit
PRIO=5
RULE=:1214,

Pronto, ninguém na rede vai usar o Kazaa com velocidade acima de 5K.

Artigo sobre cbq:

Outras dicas deste autor

Amarrando IP X MAC de maneira simples e funcional

Nat simples e rápido no RedHat

Mikrotik com a hora correta sempre: NTP Server e Client

Leitura recomendada

Testando Modem D-link adsl no linux

Adicionando ou excluindo um usuário de um grupo

Aumentando a resolução de vídeo no Lubuntu rodando no VirtualBox

Senha de root no BRLix

Como adicionar PPA's no Debian

  

Comentários
[1] Comentário enviado por devils em 16/11/2004 - 14:07h

Você saberia dizer como limito apenas a banda nas portas em que o windows utiliza para fazer downloads?

[2] Comentário enviado por lacierdias em 16/11/2004 - 15:27h

Mano depende a porta q vc quer travar... 21, 80, ...depende...

[3] Comentário enviado por balani em 24/02/2006 - 16:56h

Boa dica

[4] Comentário enviado por cyprius em 02/04/2008 - 15:49h


iptables: No chain/target/match by that name
Stopping CBQ traffic shaping: shaper.
Starting CBQ traffic shaping: find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: File exists
We have an error talking to the kernel
shaper.


alguém já viu isso?
pode me ajudar?



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts