summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libxt_quota.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/libxt_quota.t b/extensions/libxt_quota.t
new file mode 100644
index 00000000..76f0ee95
--- /dev/null
+++ b/extensions/libxt_quota.t
@@ -0,0 +1,10 @@
+:INPUT,FORWARD,OUTPUT
+-m quota --quota 0;=;OK
+# iptables-save shows wrong output
+# ERROR: cannot find: iptables -I INPUT -m quota ! --quota 0)
+#-m quota ! --quota 0;=;OK
+-m quota --quota 18446744073709551615;=;OK
+# ERROR: cannot find: iptables -I INPUT -m quota ! --quota 18446744073709551615
+#-m quota ! --quota 18446744073709551615;=;OK
+-m quota --quota 18446744073709551616;;FAIL
+-m quota;;FAIL