Reply

miniupnpd doesn't update total bytes sent/receive

kochin
Apprentice

miniupnpd doesn't update total bytes sent/receive

I tried to get router traffic information from my Orbi RBR50 using it IGD feature. When I ran the upnpc program to retrieve information, I found the total bytes received and sent never get updated and stay at 4294967295 while the total packets sent and received get updated as expected. 

d:\Downloads\win32-miniupnpc-2.1>.\upnpc-shared.exe -s -m 192.168.0.1
upnpc : miniupnpc library test client, version 2.1.
 (c) 2005-2018 Thomas Bernard.
Go to http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://192.168.0.1:5555/rootDesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.0.1:5555/ctl/IPConn
Local LAN ip address : 192.168.0.2
Connection Type : IP_Routed
Status : Connected, uptime=5466s, LastConnectionError : ERROR_NONE
  Time started : Sun Jun 23 20:10:35 2019
MaxBitRateDown : 1000000 bps (1.0 Mbps)   MaxBitRateUp 1000000 bps (1.0 Mbps)
ExternalIPAddress = xx.xx.xx.xx
Bytes:   Sent: 4294967295       Recv: 4294967295
Packets: Sent: 25029827 Recv: 71936774

Orbi runs a version of miniupnpd which is supposed to provide those information. It appears the miniupnpd in the firmware is buggy. Netgear, please have your developers take a look. Thanks.

Model: RBR50|Orbi AC3000 Tri-band WiFi Router
Message 1 of 11
FURRYe38
Guru

Re: miniupnpd doesn't update total bytes sent/receive

 

Please file a support ticket here and give all details and debut logs to them for review:

https://www.netgear.com/mynetgear/registration/login.aspx

@Christian_R 

 

Thank you. 


@kochin wrote:

I tried to get router traffic information from my Orbi RBR50 using it IGD feature. When I ran the upnpc program to retrieve information, I found the total bytes received and sent never get updated and stay at 4294967295 while the total packets sent and received get updated as expected. 

d:\Downloads\win32-miniupnpc-2.1>.\upnpc-shared.exe -s -m 192.168.0.1
upnpc : miniupnpc library test client, version 2.1.
 (c) 2005-2018 Thomas Bernard.
Go to http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://192.168.0.1:5555/rootDesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.0.1:5555/ctl/IPConn
Local LAN ip address : 192.168.0.2
Connection Type : IP_Routed
Status : Connected, uptime=5466s, LastConnectionError : ERROR_NONE
  Time started : Sun Jun 23 20:10:35 2019
MaxBitRateDown : 1000000 bps (1.0 Mbps)   MaxBitRateUp 1000000 bps (1.0 Mbps)
ExternalIPAddress = xx.xx.xx.xx
Bytes:   Sent: 4294967295       Recv: 4294967295
Packets: Sent: 25029827 Recv: 71936774

Orbi runs a version of miniupnpd which is supposed to provide those information. It appears the miniupnpd in the firmware is buggy. Netgear, please have your developers take a look. Thanks.


 

My Setup (Cable 1Gbps/50Mbps)>CM1200 v2.02.03(LAG Disabled)>RBK50 v2.7.2.104(WW)/RBK853 AP Mode v3.2.18.1
Additional NG HW: C7800/CM1100/CAX80/CM2000, Orbi CBK40, R7800, R7960P, EX7500/EX7700, XR450 and WNHDE111
Message 2 of 11
kochin
Apprentice

Re: miniupnpd doesn't update total bytes sent/receive

@FURRYe38Thank you for responding.

Unfortunately, my 90 days support had expired months ago. I don't see a way to submit bug reports without having a valid support contract with Netgear.

I can only hope someone from Netgear is monitoring its community site and will forward the issue to their development team.

 

Message 3 of 11
FURRYe38
Guru

Re: miniupnpd doesn't update total bytes sent/receive

Please send a PM to @Blanca_O and @Christian_R and see if they can help pass this on to NG engineering. Be aware that even though you report it to NG, it may not get changed, if at all or will take a while for it to appear, even it it does get changed. If miniupnp is working over all and the report function isn't working, maybe something that NG may not look into that much. Just saying. Hope it will get looked at. 

 

Good Luck. 

My Setup (Cable 1Gbps/50Mbps)>CM1200 v2.02.03(LAG Disabled)>RBK50 v2.7.2.104(WW)/RBK853 AP Mode v3.2.18.1
Additional NG HW: C7800/CM1100/CAX80/CM2000, Orbi CBK40, R7800, R7960P, EX7500/EX7700, XR450 and WNHDE111
Message 4 of 11
schumaku
Guru

Re: miniupnpd doesn't update total bytes sent/receive

FWIW: The UPnP information available is about the WAN (Internet) interface - however the UPnP AV/DLNA miniupnpd is intended to be run on the same broadcast domain, so the local [W]LAN only.

Message 5 of 11
kochin
Apprentice

Re: miniupnpd doesn't update total bytes sent/receive


@schumaku wrote:

FWIW: The UPnP information available is about the WAN (Internet) interface - however the UPnP AV/DLNA miniupnpd is intended to be run on the same broadcast domain, so the local [W]LAN only.


Yes. For anyone who is interested, you can visit http://<your router ip>:5555/WANCfg.xml and see what actions your router can respond to.

Message 6 of 11
schumaku
Guru

Re: miniupnpd doesn't update total bytes sent/receive

Oh sorry, I have mixed up the minidlna with the miniupnp 8-)

Message 7 of 11
kochin
Apprentice

Re: miniupnpd doesn't update total bytes sent/receive

Thanks for the suggestion. I've sent a message to them.

 


@FURRYe38 wrote:

Please send a PM to @Blanca_O and @Christian_R and see if they can help pass this on to NG engineering. Be aware that even though you report it to NG, it may not get changed, if at all or will take a while for it to appear, even it it does get changed. If miniupnp is working over all and the report function isn't working, maybe something that NG may not look into that much. Just saying. Hope it will get looked at. 

 

Good Luck. 


 

Message 8 of 11
FURRYe38
Guru

Re: miniupnpd doesn't update total bytes sent/receive

Let us know if you find out anything. 

My Setup (Cable 1Gbps/50Mbps)>CM1200 v2.02.03(LAG Disabled)>RBK50 v2.7.2.104(WW)/RBK853 AP Mode v3.2.18.1
Additional NG HW: C7800/CM1100/CAX80/CM2000, Orbi CBK40, R7800, R7960P, EX7500/EX7700, XR450 and WNHDE111
Message 9 of 11
kochin
Apprentice

Re: miniupnpd doesn't update total bytes sent/receive

I just realized Orbi IGD does update bytes sent/received. After I rebooted my Orbi, my Home Assistant setup started getting those information from it. However, once the byte received count has reached 4294967295, it stays there.

 

It seems that Orbi clears out the counters on reboot. Apparently, those counters are recorded in 32-bit variables. When the count reaches 4294967295 = 2^32-1, it stops counting. (But I wonder why it doesn't roll back to 0.)

 

On second thought, it might be Home Assistant which is using 32-bit counters. I guess it's time to check the source code.

2019-06-29 (2).png

 

Message 10 of 11
FURRYe38
Guru

Re: miniupnpd doesn't update total bytes sent/receive

Something to let NG support know about.

 

My Setup (Cable 1Gbps/50Mbps)>CM1200 v2.02.03(LAG Disabled)>RBK50 v2.7.2.104(WW)/RBK853 AP Mode v3.2.18.1
Additional NG HW: C7800/CM1100/CAX80/CM2000, Orbi CBK40, R7800, R7960P, EX7500/EX7700, XR450 and WNHDE111
Message 11 of 11
Top Contributors
Discussion stats
  • 10 replies
  • 1177 views
  • 0 kudos
  • 3 in conversation
Announcements