Pular para o conteúdo

Limitando a banda do Kazaa com CBQ

Dica publicada em Linux / Configuração
Lacier Dias lacierdias
Hits: 13.843 Categoria: Linux Subcategoria: Configuração
  • Indicar
  • Impressora
  • Denunciar

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:

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

GRUB - Inscrever a chave do Ubuntu no openSUSE 13.2

Ativando a correção ortográfica em português no KDE

Verificando o DPI ou PPI de seu monitor

Desmontando um dispositivo ocupado

Como automatizar sua instalação do Ubuntu para desenvolvimento de software.

#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

Entre na sua conta para comentar.