Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #257581

Re: is nft running? how do I get info?

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: is nft running? how do I get info?
Date 2023-04-25 15:00 +0200
Message-ID <GoqqZ-4qfB-1@gated-at.bofh.it> (permalink)
References <Go3NL-4bLj-3@gated-at.bofh.it> <Go5Zf-4dim-1@gated-at.bofh.it> <Gon05-4oez-3@gated-at.bofh.it> <GoqqZ-4qfB-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 25 Apr 2023 at 08:59:23 (+0000), Bonno Bloksma wrote:
> 
> Did I discover a bug in the bookwork release? I think we can argue both for and against but I am calling it a bug.
> 
> It seems the bookworm release comes with NO firewall solution enabled !
> Iptables is no longer installed by default
> The nft service is NOT enabled by default.
> 
> After searching some more I found "Enable and start the nftables service by":
> sudo systemctl enable nftables 
> sudo systemctl start nftables.
> Looking at the sudo stuff it must have been written for Ubuntu. And indeed, I now have a nft service that will by default load the /etc/nftables.conf file :-)
> The start command in itself is not needed, it just starts the firewall right away.
> 
> I do NOT understand why it is not enabled by default with the default config as it is.
> The firewall in itself is open enough that it does not block stuff, but it does allow someone to build upon or to replace it with a proper firewall.
> 
> There probably was a discussion about it sometime in the past and this is what "they" came up with.
> Still, I think there should be a better way, have a default (semi) open firewall and have it enabled by default. 
> 
> Now all I need to do is go to my existing Buster installs and enable the firewall. It seems after I changed the iptables script to a nft config I have been running my buster machines with a proper nft config that NEVER got loaded. :-(

It seems like you missed reading the Release Notes:

  §2.2.6 Network filtering based on nftables framework by default

and the reference there to https://wiki.debian.org/nftables
which has its § "nftables in Debian the easy way".

Cheers,
David.

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: is nft running? how do I get info? Anssi Saari <as@sci.fi> - 2023-04-24 17:10 +0200
  Re: is nft running? how do I get info? Stanislav Vlasov <stanislav.v.v@gmail.com> - 2023-04-25 11:20 +0200
    Re: is nft running? how do I get info? Greg Wooledge <greg@wooledge.org> - 2023-04-25 13:20 +0200
  Re: is nft running? how do I get info? Christoph Brinkhaus <c.brinkhaus@t-online.de> - 2023-04-25 11:20 +0200
  Re: is nft running? how do I get info? Anssi Saari <as@sci.fi> - 2023-04-25 12:10 +0200
  Re: is nft running? how do I get info? David Wright <deblis@lionunicorn.co.uk> - 2023-04-25 15:00 +0200
    Re: is nft running? how do I get info? songbird <songbird@anthive.com> - 2023-04-25 18:00 +0200
    Re: is nft running? how do I get info? David Wright <deblis@lionunicorn.co.uk> - 2023-04-25 20:20 +0200

csiph-web