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