Article View: linux.debian.bugs.rc
Article #2668Bug#1125886: (fwd) Re: [firehol/firehol] Move to new iptables-nft interface (#352)
From: Roland Rosenfeld
Date: Sun, 08 Nov 2026 17:00
Date: Sun, 08 Nov 2026 17:00
39 lines
3510 bytes
3510 bytes
The following might be interesting for #1125886: ----- Forwarded message from b2cc <notifications@github.com> ----- From: b2cc <notifications@github.com> Subject: Re: [firehol/firehol] Move to new iptables-nft interface (#352) Date: Fri, 06 Nov 2026 08:41:26 -0800 b2cc left a comment (firehol/firehol#352) For those still using `firehol` I've created an updated variant that natively works with netfilter / `nft`. Since this repo doesn't seem to be maintained anymore, and some of the changes came out of an LLM, I didn't create a PR but have uploaded it here: https://git.dest-unreachable.net/d-u.net/firehol-nft/src/branch/4.0.0-nft/ Just set the new env `FIREHOL_BACKEND="nft"` in `firehol-defaults.conf`, no other changes needed. Some of the original functionality doesn't work (e.g. `nofast`) since `nft` always atomically applies the whole ruleset. the script will however warn in such cases. Also, a `debug` option has been added that works root-less and dumps the generated ruleset for preview. The `try` option also still works with the nft backend in case the generated ruleset breaks remote connections to deactivate the firewall after some time unless `commit` is typed at the prompt. I've tried to reproduce several, more complicated firewall, port forward and NAT layouts, and the script seems to work as before. I'd be happy about additional test cases though to ensure all functionality is preserved correctly. @jgmbenoit : I have no idea about the debian bug or packaging, but if you want re-introduce it to Debian feel free to grab the source from my repo. As far as I can tell the build should still work without any additional changes or updates. ----- End forwarded message -----
Technical Details
Message-ID:
<NXepj-aEhj-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<MeDYJ-bvmE-7@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Roland Rosenfeld <roland@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1125886: (fwd) Re: [firehol/firehol] Move to new iptables-nft interface (#352) Date: Sun, 08 Nov 2026 18:00:01 +0100 Message-ID: <NXepj-aEhj-7@gated-at.bofh.it> References: <MeDYJ-bvmE-7@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Sun Nov 8 16:55:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Roland Rosenfeld <roland@debian.org>, 1125886@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: calculus@rezozer.net X-Debian-Pr-Message: followup 1125886 X-Debian-Pr-Package: src:firehol X-Debian-Pr-Keywords: forky sid X-Debian-Pr-Source: firehol MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/2.2.13 (2024-03-09) X-Debian-User: roland X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/837601 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 39 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 8 Nov 2026 17:53:27 +0100 X-Original-Message-ID: <avCpBxn0PqroHhVC@dinghy.sail.spinnaker.de> X-Original-References: <4dvJty2m4Rz5F@shell.thinkmo.de>