Blame extensions/libxt_statistic.man

Packit 7b22a4
This module matches packets based on some statistic condition.
Packit 7b22a4
It supports two distinct modes settable with the 
Packit 7b22a4
\fB\-\-mode\fP
Packit 7b22a4
option.
Packit 7b22a4
.PP
Packit 7b22a4
Supported options:
Packit 7b22a4
.TP
Packit 7b22a4
\fB\-\-mode\fP \fImode\fP
Packit 7b22a4
Set the matching mode of the matching rule, supported modes are
Packit 7b22a4
.B random
Packit 7b22a4
and
Packit 7b22a4
.B nth. 
Packit 7b22a4
.TP
Packit 7b22a4
[\fB!\fP] \fB\-\-probability\fP \fIp\fP
Packit 7b22a4
Set the probability for a packet to be randomly matched. It only works with the
Packit 7b22a4
\fBrandom\fP mode. \fIp\fP must be within 0.0 and 1.0. The supported
Packit 7b22a4
granularity is in 1/2147483648th increments.
Packit 7b22a4
.TP
Packit 7b22a4
[\fB!\fP] \fB\-\-every\fP \fIn\fP
Packit 7b22a4
Match one packet every nth packet. It works only with the
Packit 7b22a4
.B nth
Packit 7b22a4
mode (see also the 
Packit 7b22a4
\fB\-\-packet\fP
Packit 7b22a4
option).
Packit 7b22a4
.TP
Packit 7b22a4
\fB\-\-packet\fP \fIp\fP
Packit 7b22a4
Set the initial counter value (0 <= p <= n\-1, default 0) for the
Packit 7b22a4
.B nth 
Packit 7b22a4
mode.