Closed 68420948 closed 1 year ago
It does not seem to be a Debian thing. In https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.7 I found
commit 7d4bfe34b9cbb0395cb9508fa64324d4a1379e00
Author: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Mon Aug 15 12:39:20 2022 +0200
netfilter: conntrack: NF_CONNTRACK_PROCFS should no longer default to y
[ Upstream commit aa5762c34213aba7a72dc58e70601370805fa794 ]
NF_CONNTRACK_PROCFS was marked obsolete in commit 54b07dca68557b09
("netfilter: provide config option to disable ancient procfs parts") in
v3.3.
@abelbeck : Ideas?
AIF keys off the net.netfilter.nf_conntrack_helper
sysctl, sadly kernel 6.0 removed that sysctl [1]
The history of net.netfilter.nf_conntrack_helper
and kernel versions:
6.0 does not have nf_conntrack_helper sysctl 4.7 nf_conntrack_helper defaults to 0 3.5 nf_conntrack_helper defaults to 1 3.4 does not have nf_conntrack_helper sysctl
It appears we need to treat kernel_ver_chk 6 0 0
and net.netfilter.nf_conntrack_helper=0
the same.
Fixed with #89 . @68420948 : Can you use that for a downstream-backport?
On Tue, 2023-02-28 at 06:54 -0800, Arno van Amersfoort wrote:
Fixed with #88 . @68420948 : Can you use that for a downstream- backport?
Thanks for the fix. A backporting patch has been prepared and a patched AIF 2.1.1 has already been uploaded into Debian Unstable.
AIF is falling back to conntrack legacy automatic helper mode in Debian since introduction of kernel 6.0.
Reasons seems to be this change to the kernel:
Excerpt from the logs of my personal machine:
Output of "sysctl -a | grep conntrack":
At least nf_conntrack_helper is missing.
I am not observing any impact to my local environment while this may only be the case due to my specific configuration. Please have a look whether any measures should be taken in AIF.
Cheers, Sven