jow- / nlbwmon

Simple conntrack based traffic accounting
ISC License
147 stars 33 forks source link

Nftables support #47

Closed tiagogaspar8 closed 1 year ago

tiagogaspar8 commented 2 years ago

Hi!

Right now Openwrt is switching from iptables to nftables and netlink is supposed to be universal, not depending on iptables or nftables since it is an api for netfilter (even though it's dependencies are incorrect on openwrt). I have tried bwmon on an nftables router and even though connections are correctly shown in Status > Realtime Graphs > Connections, in the bwmon luci page only connections from the router itself are shown and updated.

Support needs to be added with a change to this repo?

Thanks!

jow- commented 2 years ago

I don't think the issue is nftables specific. Maybe some kernel side dependencies are not included anymore since the switch to nftables. The netlink API being used should be the same.

tiagogaspar8 commented 2 years ago

I see, that's what I thought... do you think it should be a symbol or something harder linke a patch needed, etc.? Either way for now I sent a pull request to fix the netlink dependencies https://github.com/openwrt/openwrt/pull/4986

Should this issue here be closed?

tiagogaspar8 commented 2 years ago

I'll close this cause for me it seems that nlbwmon is supporting nftables well/correctly Is that ok?