path: root/extensions
diff options
authorPhil Sutter <>2019-02-21 20:09:32 +0100
committerFlorian Westphal <>2019-02-22 17:00:44 +0100
commit06da3ab2c818b15304a285a798eaaf16ebf375ea (patch)
treedf71bd151f23a0165e487443c0446bbe703b4036 /extensions
parentdd1ad59f0df66811335c10ed90c33151a658a50e (diff)
extensions: Add testcase for libxt_ipvs
Given that it is fixed now, make it stay. Signed-off-by: Phil Sutter <> Signed-off-by: Florian Westphal <>
Diffstat (limited to 'extensions')
1 files changed, 20 insertions, 0 deletions
diff --git a/extensions/libxt_ipvs.t b/extensions/libxt_ipvs.t
new file mode 100644
index 00000000..c2acc666
--- /dev/null
+++ b/extensions/libxt_ipvs.t
@@ -0,0 +1,20 @@
+-m ipvs --ipvs;=;OK
+-m ipvs ! --ipvs;=;OK
+-m ipvs --vproto tcp;-m ipvs --vproto 6;OK
+-m ipvs ! --vproto TCP;-m ipvs ! --vproto 6;OK
+-m ipvs --vproto 23;=;OK
+-m ipvs --vaddr;=;OK
+-m ipvs ! --vaddr;-m ipvs ! --vaddr;OK
+-m ipvs --vport http;-m ipvs --vport 80;OK
+-m ipvs ! --vport ssh;-m ipvs ! --vport 22;OK
+-m ipvs --vport 22;=;OK
+-m ipvs ! --vport 443;=;OK
+-m ipvs --vdir ORIGINAL;=;OK
+-m ipvs --vdir REPLY;=;OK
+-m ipvs --vmethod GATE;=;OK
+-m ipvs ! --vmethod IPIP;=;OK
+-m ipvs --vmethod MASQ;=;OK
+-m ipvs --vportctl 21;=;OK
+-m ipvs ! --vportctl 21;=;OK
+-m ipvs --vproto 6 --vaddr --vport 22 --vdir ORIGINAL --vmethod GATE;=;OK