Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2004 18:56:57 +0400
From:      Alexey Karguine <bm@netmaster.ru>
To:        "Matin Tamizi" <matin@umd.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to drop a packet
Message-ID:  <20040713185657.69d7e5ad.bm@netmaster.ru>
In-Reply-To: <1089730314.92bcbe00matin@umd.edu>
References:  <1089730314.92bcbe00matin@umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 13 Jul 2004 10:51:54 -0400 "Matin Tamizi" <matin@umd.edu> wrote:

> I'm using a FreeBSD box as a router in a test network.
> For the tests that I am running, I need to be able to drop
> random packets and observe the effects (responsiveness).

> What utilities in FreeBSD or C will allow me to perform
> the function of dropping a random packet?

> Thank you,
> Matin

You can use 'ipfw' to drop packets with given probability.

Run 'man ipfw' for details.

--bm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040713185657.69d7e5ad.bm>