Issues with nlbwmon on 22.03

I installed nlbwmon on 22.03.4 (on a NanoPi R4S) and I'm getting the error below (so no traffic data is being collected).

What seems to be the official nlbwmon repository (https://github.com/jow-/nlbwmon) was last updated 3 years ago.

Before I deep dive in troubleshooting this, I just wanted to confirm if nlwbmon is in fact expected to work with 22.03 or later releases.

Thu Jul 27 10:25:09 2023 kern.warn kernel: [ 1441.587544] nf_conntrack_netlink: Unknown symbol nf_conntrack_register_notifier (err -2)
Thu Jul 27 10:25:09 2023 kern.warn kernel: [ 1441.588425] nf_conntrack_netlink: Unknown symbol nf_connlabels_replace (err -2)
Thu Jul 27 10:25:09 2023 kern.warn kernel: [ 1441.589085] nf_conntrack_netlink: Unknown symbol nf_conntrack_unregister_notifier (err -2)
Thu Jul 27 10:25:09 2023 kern.warn kernel: [ 1441.590074] nf_conntrack_netlink: Unknown symbol nf_ct_expect_unregister_notifier (err -2)
Thu Jul 27 10:25:09 2023 kern.warn kernel: [ 1441.590870] nf_conntrack_netlink: Unknown symbol nf_ct_expect_register_notifier (err -2)
Thu Jul 27 10:25:09 2023 kern.warn kernel: [ 1441.591714] nf_conntrack_netlink: Unknown symbol nf_conntrack_eventmask_report (err -2)
Thu Jul 27 10:25:09 2023 daemon.err modprobe: 1 module could not be probed
Thu Jul 27 10:25:09 2023 daemon.err modprobe: - nf_conntrack_netlink
Thu Jul 27 10:25:09 2023 daemon.err nlbwmon[4084]: Netlink receive failure: Invalid input data or parameter
Thu Jul 27 10:25:09 2023 daemon.err nlbwmon[4084]: Unable to dump conntrack: I/O error
Thu Jul 27 10:25:39 2023 kern.warn kernel: [ 1471.687984] nf_conntrack_netlink: Unknown symbol nf_conntrack_register_notifier (err -2)
Thu Jul 27 10:25:39 2023 kern.warn kernel: [ 1471.688866] nf_conntrack_netlink: Unknown symbol nf_connlabels_replace (err -2)
Thu Jul 27 10:25:39 2023 kern.warn kernel: [ 1471.689526] nf_conntrack_netlink: Unknown symbol nf_conntrack_unregister_notifier (err -2)
Thu Jul 27 10:25:39 2023 kern.warn kernel: [ 1471.690516] nf_conntrack_netlink: Unknown symbol nf_ct_expect_unregister_notifier (err -2)
Thu Jul 27 10:25:39 2023 kern.warn kernel: [ 1471.691313] nf_conntrack_netlink: Unknown symbol nf_ct_expect_register_notifier (err -2)
Thu Jul 27 10:25:39 2023 kern.warn kernel: [ 1471.692158] nf_conntrack_netlink: Unknown symbol nf_conntrack_eventmask_report (err -2)
Thu Jul 27 10:25:39 2023 daemon.err modprobe: 1 module could not be probed
Thu Jul 27 10:25:39 2023 daemon.err modprobe: - nf_conntrack_netlink
Thu Jul 27 10:25:39 2023 daemon.err nlbwmon[4084]: Netlink receive failure: Invalid input data or parameter
Thu Jul 27 10:25:39 2023 daemon.err nlbwmon[4084]: Unable to dump conntrack: I/O error

Sure it works with recent code, with main/master and 23.05.
Here with yesterday's master after a short uptime:

Haven't really checked it with the old 22.03, but there shouldn't be anything that would prevent it there.

1 Like

It's been working for me with nary an issue since 19.07 --> 23.05.01-rc1 --> a reasonably current main.

1 Like

I have troubles installing it on OpenWrt 23.05.0-rc2 r23228-cd17d8df2a. I am getting the following error message:

Due to recent libnl-tiny package change.

You could override that warning with opkg options. ( --force-overwrite, I think)

1 Like

It looks like the issue is with my build. I do my own builds, I use all defaults (in make menuconfig) and just add Luci collection, iperf3, nano plus, collectd and AdGuardHome.

Either I'm missing some package required by nlbwmon that is included in the standard builds, or there is a conflict with AdGuardHome (not likely).

Solved: for some reason kmod-nf-conntrack-netlink is not selected by default when creating a new .config via make menuconfig.

I've manually selected it (Kernel Modules --> Netfilter Extensions --> kmod-nf-conntrack-netlink), did a new build and now nlbwmon is working correctly.

So for those who are doing their own 22.03.x builds and plan to use nlbwmon, kmod-nf-conntrack-netlink needs to be explicitly selected.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.