On Sun, Oct 25, 2026 at 05:29:31PM +0100, Marc Haber wrote:
>On Wed, Oct 07, 2026 at 01:13:48PM +0200, David Härdeman wrote:
>> Yeah, I'm running Debian Unstable (ferm 2.7-9) on the system where I did the
>> testing, and I already added some custom systemd .service files to tcpdump
>> the traffic to diagnose the initial issue, so further debugging output
>> should be easy to provide. Which steps do you want me to take/which
>> debugging info do you want?
>
>Thank you very much for your patience. I apologize for not getting back 
>to you any earlier, I was busy with private life in October.

No problem, I've also been busy...

>If you are still having issues with the current state of the package, 
>you can enable the debugging code in ferm-systemd by setting 
>DEBUGLOG_DIR to some persistent directory in both systemd service units 
>and rebooting.

Actually, I'm not having any issues (after I copied ferm-early.conf from
your branch)...

*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 "}".

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'd suggest you change the last two "domain(X)" parts to:

domain ip table filter chain INPUT-early {
    # allow all ICMP
    ...
}

domain ip6 table filter chain INPUT-early {
    # allow all ICMPv6
    ...
}

-- 
David Härdeman

Reply via email to