Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/nftables: Update init script

From: Sören Tempel <soeren_at_soeren-tempel.net>
Date: Sat, 9 Jan 2016 16:35:00 +0100

On 08.01.16, Ben Allen wrote:
> Updating main/nftables init script. Based on the newer Gentoo init
> script:
> https://gitweb.gentoo.org/repo/gentoo.git/tree/net-firewall/nftables/files/nftables.init-r2.
> Merged nftables.sh from Gentoo's version into the init script itself,
> and removed the legacy functionality. Adding descriptions for each
> action as well.

I was actually considering to write a custom service for nftables since
I believe that the Gentoo service is too complicated. Simply invoking
`nft -f ${some_configuration_file}` on start and `nft flush ruleset`
should be good enough, shouldn't it?

Sören.


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Jan 09 2016 - 16:35:00 GMT