From 6b29a5bebb957387fe1aac8fcbfd431e6be237f0 Mon Sep 17 00:00:00 2001 From: Arturo Borrero Date: Fri, 11 Dec 2015 11:10:14 +0100 Subject: tests/: rearrange tests directory Rearrange the directory to obtain a better organization of files and tests-suites. We end with a tree like this: tests | .--- py .--- shell .--- files This was suggested by Pablo. Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- tests/files/family-ipv6 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/files/family-ipv6 (limited to 'tests/files/family-ipv6') diff --git a/tests/files/family-ipv6 b/tests/files/family-ipv6 new file mode 100644 index 00000000..cfc740c1 --- /dev/null +++ b/tests/files/family-ipv6 @@ -0,0 +1,13 @@ +#! nft -f + +add table ip6 filter +add chain ip6 filter output { type filter hook output priority 0 ; } + +# IP address +add rule ip6 filter output ip6 daddr 2001:6f8:974::1 counter + +# Next protocol +add rule ip6 filter output ip6 nexthdr tcp + +# TCP ports +add rule ip6 filter output tcp dport 22 counter -- cgit v1.2.3