[iptables] u32 module

Ravi Paluri (QUIC) quic_rpaluri at quicinc.com
Tue Apr 23 00:04:43 PDT 2024


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



More information about the openwrt-devel mailing list