Página 2 de 3 PrimeiroPrimeiro 123 ÚltimoÚltimo
+ Responder ao Tópico



  1. /ip firewall layer7-protocol
    add comment="" name="Extension \" .exe \"" regexp="\\.(exe)"
    add comment="" name="Extension \" .rar \"" regexp="\\.(rar)"
    add comment="" name="Extension \" .zip \"" regexp="\\.(zip)"
    add comment="" name="Extension \" .7z \"" regexp="\\.(7z)"
    add comment="" name="Extension \" .cab \"" regexp="\\.(cab)"
    add comment="" name="Extension \" .asf \"" regexp="\\.(asf)"
    add comment="" name="Extension \" .mov \"" regexp="\\.(mov)"
    add comment="" name="Extension \" .wmv \"" regexp="\\.(wmv)"
    add comment="" name="Extension \" .mpg \"" regexp="\\.(mpg)"
    add comment="" name="Extension \" .mpeg \"" regexp="\\.(mpeg)"
    add comment="" name="Extension \" .mkv \"" regexp="\\.(mkv)"
    add comment="" name="Extension \" .avi \"" regexp="\\.(avi)"
    add comment="" name="Extension \" .flv \"" regexp="\\.(flv)"
    add comment="" name="Extension \" .pdf \"" regexp="\\.(pdf)"
    add comment="" name="Extension \" .wav \"" regexp="\\.(wav)"
    add comment="" name="Extension \" .rm \"" regexp="\\.(rm)"
    add comment="" name="Extension \" .mp3 \"" regexp="\\.(mp3)"
    add comment="" name="Extension \" .mp4 \"" regexp="\\.(mp4)"
    add comment="" name="Extension \" .ram \"" regexp="\\.(ram)"
    add comment="" name="Extension \" .rmvb \"" regexp="\\.(rmvb)"
    add comment="" name="Extension \" .dat \"" regexp="\\.(dat)"
    add comment="" name="Extension \" .daa \"" regexp="\\.(daa)"
    add comment="" name="Extension \" .iso \"" regexp="\\.(iso)"
    add comment="" name="Extension \" .nrg \"" regexp="\\.(nrg)"
    add comment="" name="Extension \" .bin \"" regexp="\\.(bin)"
    add comment="" name="Extension \" .vcd \"" regexp="\\.(vcd)"
    add comment="" name="Extension \" .asx \"" regexp="\\.(asx)"

  2. Agora no Mangle
    add action=mark-connection chain=prerouting comment="7z DOWNS" disabled=no \
    layer7-protocol="Extension \" .7z \"" new-connection-mark="7z DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "7z DOWNS" disabled=no new-packet-mark=7z passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="asf DOWNS - Stream" \
    disabled=no layer7-protocol="Extension \" .asf \"" new-connection-mark=\
    "asf DOWNS" passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "asf DOWNS" disabled=no new-packet-mark=asf passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="avi DOWNS" disabled=no \
    layer7-protocol="Extension \" .avi \"" new-connection-mark="avi DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "avi DOWNS" disabled=no new-packet-mark=avi passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="bin DOWNS" disabled=no \
    layer7-protocol="Extension \" .bin \"" new-connection-mark="bin DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "bin DOWNS" disabled=no new-packet-mark=bin passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="flv DOWNS" disabled=no \
    layer7-protocol="Extension \" .flv \"" new-connection-mark="flv DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "flv DOWNS" disabled=no new-packet-mark=flv passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="iso DOWNS" disabled=no \
    layer7-protocol="Extension \" .iso \"" new-connection-mark="iso DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "iso DOWNS" disabled=no new-packet-mark=iso passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="mkv DOWNS" disabled=no \
    layer7-protocol="Extension \" .mkv \"" new-connection-mark="mkv DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "mkv DOWNS" disabled=no new-packet-mark=mkv passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="exe DOWNS" disabled=no \
    layer7-protocol="Extension \" .exe \"" new-connection-mark="exe DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "exe DOWNS" disabled=no new-packet-mark=exe passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="mov DOWNS" disabled=no \
    layer7-protocol="Extension \" .mov \"" new-connection-mark="mov DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "mov DOWNS" disabled=no new-packet-mark=mov passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="mp3 DOWNS" disabled=no \
    layer7-protocol="Extension \" .mp3 \"" new-connection-mark="mp3 DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "mp3 DOWNS" disabled=no new-packet-mark=mp3 passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="mp4 DOWNS" disabled=no \
    layer7-protocol="Extension \" .mp4 \"" new-connection-mark="mp4 DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "mp4 DOWNS" disabled=no new-packet-mark=mp4 passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="mpeg DOWNS" disabled=no \
    layer7-protocol="Extension \" .mpeg \"" new-connection-mark="mpeg DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "mpeg DOWNS" disabled=no new-packet-mark=mpeg passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="mpg DOWNS" disabled=no \
    layer7-protocol="Extension \" .mpg \"" new-connection-mark="mpg DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "mpg DOWNS" disabled=no new-packet-mark=mpg passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="nrg DOWNS" disabled=no \
    layer7-protocol="Extension \" .nrg \"" new-connection-mark="nrg DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "nrg DOWNS" disabled=no new-packet-mark=nrg passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="pdf DOWNS" disabled=no \
    layer7-protocol="Extension \" .pdf \"" new-connection-mark="pdf DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "pdf DOWNS" disabled=no new-packet-mark=pdf passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="ram DOWNS" disabled=no \
    layer7-protocol="Extension \" .ram \"" new-connection-mark="ram DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "ram DOWNS" disabled=no new-packet-mark=ram passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="rar DOWNS" disabled=no \
    layer7-protocol="Extension \" .rar \"" new-connection-mark="rar DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "rar DOWNS" disabled=no new-packet-mark=rar passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="rm DOWNS" disabled=no \
    layer7-protocol="Extension \" .rm \"" new-connection-mark="rm DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "rm DOWNS" disabled=no new-packet-mark=rm passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="rmvb DOWNS" disabled=no \
    layer7-protocol="Extension \" .rmvb \"" new-connection-mark="rmvb DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "rmvb DOWNS" disabled=no new-packet-mark=rmvb passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="wav DOWNS" disabled=no \
    layer7-protocol="Extension \" .wav \"" new-connection-mark="wav DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "wav DOWNS" disabled=no new-packet-mark=wav passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="wmv DOWNS" disabled=no \
    layer7-protocol="Extension \" .wmv \"" new-connection-mark="wmv DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "wmv DOWNS" disabled=no new-packet-mark=wmv passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="zip DOWNS" disabled=no \
    layer7-protocol="Extension \" .zip \"" new-connection-mark="zip DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "zip DOWNS" disabled=no new-packet-mark=zip passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="daa DOWNS" disabled=no \
    layer7-protocol="Extension \" .daa \"" new-connection-mark="daa DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "daa DOWNS" disabled=no new-packet-mark=daa passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="dat DOWNS" disabled=no \
    layer7-protocol="Extension \" .dat \"" new-connection-mark="dat DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "dat DOWNS" disabled=no new-packet-mark=dat passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="vcd DOWNS" disabled=no \
    layer7-protocol="Extension \" .vcd \"" new-connection-mark="vcd DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "vcd DOWNS" disabled=no new-packet-mark=vcd passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="cab DOWNS" disabled=no \
    layer7-protocol="Extension \" .cab \"" new-connection-mark="cab DOWNS" \
    passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "cab DOWNS" disabled=no new-packet-mark=cab passthrough=no protocol=tcp
    add action=mark-connection chain=prerouting comment="asx DOWNS - Stream" \
    disabled=no layer7-protocol="Extension \" .asx \"" new-connection-mark=\
    "asx DOWNS" passthrough=yes protocol=tcp
    add action=mark-packet chain=postrouting comment="" connection-mark=\
    "asx DOWNS" disabled=no new-packet-mark=asx passthrough=no protocol=tcp

    Para fazez Qos

    add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
    max-limit=1M name=Download_queue packet-mark="exe,flv,asx,rar,zip,7z,bin,m\
    p3,mp4,wav,pdf,asf,avi,mov,wmv,mpg,mpeg,rm,iso,nrg,daa,vcd,cab,3gp,ram,rmv\
    b,mkv,wma,youtube" parent=global-out priority=8 queue=default-small



  3. Essa é uma boa saída para estes casos, vou dar uma pesquisada, se não me engano já fiz algo parecido e devo ter anotado em algum lugar

  4. Valeu Izau.. vou tentar marcar estas conexões para sairem pela adsl, junto com o material sujo,... e deixar o que eh mais usado para sair pelo dedicado.. vamos ver se da certo!



  5. Estava vendo agora em meu server... de 10MB de down, 90% era via porta 80..

    Então sem mandar os down para as adsl.. não tenho como fazer...






Tópicos Similares

  1. balanceamento por serviço
    Por clodevaldo no fórum Redes
    Respostas: 1
    Último Post: 19-02-2009, 15:02
  2. Limite de tamanho do arquivo?
    Por x-fabio-x no fórum Servidores de Rede
    Respostas: 7
    Último Post: 13-12-2005, 08:57
  3. Limite de tamanho de mensagens.
    Por andunno no fórum Servidores de Rede
    Respostas: 0
    Último Post: 07-07-2005, 08:03
  4. Limite? de tamanho? de diretórios? do que???
    Por paiano no fórum Servidores de Rede
    Respostas: 4
    Último Post: 07-04-2005, 16:57
  5. Urgente - limite de tamanho de e-mail por usuario no qmail
    Por psalinux no fórum Servidores de Rede
    Respostas: 4
    Último Post: 27-09-2004, 09:53

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L