Netgear R7000 UPnP support

Started by Bikegreeny

Netgear R7000 UPnP support   02 October 2019, 19:19

I've used NetWorx with UPnP with my previous main gateway router, a Netgear WNDR3800, with no problems over the last 5 years or more. This was reconfigured as an Access Point as I was given a Netgear Nighthawk N7000 that I've now set up as my main router with UPnP enabled. However, despite the "Monitor my router rather than my computer" link showing the UPnP Gateway selection as "R7000 (Gateway)" with WAN Interface "WANCommonIFC1" selected OK, there is Nil traffic showing despite a clean reboot with this setup as well. Any ideas what might be blocking this monitoring traffic? My next step is to get WireShark monitoring the traffic to see if the firewall on my computer is responsible. However this firewall has not changed since NetWorx was monitoring the previous Gateway.
SoftPerfect Support forum - Andrew avatar image

Re: Netgear R7000 UPnP support   02 October 2019, 19:42

Most likely it's a bug in the router's UPnP implementation. The monitoring is implemented by polling GetTotalBytesReceived and GetTotalBytesSent available in WANCommonInterfaceConfig.

We are aware of two common bugs in routers:
  1. Some routers use signed 32-bit integers rather than 32-bit unsigned integers that the standard prescribes. This results in negative numbers being reported after first 2 GB. This is a bug NetWorx is aware of and deals with: if it happens, NetWorx converts negative numbers to correct values.
  2. Some routers use the correct data type, i.e. 32-bit unsigned integer, but somehow their counters don't roll over after reaching 4 GB (2^32). In other words, the reported values stop changing after 4 GB has been downloaded.

From your description it sounds like the second bug where the download counters simply stop going up. You can use Wireshark or a tool like SmartSniff to see what values come from the router. The responses are XML and human-readable as shown in the picture below.

Alternatively, if the Netgear R7000 supports SNMP, I would recommend to try SNMP monitoring instead. It tends to have fewer bugs comparing to UPnP implementations.

SoftPerfect support forum

Re: Netgear R7000 UPnP support   03 October 2019, 20:50

Thanks Andrew!

I'm a bit snowed under at the moment so I'll get back on this problem on the long weekend in Australia. I'll also look into SmartSniff.

Regards,
Michael (aka Bikegreeny)

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **      **  **         ******    **     **  ******** 
 **  **  **  **        **    **   **     **  **    ** 
 **  **  **  **        **         **     **      **   
 **  **  **  **        **   ****  **     **     **    
 **  **  **  **        **    **    **   **     **     
 **  **  **  **        **    **     ** **      **     
  ***  ***   ********   ******       ***       **     

Message: