Basic firewall using nftables #193
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
profiles/iso-profiles#193
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
set status to To do
nftableshas become the defacto standard, I suggest use it as default.nftablestoshared/Packages-Rootprofiles.confinenable_systemdconfiguration itemufwto usenftablesinsteadDocumentation
firewalldinstead ofufwDefault as opposed to what?
iptablesnow depends onnftablesandufwdepends oniptables. All ISO profiles currently shipgufw.Not all ISO - plasma does not.
Excerpt from
pamac info nftablesDefining
nftablesinPackages-Rootwill not interfere with current profiles, it simply means that anftablesfirewall is available no matter the profile maintainers preference.If we look at the ISO from ground and up, it becomes clear the Packages-Root can be improved by adding
nftablesand subsequently in the profile adding thenftablesto theenable_systemdconfiguration.This will ensure that any and all profiles comes with
nftablesas part of the base system as defined byPackages-Rootand by adding the service to theprofile.conf.exampletemplate, those building from a from scratch profile will have a basic firewall enabled when booting the ISO.The
Packages-Desktopcontainsufwand/orgufw- you are correct that by dependencynftableswill be pulled onto systems definingufw- excluding kde profile - and adding it toPackages-Rootsimply means the dependency is already satisfied when the desktop file system is build.I am not saying that you should change those profiles you maintain - I merely suggest that we put into place the pieces required to ensure that an ISO based on the profile template has the configuration for a basic firewall enabled.
I remember - years ago - a number of forum topics complaining that Manjaro didn't provide a firewall application right from installation - I reckon those are the reason for adding
gufw- but if it is possible to achieve a system that is default protected by usingnftables.serviceit makes sense to simplify the simplify the final installation to use andinvisiblefirewall by activatingnftables.What I mean is the option of delivering a secure system with fewer packages is worth considering (ufw - even the service is enabled - the firewall is not active - it requires the user to flip a switch in the UI).
My point is we already have a
basicuncomplicated firewall usingnftableswith an easy GUI. Are we really simplifying things? Are we making anything easier for users?