From 8f4c67fe008261ff6075e162e5e5eb2860cd7dab Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 12 Nov 2007 06:02:13 +0000 Subject: Document xt_statistic (Stefano Sabatini ) --- extensions/libxt_statistic.man | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 extensions/libxt_statistic.man diff --git a/extensions/libxt_statistic.man b/extensions/libxt_statistic.man new file mode 100644 index 00000000..007251d3 --- /dev/null +++ b/extensions/libxt_statistic.man @@ -0,0 +1,30 @@ +This module matches packets based on some statistic condition. +It supports two distinct modes settable with the +.B --mode +option. +.TP +Supported options: +.TP +.BI "--mode " "mode" +Set the matching mode of the matching rule, supported modes are +.B random +and +.B nth. +.TP +.BI "--probability " "p" +Set the probability from 0 to 1 for a packet to be randomly +matched. It works only with the +.B random +mode. +.TP +.BI "--every " "n" +Match one packet every nth packet. It works only with the +.B nth +mode (see also the +.B --packet +option). +.TP +.BI "--packet " "p" +Set the initial counter value (0 <= p <= n-1, default 0) for the +.B nth +mode. -- cgit v1.2.3