Open smitsohu opened 5 years ago
I would also suggest the same for NFtables, they will replace the outdated IPtables. Btw.: In Debian-Buster NFtables will be the new Standard.
netfilter6
Let's go for it. Anybody has some experience with IPv6? Adding it to the code and making it default should be pretty easy. The problem is I have no idea how to set an IPv6 filter.
NFtables
I'll start working on it and pass a patch file to @reinerh to add it to Debian version once it is released, or even earlier, depending how it goes.
NF
https://gist.github.com/jirutka/3742890 has a lot of good commented (iptables) examples for both IPv4 and IPv6, licensed MIT.
Currrently we have a default ipv4 firewall for new network namespaces (
netfilter
), but no companion for ipv6. Probably it would be good if thenetfilter6
option had a default and was added to all profiles that havenetfilter
already.Once in place, there could be also a toggle in firefail.config to optionally enforce these firewalls for all new network namespaces. One could even contemplate whether to turn this on by default.