Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Mar 2001 13:06:39 -0600
From:      Christopher Schulte <christopher@schulte.org>
To:        "G D McKee" <freebsd@gdmckee.com>, "Ruslan Ermilov" <ru@FreeBSD.ORG>, "Timothy S. Bowers" <tim@nol.co.za>
Cc:        <freebsd-security@FreeBSD.ORG>
Subject:   Re: TOS ipfw
Message-ID:  <5.0.2.1.0.20010307125057.00af5268@pop.schulte.org>
In-Reply-To: <001501c0a736$e284cb00$0500a8c0@gdmckee.local>
References:  <5.0.2.1.2.20010307163300.02020040@196.33.45.2> <20010307164104.C97252@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 06:46 PM 3/7/2001 +0000, G D McKee wrote:
>Is it also possible to perform bandwidth allocation to single IP addresses
>as well - would be handy to emulation a V90 modem.

Sure, something like this might do you good...

/sbin/ipfw add pipe 1 ip from foo.bar.ip.here to any
/sbin/ipfw add pipe 1 ip from any to foo.bar.ip.here
/sbin/ipfw pipe 1 config bw 45Kbit/s delay 150ms

Which would create a 45kbit pipe for all inbound and outbound traffic for 
said foo ip, and add 150 ms of latency to packet delivery.

You can do more fancy things with other dummynet options:

`man dummynet` or
http://www.iet.unipi.it/~luigi/ip_dummynet/

>Gordon


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?5.0.2.1.0.20010307125057.00af5268>