sábado, 11 de setembro de 2010

Orkut indo a full para os clientes (sem controle de banda)

1-) Marcar a CONEXÃO realizada a todo site com a palavra orkut.com

/ip firewall mangle

add action=mark-connection chain=output comment="MARCA-CONN-ORKUT" content=orkut.com disabled=no new-connection-mark=ORKUT passthrough=yes

Observe em vermelho a utilização do "string" orkut.com

é sabido que sites como meuorkut.com.br seuorkut.com.br também será marcado.

2-) Marcar o PACOTE realizado ao site orkut, que esteja marcado com a CONEXÃO acima.

add action=mark-packet chain=output comment="MARCA-PKT-ORKUT" connection-mark=ORKUT disabled=no new-packet-mark=ORKUT-PCKT passthrough=yes

3-) Depois devemos criar uma QUEUE-TREE com limite de 1mb/s (no meu caso)

/queue tree

add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=1M name=ORKUT packet-mark=ORKUT-PCKT parent=global-out priority=8 queue=default




SEM CORTES:


/ip firewall mangle
add action=mark-connection chain=output comment="MARCA-CONN-ORKUT" content=orkut.com disabled=no new-connection-mark=ORKUT passthrough=yes
add action=mark-packet chain=output comment="MARCA-PKT-ORKUT" connection-mark=ORKUT disabled=no new-packet-mark=ORKUT-PCKT passthrough=yes
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=1M name=ORKUT packet-mark=ORKUT-PCKT parent=global-out priority=8 queue=default