[iptables] u32 module

Ravi Paluri (QUIC) quic_rpaluri at quicinc.com
Tue Apr 23 02:15:07 PDT 2024


We are seeing same error even on OpenWRT v22.03
iptables v1.8.7 (legacy): Couldn't load match `u32':No such file or directory

Can you anyone please guide us?

Thanks,
Ravi
-----Original Message-----
From: openwrt-devel <openwrt-devel-bounces at lists.openwrt.org> On Behalf Of Ravi Paluri (QUIC)
Sent: Tuesday, April 23, 2024 12:35 PM
To: openwrt-devel at lists.openwrt.org
Subject: [iptables] u32 module

Hi All,
     On OpenWRT v23.05, we have enabled iptables in addition to nftables.
We have a use-case wherein we want to parse first 4 bytes of header (which holds an integer) and match it with another predefined integer.
For this matching, we are using u32 module and invoking this module via -m u32 with iptables command.

But we are getting below error:
iptables v1.8.8 (legacy): Couldn't load match `u32':No such file or directory

We enabled below configuration flags from openWRT menuconfig but still getting same above error.
CONFIG_PACKAGE_kmod-ipt-u32=y
CONFIG_PACKAGE_iptables-mod-u32=y
CONFIG_NETFILTER_XT_MATCH_U32=y

Can any expert help us in enabling u32 module?
We are using v5.15 Kernel

Thanks,
Ravi

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list