🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4741

Bug#1144431: ferm: seems ferm early prevents ferm from starting

#4741
From: Marc Haber
Date: Mon, 16 Nov 2026 15:40
51 lines
4745 bytes
Hello,

On Sat, Sep 12, 2026 at 05:55:28AM +0200, Alban Browaeys wrote:
>I use Debops which preserves a set of previous RULES (for one FORWARD 
>rules) but this preserves the jump to FORWARD-early even though 
>FORWARD-early itself is not defined in my ferm rules set.
>
>This preserves is mainly there to keep docker rules on restart and such.
>
>Debian default /etc/ferm/ferm.conf is not affected because it empties 
>the FORWARD rule. But thus it purges docker rules on restart I 
>believe.

This looks to me that you're using three different software projects 
that manage your firewall rules: ferm, debops, and docker. I really 
don't want to support that setup, it looks like it's impossible to test.

 From the ferm point of view I think that it's best to assume that ferm 
owns the "main" firewall chains like INPUT, OUTPUT, and FORWARD, and to 
try to keep the other software from writing to INPUT, OUTPUT, and 
FORWARD. I do not know anything about debops. Docker, as far as I know, 
is pretty well-behaved and puts its rules into docker rule chains with 
well-defined names, so you could:

- make sure that ferm's main systemd unit is started before anything 
   else that might touch iptables
- in your ferm main rule set, create the rules that docker wants to 
   populate and
- establich the respective --jump docker-FOO rules in the 
   INPUT/OUTPUT/FORWARD chains

If you have any other ideas, for example giving ferm an option to not 
clear out the INPUT/OUTPUT/FORARD chains before establishing ferm's 
ruleset, and probably optionally disabling the early ruleset, I am all 
open for that.

I am also open to reading debug output generated by ferm to find out 
what is actually happening. ferm has grown new debug code this summer, 
feel free to use it.

Just please don't expect me to install debops and/or docker in 
combination with ferm to figure out the interoperability myself.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421
Technical Details
Message-ID: <O06Yi-chb7-19@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <Nsht7-b2ZR-3@gated-at.bofh.it> <Nsht7-b2ZR-1@gated-at.bofh.it> <Nsl3I-b50D-9@gated-at.bofh.it> <Nsht7-b2ZR-3@gated-at.bofh.it> <Nsl3I-b50D-7@gated-at.bofh.it> <NxrrP-dYi7-1@gated-at.bofh.it> <NxrrP-dYi7-1@gated-at.bofh.it> <NCqYa-gHBR-59@gated-at.bofh.it> <Nsht7-b2ZR-3@gated-at.bofh.it> <NCqYa-gHBR-59@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Marc Haber <mh+debian-packages@zugschlus.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1144431: ferm: seems ferm early prevents ferm from starting
Date: Mon, 16 Nov 2026 16:40:02 +0100
Message-ID: <O06Yi-chb7-19@gated-at.bofh.it>
References: <Nsht7-b2ZR-3@gated-at.bofh.it> <Nsht7-b2ZR-1@gated-at.bofh.it> <Nsl3I-b50D-9@gated-at.bofh.it> <Nsht7-b2ZR-3@gated-at.bofh.it> <Nsl3I-b50D-7@gated-at.bofh.it> <NxrrP-dYi7-1@gated-at.bofh.it> <NxrrP-dYi7-1@gated-at.bofh.it> <NCqYa-gHBR-59@gated-at.bofh.it> <Nsht7-b2ZR-3@gated-at.bofh.it> <NCqYa-gHBR-59@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov 16 15:31:06 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Marc Haber <mh+debian-packages@zugschlus.de>, 1144431@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: ferm@packages.debian.org
X-Debian-Pr-Message: followup 1144431
X-Debian-Pr-Package: ferm
X-Debian-Pr-Source: ferm
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline
User-Agent: Mutt/2.2.13 (2024-03-09)
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002999
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 51
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1144431@bugs.debian.org
X-Original-Date: Mon, 16 Nov 2026 16:28:59 +0100
X-Original-Message-ID: <avshO6kyG8PQ7TRm@torres.zugschlus.de>
X-Original-References: <178676045808.10622.14957379376444559890.reportbug@hermes.prahal.homelinux.net> <aoAbg8dQCosHNCk1@torres.zugschlus.de> <7d4a625e-54c2-4699-8647-ba3717cc47fc@gmail.com> <178676045808.10622.14957379376444559890.reportbug@hermes.prahal.homelinux.net> <aoBRcE-xRzJTj5dF@torres.zugschlus.de> <apLeszJXT6JsNH-8@torres.zugschlus.de> <apLeszJXT6JsNH-8@torres.zugschlus.de> <f6588e42-1200-4bff-be75-5c70fba2fd9a@gmail.com> <178676045808.10622.14957379376444559890.reportbug@hermes.prahal.homelinux.net> <f6588e42-1200-4bff-be75-5c70fba2fd9a@gmail.com>