Article View: linux.debian.bugs.dist
Article #4963Bug#1148882: ferm: ferm-early needs support for DHCPv6
From: Marc Haber
Date: Wed, 18 Nov 2026 17:30
Date: Wed, 18 Nov 2026 17:30
38 lines
4230 bytes
4230 bytes
On Wed, Nov 18, 2026 at 12:47:16AM +0100, David Härdeman wrote:
> *However*, my quick and dirty test was perhaps a bit too quick and
> dirty. I just copied one file from your zg/icmpv6 branch
> (debian/ferm-early.conf). I've tried the whole thing now and there's two
> issue.
>
> First, there's a typo in debian/ferm.conf; line 50 adds a superfluous "}".
Ouch, bad mistake. I'm going to write an autopkgtest that finds that.
There are chances that this test already exists and I was just oo stupid
to run it.
> Second, in debian/ferm-early.conf, every "interface + @subchain INPUT-early { ... }"
> adds two rules, a jump in INPUT to INPUT-early and then the actual rule(s) in
> INPUT-early. That results in duplicated jumps in INPUT (can be seen
> with "ferm --noexec --lines"), e.g.:
>
> -A INPUT --in-interface + --jump INPUT-early
> -A INPUT --in-interface + --jump INPUT-early
I consider that a bug in ferm and will draft a patch that makes
multiple @subchain commands idempotent. Otherwise, a change in the
dual-stack part of the rule will probably cause a corollary error in one
of the single-stack stanzas and I'd like to avoid that - especially when
this happens in more complex rule sets where the two instances of
@subchain foo might be in entirely different parts of the rule set.
The use case of two identically named but differnt subchains is
possible, but was unsupported before. Would you like to have ferm issue
a warning in this case or not?
Having a warning for two @subchain foo statements will expose unwanted
behavior if the doubled use of the subchain was unintended, but it will
generate a warning if the identically named subchain was actually
intended to be the same chain. Warning or not?
Greetings
Marc
Technical Details
Message-ID:
<O0RDP-cJ2E-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NGVAl-1zbY-7@gated-at.bofh.it> <NGUbf-1yx9-1@gated-at.bofh.it> <NH8Hf-1G8Z-5@gated-at.bofh.it> <NHcrv-1I7W-1@gated-at.bofh.it> <NGUbf-1yx9-1@gated-at.bofh.it> <NLxQJ-44fb-1@gated-at.bofh.it> <NGUbf-1yx9-1@gated-at.bofh.it> <NSaZ7-7PIx-145@gated-at.bofh.it> <NGUbf-1yx9-1@gated-at.bofh.it> <O0BfH-cy2f-1@gated-at.bofh.it> <NGUbf-1yx9-1@gated-at.bofh.it> <O0BfH-cy2f-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Marc Haber <mh+debian-packages@zugschlus.de> Newsgroups: linux.debian.bugs.dist Subject: Bug#1148882: ferm: ferm-early needs support for DHCPv6 Date: Wed, 18 Nov 2026 18:30:01 +0100 Message-ID: <O0RDP-cJ2E-1@gated-at.bofh.it> References: <NGVAl-1zbY-7@gated-at.bofh.it> <NGUbf-1yx9-1@gated-at.bofh.it> <NH8Hf-1G8Z-5@gated-at.bofh.it> <NHcrv-1I7W-1@gated-at.bofh.it> <NGUbf-1yx9-1@gated-at.bofh.it> <NLxQJ-44fb-1@gated-at.bofh.it> <NGUbf-1yx9-1@gated-at.bofh.it> <NSaZ7-7PIx-145@gated-at.bofh.it> <NGUbf-1yx9-1@gated-at.bofh.it> <O0BfH-cy2f-1@gated-at.bofh.it> <NGUbf-1yx9-1@gated-at.bofh.it> <O0BfH-cy2f-1@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Nov 18 17:23:07 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>, 1148882@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: ferm@packages.debian.org X-Debian-Pr-Message: followup 1148882 X-Debian-Pr-Package: ferm X-Debian-Pr-Keywords: ipv6 X-Debian-Pr-Source: ferm MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/2.4.1 (2026-07-04) X-Crossassassin-Score: 2 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003307 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 38 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 18 Nov 2026 18:20:40 +0100 X-Original-Message-ID: <av3eaMwW--b8B6K_@192.168.77.35> X-Original-References: <arVeUJjUk-hhVnwR@torres.zugschlus.de> <eaad3ef2-feab-4ad8-ab73-fe1dddb00f45@hardeman.nu> <a06a8f68-a183-425d-9afe-b5d97e79f360@hardeman.nu> <arZcGr4DAl1uLu7i@torres.zugschlus.de> <eaad3ef2-feab-4ad8-ab73-fe1dddb00f45@hardeman.nu> <bcfa78e4-6afb-4942-8cd0-25509b168796@hardeman.nu> <eaad3ef2-feab-4ad8-ab73-fe1dddb00f45@hardeman.nu> <at4ua82uqmJw-2FF@192.168.77.35> <eaad3ef2-feab-4ad8-ab73-fe1dddb00f45@hardeman.nu> <avznhBVSciFaseg6@hardeman.nu> <eaad3ef2-feab-4ad8-ab73-fe1dddb00f45@hardeman.nu> <avznhBVSciFaseg6@hardeman.nu>