From 08435cc55fbd89b271309d5ebba3dda775232898 Mon Sep 17 00:00:00 2001 From: Ana Rey Date: Thu, 18 Sep 2014 12:39:16 +0200 Subject: tests: Add ip folder with test files "ip" folder contains the test files that are executed in ip and inet family of tables. These test files are executed with nft-tests.py Signed-off-by: Ana Rey Signed-off-by: Pablo Neira Ayuso --- tests/regression/ip/chains.t | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/regression/ip/chains.t (limited to 'tests/regression/ip/chains.t') diff --git a/tests/regression/ip/chains.t b/tests/regression/ip/chains.t new file mode 100644 index 00000000..92a1147c --- /dev/null +++ b/tests/regression/ip/chains.t @@ -0,0 +1,22 @@ +*ip;test-ip4 +-*inet;test-inet + +# filter chains available are: input, output, forward, prerouting, postrouting +:filter-input;type filter hook input priority 0 +:filter-pre;type filter hook prerouting priority 0 +:filter-forw;type filter hook forward priority 0 +:filter-out;type filter hook output priority 0 +:filter-post;type filter hook postrouting priority 0 +# nat chains available are: input, output, prerouting, postrouting +:nat-input-t;type nat hook input priority 0 +:nat-pre-t;type nat hook prerouting priority 0 +:nat-out-t;type nat hook output priority 0 +:nat-post-t;type nat hook postrouting priority 0 +# route chain available are: output +:route-out-t;type route hook output priority 0 + +#ip daddr 192.168.0.1-192.168.0.250;ok +#ip daddr 192.168.0.1;ok +#ip daddr 192.168.0.1 drop;ok +#ip daddr 192.168.0.2 log;ok +#ip daddr 192.168.0.2 log;ok -- cgit v1.2.3