diff options
authorStefano Sabatini <>2007-11-12 06:02:13 +0000
committerPatrick McHardy <>2007-11-12 06:02:13 +0000
commit8f4c67fe008261ff6075e162e5e5eb2860cd7dab (patch)
parentb9cde3a0dd4cf9df668887231f42bc267612a569 (diff)
Document xt_statistic (Stefano Sabatini <>)
1 files changed, 30 insertions, 0 deletions
diff --git a/extensions/ b/extensions/
new file mode 100644
index 00000000..007251d3
--- /dev/null
+++ b/extensions/
@@ -0,0 +1,30 @@
+This module matches packets based on some statistic condition.
+It supports two distinct modes settable with the
+.B --mode
+Supported options:
+.BI "--mode " "mode"
+Set the matching mode of the matching rule, supported modes are
+.B random
+.B nth.
+.BI "--probability " "p"
+Set the probability from 0 to 1 for a packet to be randomly
+matched. It works only with the
+.B random
+.BI "--every " "n"
+Match one packet every nth packet. It works only with the
+.B nth
+mode (see also the
+.B --packet
+.BI "--packet " "p"
+Set the initial counter value (0 <= p <= n-1, default 0) for the
+.B nth