Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2001 17:57:39 +0200
From:      "serkoon" <serkoon@thedarkside.nl>
To:        <freebsd-security@freebsd.org>
Subject:   Re: ipfw pipe command
Message-ID:  <004901c10e10$0a7c52f0$0200000a@kilmarnock>
References:  <Pine.BSF.4.21.0107161126520.9228-100000@bemused.tcpns.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> ipfw pipe 10 config bw 5Kbit/s queue 4Mbytes
> ipfw add pipe 10 tcp from x.x.x.x 41000-42000 to any out xmit fxp0
> 
...
>  Can anyone that uses pipes tell me what I did
> wrong or how to better troubleshoot this? Thanks!

Try swapping the two lines, eg:
ipfw add pipe 10 tcp from x.x.x.x 41000-42000 to any out xmit fxp0
ipfw pipe 10 config bw 5KBit/s queue 4Mbytes

Btw:

1) You should/could use rule-numbers: ipfw add 1000 pipe .. . 
2) A queue of 4Mbyte is HUGE when limiting at 5kbit, see the man for
    hints regarding this.

Regards



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004901c10e10$0a7c52f0$0200000a>