summaryrefslogtreecommitdiffstats
path: root/tests/options-most.rules
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-08-21 12:46:08 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-08-21 12:46:08 +0200
commit7e42bda9330afe717561c47a02a3f58c8ee1a246 (patch)
tree02b7501229021658c1c640389ab12f69406485a9 /tests/options-most.rules
parent03deef5241330db418652c42af4d517527743f22 (diff)
tests: add negation tests for libxt_statistic
Note: it is valid to check cb->invert before calling xtables_option_parse. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'tests/options-most.rules')
-rw-r--r--tests/options-most.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/options-most.rules b/tests/options-most.rules
index c2436499..0e876e65 100644
--- a/tests/options-most.rules
+++ b/tests/options-most.rules
@@ -123,6 +123,10 @@
-A matches
-A matches -p tcp -m tcpmss --mss 5:65535
-A matches
+-A matches -m statistic --mode random ! --probability 0.4
+-A matches
+-A matches -m statistic --mode nth ! --every 5 --packet 2
+-A matches
-A matches -m time --timestart 01:02:03 --timestop 04:05:06 --monthdays 1,2,3,4,5 --weekdays Mon,Fri,Sun --datestart 2001-02-03T04:05:06 --datestop 2012-09-08T09:06:05 --localtz
-A matches
-A matches -m time --timestart 01:02:03 --timestop 04:05:06 --monthdays 1,2,3,4,5 --weekdays Mon,Fri,Sun --datestart 2001-02-03T04:05:06 --datestop 2012-09-08T09:06:05 --kerneltz