Re: Drop random 20% of packets on port?

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

 



On Feb 8 2007 18:14, Michael B Allen wrote:
>
>I have several network protocol handlers that I would like to test. Can
>someone recommend a method to deliberatedly drop a certain percentage
>of packets destined for a particular port and in a random way using
>netfilter or something else?

-m statistic --mode random --probability 0.5 -j DROP



Jan
-- 


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux