]> git.ipfire.org Git - thirdparty/nftables.git/commit
nftables: rearrange files and examples
authorArturo Borrero Gonzalez <arturo@netfilter.org>
Sat, 24 Feb 2018 21:06:19 +0000 (22:06 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 25 Feb 2018 18:50:23 +0000 (19:50 +0100)
commit6c9230e79339ca4fd662855c84529fa92e962ca5
tree9d34224c6e5a8799edde4a5a7fa20517b7ee630f
parent4d6ad0f310d6cc3a1d776d32d9d7d678017c6dd7
nftables: rearrange files and examples

Concatenate all family/hook examples into a single one by means of includes.

Put all example files under examples/. Use the '.nft' prefix and mark
them as executable files. Use a static shebang declaration, since these
are examples meant for final systems and users.

While at it, refresh also the sets_and_maps.nft example file and also
add the 'netdev-ingress.nft' example file.

Signed-off-by: Arturo Borrero Gonzalez <arturo@netfilter.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
18 files changed:
Makefile.am
configure.ac
files/Makefile.am [deleted file]
files/examples/arp-filter.nft [moved from files/nftables/arp-filter with 87% similarity, mode: 0755]
files/examples/bridge-filter.nft [moved from files/nftables/bridge-filter with 91% similarity, mode: 0755]
files/examples/families_and_hooks.nft [new file with mode: 0755]
files/examples/inet-filter.nft [moved from files/nftables/inet-filter with 90% similarity, mode: 0755]
files/examples/ipv4-filter.nft [moved from files/nftables/ipv4-filter with 90% similarity, mode: 0755]
files/examples/ipv4-mangle.nft [moved from files/nftables/ipv4-mangle with 79% similarity, mode: 0755]
files/examples/ipv4-nat.nft [moved from files/nftables/ipv4-nat with 92% similarity, mode: 0755]
files/examples/ipv4-raw.nft [moved from files/nftables/ipv4-raw with 87% similarity, mode: 0755]
files/examples/ipv6-filter.nft [moved from files/nftables/ipv6-filter with 90% similarity, mode: 0755]
files/examples/ipv6-mangle.nft [moved from files/nftables/ipv6-mangle with 80% similarity, mode: 0755]
files/examples/ipv6-nat.nft [moved from files/nftables/ipv6-nat with 93% similarity, mode: 0755]
files/examples/ipv6-raw.nft [moved from files/nftables/ipv6-raw with 88% similarity, mode: 0755]
files/examples/netdev-ingress.nft [new file with mode: 0755]
files/examples/sets_and_maps.nft [moved from files/examples/sets_and_maps with 82% similarity]
files/nftables/Makefile.am [deleted file]