From: Dietmar Maurer Date: Wed, 21 May 2014 06:39:33 +0000 (+0200) Subject: add test case to show serious bug X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=c4c477f3d21ad6105a384ff7e0173808dcc57d74;hp=3324948a51eeb8c315fc49175fb1f0f35e799342;ds=sidebyside add test case to show serious bug --- diff --git a/test/test-errors1/100.fw b/test/test-errors1/100.fw new file mode 100644 index 0000000..25d9a2c --- /dev/null +++ b/test/test-errors1/100.fw @@ -0,0 +1,9 @@ +[OPTIONS] + +enable: 1 + +[RULES] + +# rule with dport but missing protocol +IN ACCEPT -dport 80 + diff --git a/test/test-errors1/tests b/test/test-errors1/tests new file mode 100644 index 0000000..4c4bf67 --- /dev/null +++ b/test/test-errors1/tests @@ -0,0 +1,2 @@ +{ from => 'outside', to => 'vm100', dport => 80, action => 'ACCEPT' } +{ from => 'outside', to => 'vm100', dport => 81, action => 'DROP' } \ No newline at end of file