changing trunk/trunk to trunk
[iptables.git] / extensions / libxt_statistic.man
1 This module matches packets based on some statistic condition.
2 It supports two distinct modes settable with the 
3 .B --mode
4 option.
5 .TP
6 Supported options:
7 .TP
8 .BI "--mode " "mode"
9 Set the matching mode of the matching rule, supported modes are
10 .B random
11 and
12 .B nth. 
13 .TP
14 .BI "--probability " "p"
15 Set the probability from 0 to 1 for a packet to be randomly
16 matched. It works only with the
17 .B random
18 mode.
19 .TP
20 .BI "--every " "n"
21 Match one packet every nth packet. It works only with the
22 .B nth
23 mode (see also the 
24 .B --packet
25 option).
26 .TP
27 .BI "--packet " "p"
28 Set the initial counter value (0 <= p <= n-1, default 0) for the
29 .B nth 
30 mode.