Home | History | Annotate | Download | only in extensions
      1 This module matches packets based on some statistic condition.
      2 It supports two distinct modes settable with the 
      3 \fB\-\-mode\fP
      4 option.
      5 .PP
      6 Supported options:
      7 .TP
      8 \fB\-\-mode\fP \fImode\fP
      9 Set the matching mode of the matching rule, supported modes are
     10 .B random
     11 and
     12 .B nth. 
     13 .TP
     14 [\fB!\fP] \fB\-\-probability\fP \fIp\fP
     15 Set the probability for a packet to be randomly matched. It only works with the
     16 \fBrandom\fP mode. \fIp\fP must be within 0.0 and 1.0. The supported
     17 granularity is in 1/2147483648th increments.
     18 .TP
     19 [\fB!\fP] \fB\-\-every\fP \fIn\fP
     20 Match one packet every nth packet. It works only with the
     21 .B nth
     22 mode (see also the 
     23 \fB\-\-packet\fP
     24 option).
     25 .TP
     26 \fB\-\-packet\fP \fIp\fP
     27 Set the initial counter value (0 <= p <= n\-1, default 0) for the
     28 .B nth 
     29 mode.
     30