[FUGSPBR] Re: regra ipfw

Celso Viana celso.vianna em gmail.com
Sex Nov 5 19:31:57 BRST 2004


William,

Nas linhas abaixo, o que significa... "...red 0.002/1/80/0.1"


IPFW pipe 1 config mask src-ip 0x000000ff bw 10KBytes/s queue 50 red
0.002/1/90/0.1
$IPFW pipe 2 config mask dst-ip 0x000000ff bw 20KBytes/s queue 50 red
0.002/1/80/0.1

Celso

On Thu, 4 Nov 2004 23:41:46 -0200, William Armstrong
<biosystems em gmail.com> wrote:
> para portas sempre fiz assim
> $IPFW add pipe 11 udp from 192.168.33.2 27005,27010,27015 to any out via ep0
> $IPFW add pipe 12 udp from any to 192.168.33.2 27005,27010,27015 in via ep0
> $IPFW pipe 11 config mask src-ip 0x000000ff bw 8KBytes/s
> $IPFW pipe 12 config mask dst-ip 0x000000ff bw 8KBytes/s
> 
> outro exemplo.
> 
> # Traffic Shapper  porta  80  rede 192.168.33.0/28
> $IPFW add pipe 2 tcp from any to 192.168.33.2 80 in via ep0 keep-state
> $IPFW add pipe 1 tcp from 192.168.33.2 80 to any out via ep0 keep-state
> $IPFW pipe 1 config mask src-ip 0x000000ff bw 10KBytes/s queue 50 red
> 0.002/1/90/0.1
> $IPFW pipe 2 config mask dst-ip 0x000000ff bw 20KBytes/s queue 50 red
> 0.002/1/80/0.1
> 
> # Traffic Shapper  porta  443  rede 192.168.33.0/28
> $IPFW add pipe 4 tcp from any to 192.168.33.2 443 in via ep0 keep-state
> $IPFW add pipe 3 tcp from 192.168.33.2 443 to any out via ep0 keep-state
> $IPFW pipe 3 config mask src-ip 0x000000ff bw 10KBytes/s queue 50 red
> 0.002/1/90/0.1
> $IPFW pipe 4 config mask dst-ip 0x000000ff bw 20KBytes/s queue 50 red
> 0.002/1/80/0.1
> _______________________________________________________________
> Para enviar um novo email para a lista: fugspbr em fugspbr.org
> Sair da Lista: http://lists.fugspbr.org/listinfo.cgi
> Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
>
_______________________________________________________________
Para enviar um novo email para a lista: fugspbr em fugspbr.org
Sair da Lista: http://lists.fugspbr.org/listinfo.cgi
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/



Mais detalhes sobre a lista de discussão freebsd