Re: [FUG-BR] throttled pro
Então, o throttled meu atendeu melhor, descobri uma forma de ele achar o ip da maquina sozinho. Valeu pelo ipfw. - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
[FUG-BR] throttled pro
Pessoal, tenho usado o throttled pro mas não sei se está certo, meu ip na maquina é sempre 192.168.1.6 http://www.fug.com.br/content/view/60/9/ sh-3.2# ipfw list 00070 skipto 71 ip from 192.168.1.6 to 192.168.1.0/24 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any out xmit en0 tcpflags ack iplen 0-70 00070 divert 17779 tcp from 192.168.1.6 to any setup out xmit en0 00070 divert 17779 icmp from any to any out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port 53 out xmit en0 00070 divert 17779 udp from 192.168.1.6 to any dst-port 53 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 80 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 443 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 3130 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 8080 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 8118 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 9001 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 9030 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port 9050 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 9051 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port 22 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 143 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 21 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 1863 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 6667 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 6668 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 3689 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 16732 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 32700 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 32703 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 32715 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 51413 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 16000 out xmit en0 00070 divert 1 ip from 192.168.1.6 to any out xmit en0 33300 deny icmp from any to me in icmptypes 8 65535 allow ip from any to any - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
Re: [FUG-BR] throttled pro
Pelo que entendi lendo por alto o texto, ele é para priorizar os ACK. Se é isto mesmo, não é necessário. Isto pode ser feito com o ipfw e a dummynet. ipfw pipe 100 config bw 150Kbit/s queue 100 ipfw queue 100 config pipe 100 weight 1 queue 100 ipfw queue 199 config pipe 100 weight 100 queue 100 ipfw add 1000 queue 199 tcp from me to any out tcpflags ack ipfw add 1010 queue 199 tcp from me to any out tcpoptions sack ipfw add 1099 queue 100 ip from me to any Acima é um esqueleto básico, que deve ser adaptado para o seu caso, mas deve funcionar quase sem modificações se é só a própria máquina ligada no ADSL. Uma das modificações a ser feita é a banda, que não deve ser muito superior à banda de upload, e talvez igual ou um pouco menor. João Rocha. On Wed, Aug 6, 2008 at 2:00 PM, web 2.0 [EMAIL PROTECTED] wrote: Pessoal, tenho usado o throttled pro mas não sei se está certo, meu ip na maquina é sempre 192.168.1.6 http://www.fug.com.br/content/view/60/9/ sh-3.2# ipfw list 00070 skipto 71 ip from 192.168.1.6 to 192.168.1.0/24 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any out xmit en0 tcpflags ack iplen 0-70 00070 divert 17779 tcp from 192.168.1.6 to any setup out xmit en0 00070 divert 17779 icmp from any to any out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port 53 out xmit en0 00070 divert 17779 udp from 192.168.1.6 to any dst-port 53 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 80 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 443 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 3130 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 8080 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 8118 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 9001 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 9030 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port 9050 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 9051 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port 22 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 143 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 21 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 1863 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 6667 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 6668 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 3689 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 16732 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 32700 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 32703 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 32715 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 51413 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 16000 out xmit en0 00070 divert 1 ip from 192.168.1.6 to any out xmit en0 33300 deny icmp from any to me in icmptypes 8 65535 allow ip from any to any - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd -- Sempre se apanha mais com as menores besteiras. Experiência própria. [EMAIL PROTECTED] - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
Re: [FUG-BR] throttled pro
Valeu João. Vou testar, vai ser ate melhor pela sua dia. Porque as vezes meu ip é 192.168.1.6 e as vezes 192.168.1.7 []'s 2008/8/6 Joao Rocha Braga Filho [EMAIL PROTECTED] Pelo que entendi lendo por alto o texto, ele é para priorizar os ACK. Se é isto mesmo, não é necessário. Isto pode ser feito com o ipfw e a dummynet. ipfw pipe 100 config bw 150Kbit/s queue 100 ipfw queue 100 config pipe 100 weight 1 queue 100 ipfw queue 199 config pipe 100 weight 100 queue 100 ipfw add 1000 queue 199 tcp from me to any out tcpflags ack ipfw add 1010 queue 199 tcp from me to any out tcpoptions sack ipfw add 1099 queue 100 ip from me to any Acima é um esqueleto básico, que deve ser adaptado para o seu caso, mas deve funcionar quase sem modificações se é só a própria máquina ligada no ADSL. Uma das modificações a ser feita é a banda, que não deve ser muito superior à banda de upload, e talvez igual ou um pouco menor. João Rocha. On Wed, Aug 6, 2008 at 2:00 PM, web 2.0 [EMAIL PROTECTED] wrote: Pessoal, tenho usado o throttled pro mas não sei se está certo, meu ip na maquina é sempre 192.168.1.6 http://www.fug.com.br/content/view/60/9/ sh-3.2# ipfw list 00070 skipto 71 ip from 192.168.1.6 to 192.168.1.0/24 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any out xmit en0 tcpflags ack iplen 0-70 00070 divert 17779 tcp from 192.168.1.6 to any setup out xmit en0 00070 divert 17779 icmp from any to any out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port 53 out xmit en0 00070 divert 17779 udp from 192.168.1.6 to any dst-port 53 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 80 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 443 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 3130 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 8080 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 8118 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 9001 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 9030 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port 9050 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 9051 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port 22 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 143 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 21 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 1863 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 6667 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 6668 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 3689 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 16732 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 32700 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 32703 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 32715 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 51413 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 16000 out xmit en0 00070 divert 1 ip from 192.168.1.6 to any out xmit en0 33300 deny icmp from any to me in icmptypes 8 65535 allow ip from any to any - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd -- Sempre se apanha mais com as menores besteiras. Experiência própria. [EMAIL PROTECTED] - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
Re: [FUG-BR] throttled pro
2008/8/6 web 2.0 [EMAIL PROTECTED]: Valeu João. Vou testar, vai ser ate melhor pela sua dia. Porque as vezes meu ip é 192.168.1.6 e as vezes 192.168.1.7 No caso o me representa todo e qualquer IP da máquina. O efeito colateral é consumir mais CPU, mas como a banda não é grande, isto não deve ser problema. João Rocha. []'s 2008/8/6 Joao Rocha Braga Filho [EMAIL PROTECTED] Pelo que entendi lendo por alto o texto, ele é para priorizar os ACK. Se é isto mesmo, não é necessário. Isto pode ser feito com o ipfw e a dummynet. ipfw pipe 100 config bw 150Kbit/s queue 100 ipfw queue 100 config pipe 100 weight 1 queue 100 ipfw queue 199 config pipe 100 weight 100 queue 100 ipfw add 1000 queue 199 tcp from me to any out tcpflags ack ipfw add 1010 queue 199 tcp from me to any out tcpoptions sack ipfw add 1099 queue 100 ip from me to any Acima é um esqueleto básico, que deve ser adaptado para o seu caso, mas deve funcionar quase sem modificações se é só a própria máquina ligada no ADSL. Uma das modificações a ser feita é a banda, que não deve ser muito superior à banda de upload, e talvez igual ou um pouco menor. João Rocha. On Wed, Aug 6, 2008 at 2:00 PM, web 2.0 [EMAIL PROTECTED] wrote: Pessoal, tenho usado o throttled pro mas não sei se está certo, meu ip na maquina é sempre 192.168.1.6 http://www.fug.com.br/content/view/60/9/ sh-3.2# ipfw list 00070 skipto 71 ip from 192.168.1.6 to 192.168.1.0/24 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any out xmit en0 tcpflags ack iplen 0-70 00070 divert 17779 tcp from 192.168.1.6 to any setup out xmit en0 00070 divert 17779 icmp from any to any out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port 53 out xmit en0 00070 divert 17779 udp from 192.168.1.6 to any dst-port 53 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 80 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 443 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 3130 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 8080 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 8118 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 9001 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 9030 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port 9050 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 9051 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port 22 out xmit en0 00070 divert 17779 tcp from 192.168.1.6 to any dst-port out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 143 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 21 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 1863 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 6667 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 6668 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 3689 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 16732 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 32700 out xmit en0 00070 divert 17778 tcp from 192.168.1.6 to any dst-port 32703 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 32715 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 51413 out xmit en0 00070 divert 1 tcp from 192.168.1.6 to any dst-port 16000 out xmit en0 00070 divert 1 ip from 192.168.1.6 to any out xmit en0 33300 deny icmp from any to me in icmptypes 8 65535 allow ip from any to any - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd -- Sempre se apanha mais com as menores besteiras. Experiência própria. [EMAIL PROTECTED] - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd -- Sempre se apanha mais com as menores besteiras. Experiência própria. [EMAIL PROTECTED] - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
[FUG-BR] throttled
throttled quais programas similares existem ? Por exemplo pelo linux a opção mangle no iptables faz isso ? - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd