Add support for "statistic" module
I need support for “-m statistic” module and its options:
Supported options: --mode mode Set the matching mode of the matching rule, supported modes are random and nth. --probability p Set the probability from 0 to 1 for a packet to be randomly matched. It works only with the random mode. --every n Match one packet every nth packet. It works only with the nth mode (see also the --packet option). --packet p Set the initial counter value (0 <= p <= n-1, default 0) for the nth mode.
(from redmine: issue id 1587, created on 2013-01-25, closed on 2013-02-08)
- Revision 6e5fc5f5 by Kaarle Ritvanen on 2013-01-30T14:21:45Z:
statistical packet logging fixes #1587