Página 1 de 2 12 ÚltimoÚltimo
+ Responder ao Tópico



  1. Pessoal fiz as seguintes regras para p2p:

    / queue tree
    add name="limitar p2p1" parent=global-in packet-mark=p2p limit-at=0 \
    queue=default priority=8 max-limit=200000 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
    add name="limitar p2p2" parent=global-out packet-mark=p2p limit-at=0 \
    queue=default priority=8 max-limit=200000 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no

    E quando tento usar web cam no msn fica travando e trancando toda hora, se desbilito a regra funciona blz... tem alguma maneira de tratar o trafego p2p sem afetar o trafego das webs no msn??? Help!!!

  2. ola amigo,
    a principio a regra do controle p2p não interfere no uso da webcam, mas de toda sorte, como vc fez a marcação dos pacotes2p (packet-mark=p2p).
    talvez por esse caminho possamos desvendar o misterio.
    post ae a regra e veremos o que podemos fazer.
    abraços



  3. Amigo Josevaldo, desde muit grato pela atenção.

    Vamos lá...

    / ip firewall mangle
    add chain=prerouting p2p=all-p2p action=mark-connection \
    new-connection-mark=p2p passthrough=yes comment="bloquear p2p" \
    disabled=no
    add chain=prerouting connection-mark=p2p action=mark-packet \
    new-packet-mark=p2p2 passthrough=yes comment="" disabled=no

    add chain=forward src-address=192.168.201.0/26 protocol=tcp dst-port=21 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes \
    comment="Marcando Pacotes Sem Limite Conexao Rede 192.168.201.x" \
    disabled=no
    add chain=forward src-address=192.168.201.0/26 protocol=tcp dst-port=22 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.201.0/26 protocol=tcp dst-port=23 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.201.0/26 protocol=tcp dst-port=25 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=yes
    add chain=forward src-address=192.168.201.0/26 protocol=tcp dst-port=53 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.201.0/26 protocol=tcp dst-port=80 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=yes
    add chain=forward src-address=192.168.201.0/26 protocol=tcp dst-port=110 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.201.0/26 protocol=tcp dst-port=443 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.201.0/26 protocol=tcp dst-port=8080 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.201.0/26 protocol=tcp dst-port=6891-6901 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.202.0/26 protocol=tcp dst-port=21 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes \
    comment="Marcando Pacotes Sem Limite Conexao rede 192.168.202.x" \
    disabled=no
    add chain=forward src-address=192.168.202.0/26 protocol=tcp dst-port=22 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.202.0/26 protocol=tcp dst-port=23 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.202.0/26 protocol=tcp dst-port=25 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.202.0/26 protocol=tcp dst-port=53 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.202.0/26 protocol=tcp dst-port=80 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=yes
    add chain=forward src-address=192.168.202.0/26 protocol=tcp dst-port=110 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.202.0/26 protocol=tcp dst-port=443 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=yes
    add chain=forward src-address=192.168.202.0/26 protocol=tcp dst-port=8080 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.202.0/26 protocol=tcp dst-port=6891-6901 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.203.0/26 protocol=tcp dst-port=21 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes \
    comment="Marcando Pacotes Sem Limite Conexao rede 192.168.203.x" \
    disabled=no
    add chain=forward src-address=192.168.203.0/26 protocol=tcp dst-port=22 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.203.0/26 protocol=tcp dst-port=23 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.203.0/26 protocol=tcp dst-port=25 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=yes
    add chain=forward src-address=192.168.203.0/26 protocol=tcp dst-port=53 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.203.0/26 protocol=tcp dst-port=80 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=yes
    add chain=forward src-address=192.168.203.0/26 protocol=tcp dst-port=110 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.203.0/26 protocol=tcp dst-port=443 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=yes
    add chain=forward src-address=192.168.203.0/26 protocol=tcp dst-port=8080 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.203.0/26 protocol=tcp dst-port=6891-6901 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.204.0/26 protocol=tcp dst-port=21 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes \
    comment="Marcando Pacotes Sem Limite Conexao rede 192.168.204.x" \
    disabled=no
    add chain=forward src-address=192.168.204.0/26 protocol=tcp dst-port=22 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.204.0/26 protocol=tcp dst-port=23 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.204.0/26 protocol=tcp dst-port=25 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=yes
    add chain=forward src-address=192.168.204.0/26 protocol=tcp dst-port=53 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.204.0/26 protocol=tcp dst-port=80 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=yes
    add chain=forward src-address=192.168.204.0/26 protocol=tcp dst-port=110 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.204.0/26 protocol=tcp dst-port=443 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=yes
    add chain=forward src-address=192.168.204.0/26 protocol=tcp dst-port=8080 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no
    add chain=forward src-address=192.168.204.0/26 protocol=tcp dst-port=6891-6901 \
    action=mark-packet new-packet-mark=semlimite passthrough=yes comment="" \
    disabled=no

    Se tiver uma maneira de otimizar todas essas regras sinta-se a vontade.....Abraços!!!

  4. Caro colega tenta essas regras. Desabilite o P2P queues tree e crie em queues simple. A regra do QUEUEs deve sempre estar em primeiro.

    / ip firewall mangle

    add chain=foward p2p=all-p2p action=mark-connection \
    new-connection-mark=p2p passthrough=yes comment="bloquear p2p" disabled=no
    add chain=foward connection-mark=p2p action=mark-packet \
    new-packet-mark=p2p passthrough=yes comment="" disabled=no
    add chain=foward connection-mark=!p2p action=mark-packet \
    new-packet-mark=Outros passthrough=yes comment="" disabled=no

    / ip queue simple

    add name="P2P" dst-address=0.0.0.0/0 interface=all parent=none packet-marks=p2p direction=both priority=6 \
    queue=default/default limit-at=0/0 max-limit=512000/512000 total-queue=default time=0s-24m,sun,mon,tue,wed,thu,fri,sat \
    disabled=no



  5. Amigo Minelli, gato pela atenção, coloquei as regras mas não marcou os pacotes!!!!!! estranho, pois pela logica deveria funcionar...






Tópicos Similares

  1. Web Cam Vista Plus / D-Link DSB-C320
    Por georgemattos no fórum Sistemas Operacionais
    Respostas: 0
    Último Post: 16-12-2005, 17:58
  2. web cam
    Por Rafael1986 no fórum Sistemas Operacionais
    Respostas: 4
    Último Post: 24-11-2005, 16:11
  3. Web Cam no Linux?
    Por garupeiro no fórum Sistemas Operacionais
    Respostas: 7
    Último Post: 29-12-2004, 15:08
  4. TEM COMO EU USAR WEB CAM NO SQUID ?
    Por sevenpiercing no fórum Servidores de Rede
    Respostas: 9
    Último Post: 11-03-2004, 19:30
  5. Servidor Web Cam
    Por no fórum Servidores de Rede
    Respostas: 0
    Último Post: 29-12-2002, 14:01

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L