Re: where s filtering done?

Linux Advanced Routing and Traffic Control

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

 



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
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux