#775920 nftables: migrate ntftables rules loading to netfilter-persistent framework

Package:
nftables
Source:
nftables
Description:
Program to control packet filtering rules by Netfilter project
Submitter:
Christoph Anton Mitterer
Date:
2015-01-21 14:51:05 UTC
Severity:
wishlist
#775920#5
Date:
2015-01-21 14:48:49 UTC
From:
To:
Hi.

Well I've already mentioned that in the other bug.

IMHO, the nftables package itself shouldn't contain any
logic/init-scripts/units for loading/unloading the rules.

Debian already has the netfilter-persistent package for that
task, which by itself is indepentend of the backend used, so
e.g. for iptables rules, there is another package
"iptables-persistent" which provides the necessary hooks for
netfilter-persistent to do the loading.

This would have several advantages:
- code not being duplicated
- using an existing (more powerful) framework
- other init-scripts/unit-files which generically need to
  depend on firewall loaders wouldn't need to add yet another
  service name to their lists
- more homogeneous and configurable handling of the task among
  the different debian packages (i.e. "iptables" does not
  provide such rules loaders, while "nftables" does)


Cheers,
Chris.