+ Responder ao Tópico



  1. #1

    Question Link full para medidores de velocidade

    Olá a todos

    É o seguinte pessoal quero fazer que quando os meus clientes testarem a velocidade, o meu servidor liberar todo o link ou uma velocidade estipulada como 256k, para que nunca dê velocidade baixa, sei que dá para fazer isso marcando pacotes, vi um tópico aqui no under mas a versão que o colega escreveu não bate com a minha que é a 2.9.27.

    Desde já agradeço

    Firewall completo, cache-full

  2. #2

    Padrão

    faz um cache full, dah uma procuradinha no forum que vc acha.

  3. #3

    Padrão

    Citação Postado originalmente por lucasmellon Ver Post
    faz um cache full, dah uma procuradinha no forum que vc acha.
    Cara eu ja uso cache full, funciona que é uma maravilhas mas o problema é que mesmo as paginas abrindo rápido tem uns clientes xaropes que ficam testando velocidade, e quando eles fazem isso o medidor mostra a velocidade de down e up real entende.

    Fallow!!!

  4. #4

    Padrão

    particularmente, o meu cache full funciona para medidores de velocidades tbem, deixo liberado 5mb de cache fll, e nos testes mais genericos como rjnet, greco, numion, todos mostram a velocidade do cache.

  5. #5

    Padrão

    Citação Postado originalmente por Diangellys Ver Post
    Olá a todos

    É o seguinte pessoal quero fazer que quando os meus clientes testarem a velocidade, o meu servidor liberar todo o link ou uma velocidade estipulada como 256k, para que nunca dê velocidade baixa, sei que dá para fazer isso marcando pacotes, vi um tópico aqui no under mas a versão que o colega escreveu não bate com a minha que é a 2.9.27.

    Desde já agradeço

    Firewall completo, cache-full
    mangle

    add chain=prerouting dst-address-list=medidor action=mark-connection new-connection-mark=medidorC passthrough=yes comment="Medidores" disabled=no
    add chain=prerouting connection-mark=medidorC action=mark-packet new-packet-mark=medidorP passthrough=no comment="" disabled=no
    add chain=input dst-address-list=medidor action=mark-connection new-connection-mark=medidorC passthrough=yes comment="Medidores" disabled=no
    add chain=input connection-mark=medidorC action=mark-packet new-packet-mark=medidorP passthrough=no comment="" disabled=no
    add chain=output dst-address-list=medidor action=mark-connection new-connection-mark=medidorC passthrough=yes comment="Medidores" disabled=no
    add chain=output connection-mark=medidorC action=mark-packet new-packet-mark=medidorP passthrough=no comment="" disabled=no
    add chain=postrouting dst-address-list=medidor action=mark-connection new-connection-mark=medidorC passthrough=yes comment="Medidores" disabled=no
    add chain=postrouting connection-mark=medidorC action=mark-packet new-packet-mark=medidorP passthrough=no comment="" disabled=no


    address-list

    add list=medidor address=189.28.144.12 comment="" disabled=no
    add list=medidor address=198.173.106.104 comment="" disabled=no
    add list=medidor address=200.233.43.14 comment="" disabled=no
    add list=medidor address=67.15.120.26 comment="" disabled=no
    add list=medidor address=200.233.47.4 comment="" disabled=no
    add list=medidor address=200.216.69.232 comment="" disabled=no
    add list=medidor address=72.232.17.106 comment="" disabled=no
    add list=medidor address=208.48.246.14 comment="" disabled=no
    add list=medidor address=201.7.176.59 comment="" disabled=no
    add list=medidor address=200.203.134.5 comment="" disabled=no
    add list=medidor address=208.109.101.166 comment="" disabled=no
    add list=medidor address=200.181.108.29 comment="" disabled=no
    add list=medidor address=75.126.168.3 comment="" disabled=no
    add list=medidor address=200.229.0.164 comment="" disabled=no
    add list=medidor address=200.185.109.83 comment="" disabled=no
    add list=medidor address=204.16.1.252 comment="" disabled=no
    add list=medidor address=189.44.84.20 comment="" disabled=no
    add list=medidor address=200.159.128.189 comment="" disabled=no

    uma listinha de ips de servidores de teste de conexao, creio eu q tem os mais acessados aii,,


    queue tree

    add name="Medidores" parent=global-out packet-mark=medidorP limit-at=200000 queue=default priority=8 max-limit=200000 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
    marcando 200k ai no tree,,

    boto fe q eh basicamente isso q vc quer.. hehehehe,, seu malaa :P
    flws
    Última edição por alanvictorjp; 13-08-2008 às 03:13.

  6. #6

    Padrão

    Citação Postado originalmente por alanvictorjp Ver Post
    mangle

    add chain=prerouting dst-address-list=medidor action=mark-connection new-connection-mark=medidorC passthrough=yes comment="Medidores" disabled=no
    add chain=prerouting connection-mark=medidorC action=mark-packet new-packet-mark=medidorP passthrough=no comment="" disabled=no
    add chain=input dst-address-list=medidor action=mark-connection new-connection-mark=medidorC passthrough=yes comment="Medidores" disabled=no
    add chain=input connection-mark=medidorC action=mark-packet new-packet-mark=medidorP passthrough=no comment="" disabled=no
    add chain=output dst-address-list=medidor action=mark-connection new-connection-mark=medidorC passthrough=yes comment="Medidores" disabled=no
    add chain=output connection-mark=medidorC action=mark-packet new-packet-mark=medidorP passthrough=no comment="" disabled=no
    add chain=postrouting dst-address-list=medidor action=mark-connection new-connection-mark=medidorC passthrough=yes comment="Medidores" disabled=no
    add chain=postrouting connection-mark=medidorC action=mark-packet new-packet-mark=medidorP passthrough=no comment="" disabled=no


    address-list

    add list=medidor address=189.28.144.12 comment="" disabled=no
    add list=medidor address=198.173.106.104 comment="" disabled=no
    add list=medidor address=200.233.43.14 comment="" disabled=no
    add list=medidor address=67.15.120.26 comment="" disabled=no
    add list=medidor address=200.233.47.4 comment="" disabled=no
    add list=medidor address=200.216.69.232 comment="" disabled=no
    add list=medidor address=72.232.17.106 comment="" disabled=no
    add list=medidor address=208.48.246.14 comment="" disabled=no
    add list=medidor address=201.7.176.59 comment="" disabled=no
    add list=medidor address=200.203.134.5 comment="" disabled=no
    add list=medidor address=208.109.101.166 comment="" disabled=no
    add list=medidor address=200.181.108.29 comment="" disabled=no
    add list=medidor address=75.126.168.3 comment="" disabled=no
    add list=medidor address=200.229.0.164 comment="" disabled=no
    add list=medidor address=200.185.109.83 comment="" disabled=no
    add list=medidor address=204.16.1.252 comment="" disabled=no
    add list=medidor address=189.44.84.20 comment="" disabled=no
    add list=medidor address=200.159.128.189 comment="" disabled=no

    uma listinha de ips de servidores de teste de conexao, creio eu q tem os mais acessados aii,,


    queue tree

    add name="Medidores" parent=global-out packet-mark=medidorP limit-at=200000 queue=default priority=8 max-limit=200000 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
    marcando 200k ai no tree,,

    boto fe q eh basicamente isso q vc quer.. hehehehe,, seu malaa :P
    flws

    amigo eu botei essas regras aqui e não funcionaram, eu botei em um cliente 64kbps e onde você botou 200kbps no queue tree botei 1mb so para testar mesmo a regra, mais continuo dando 64kbps, e fiz o teste no rjnet cujo ip esta incluido ai nas suas regras no address-list.

    Abraços.

  7. #7

    Padrão Parabéns!!

    Citação Postado originalmente por alanvictorjp Ver Post
    mangle

    add chain=prerouting dst-address-list=medidor action=mark-connection new-connection-mark=medidorC passthrough=yes comment="Medidores" disabled=no
    add chain=prerouting connection-mark=medidorC action=mark-packet new-packet-mark=medidorP passthrough=no comment="" disabled=no
    add chain=input dst-address-list=medidor action=mark-connection new-connection-mark=medidorC passthrough=yes comment="Medidores" disabled=no
    add chain=input connection-mark=medidorC action=mark-packet new-packet-mark=medidorP passthrough=no comment="" disabled=no
    add chain=output dst-address-list=medidor action=mark-connection new-connection-mark=medidorC passthrough=yes comment="Medidores" disabled=no
    add chain=output connection-mark=medidorC action=mark-packet new-packet-mark=medidorP passthrough=no comment="" disabled=no
    add chain=postrouting dst-address-list=medidor action=mark-connection new-connection-mark=medidorC passthrough=yes comment="Medidores" disabled=no
    add chain=postrouting connection-mark=medidorC action=mark-packet new-packet-mark=medidorP passthrough=no comment="" disabled=no


    address-list

    add list=medidor address=189.28.144.12 comment="" disabled=no
    add list=medidor address=198.173.106.104 comment="" disabled=no
    add list=medidor address=200.233.43.14 comment="" disabled=no
    add list=medidor address=67.15.120.26 comment="" disabled=no
    add list=medidor address=200.233.47.4 comment="" disabled=no
    add list=medidor address=200.216.69.232 comment="" disabled=no
    add list=medidor address=72.232.17.106 comment="" disabled=no
    add list=medidor address=208.48.246.14 comment="" disabled=no
    add list=medidor address=201.7.176.59 comment="" disabled=no
    add list=medidor address=200.203.134.5 comment="" disabled=no
    add list=medidor address=208.109.101.166 comment="" disabled=no
    add list=medidor address=200.181.108.29 comment="" disabled=no
    add list=medidor address=75.126.168.3 comment="" disabled=no
    add list=medidor address=200.229.0.164 comment="" disabled=no
    add list=medidor address=200.185.109.83 comment="" disabled=no
    add list=medidor address=204.16.1.252 comment="" disabled=no
    add list=medidor address=189.44.84.20 comment="" disabled=no
    add list=medidor address=200.159.128.189 comment="" disabled=no

    uma listinha de ips de servidores de teste de conexao, creio eu q tem os mais acessados aii,,


    queue tree

    add name="Medidores" parent=global-out packet-mark=medidorP limit-at=200000 queue=default priority=8 max-limit=200000 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
    marcando 200k ai no tree,,

    boto fe q eh basicamente isso q vc quer.. hehehehe,, seu malaa :P
    flws

    Rapaz.. tem um tempão que eu tava procurando esse negócio...

    encontrei esse, funcionou de primeira!!!!!!!!!

    valeu mesmo!