On Thu, Jun 23, 2005 at 07:07:28PM +0300, Fatih D?zova wrote:
> hello,
> I am trying to find where filtering is done in order to drop packets
> randomly there (eg.10%of them) for a testing purpose in a school
> project.
> I want to do this after packet is filtered and before being sent. I d
> aprreciate if you could help or suggest.
I guess you could do that with iptables.

I didnt try, but `man iptables' told me about
iptables ... --match random --average <percent> ...

I use iptables-1.2.11. (Also '--match nth --every <value>' is there)

> Thanks.

-- 
  _,-=._              /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
     `._ _,-.   )      _,.-'
        `    G.m-"^m`m'        Dmytro O. Redchuk

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to