[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to modify input-chain to simulate "lost packets"?



On Sun, Sep 28, 2003 at 12:54:31PM +0200, Stefan Neufeind wrote:
> So what I basically need is something like:
> - drop every 17th (or other) packet on the input chain
> OR
> - drop aprox. 2% of traffic but vary a bit
> 
> Anybody got an idea how to achieve this? Thank you for your help.

I heard there is an "-m random" netfilter module in netfilter CVS, which
should let you do exactly this.

Marcin
-- 
Marcin Owsiany <porridge@debian.org>             http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216



Reply to: