How to drop a packet
Alexey Karguine
bm at netmaster.ru
Tue Jul 13 07:55:01 PDT 2004
On Tue, 13 Jul 2004 10:51:54 -0400 "Matin Tamizi" <matin at 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
More information about the freebsd-questions
mailing list