jow-/nlbwmon

ipv6 issues

Closed this issue · 7 comments

Dear @jow-

A few people who have installed nlbwmon have reported issues with the tracking of ipv6 on a thread in the Lede forums.

A user named hnyman

And another user named philjohn

And a third user named moeller0

Yep, I was seeing this, I did have the Qualcomm FastPath patch enabled, which could be a possible issue.

jow- commented

Yes. The software relies on conntrack accounting which in turn needs the ability to see each packet in order to properly count transmit volume. Anything that bypasses conntrack (NOTRACK rules, fastpath, hardware NAT accelleration) will lead to skewed results.

@jow-

Was your reply to @philjohn or to me?

Are you saying that ipv6 bypasses conntrack?
Are you saying that a 100% of ipv4 goes through conntrack?

What can/should I do to get accurate accounting?

Would disabling ipv6 on my router help?

@jow-, @philjohn

Anything that bypasses conntrack (NOTRACK rules, fastpath, hardware NAT accelleration) will lead to skewed results.

I don't want skewed results. Can I block everything that bypasses conntrack? If so, how?

Hi I have no fw rules & SFE, HWNAT that bypass conntrack.
Problem is dynamic PD change the LAN prefix and nlbwmon dont noice it.
I started a clean nlbwmon session ipv6 count with 10GB down 1 GB upload accurate 11GB displayed but after prefix change no traffic count anymore or on router reboot if nlbwmon start before lan PD prefix is set also no traffic count.

My setup is easy br-lan with ULA and default IPV4 (eth0.1 + wlan 2G + 5G AC) 64 prefix from wan / use only Stateless setup odhcpd, dns get ULA router address for DNS
wan with pppoe + ipv6 '1' over vlan 7 (get fe80::128) and public IPv4
wan6 '@ wan' dhcpv6 PD get 56 dynamic prefix & lan get the address everything work nice out of the box

jow- commented

Should have been addressed by openwrt/packages@662d3f1

Should have been addressed by openwrt/packages@662d3f1

My WAN interface is configured as PPPoE. IPV6 stats of nlbwmon is not correctly reported until I do nlbwmon service stop and start