Opened 7 years ago

Last modified 5 years ago

#4475 reopened Bug

UPNP not working on NETGEAR MBRN3000

Reported by: krakers Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.33
Severity: Normal Keywords: nat upnp
Cc:

Description (last modified by jordan)

hi, I`ve noticed that UPNP port mapping isnt working on router NETGEAR MBRN3000. log contains:

Sun Sep 11 08:43:03 2011	     	Przekierowywanie portów (NAT-PMP)	initnatpmp powiodło się (0)
Sun Sep 11 08:43:03 2011	     	Przekierowywanie portów (NAT-PMP)	sendpublicaddressrequest powiodło się (2)
Sun Sep 11 08:43:03 2011	     		Zabranianie hibernacji
Sun Sep 11 08:43:03 2011	debug	Przekierowywanie portów (UPnP)	UPNP_GetValidIGD failed (errno 0 - Sukces)
Sun Sep 11 08:43:03 2011	debug	Przekierowywanie portów (UPnP)	If your router supports UPnP, please make sure UPnP is enabled!
Sun Sep 11 08:43:03 2011	     	Przekierowywanie portów	Stan zmienił się z "Nie przekierowano" na "Uruchamianie"
Sun Sep 11 08:43:11 2011	debug	Przekierowywanie portów (NAT-PMP)	readnatpmpresponseorretry failed. Natpmp returned -7 (the gateway does not support nat-pmp); errno is 111 (Połączenie odrzucone)
Sun Sep 11 08:43:11 2011	     	Przekierowywanie portów	Stan zmienił się z "Uruchamianie" na "???"

logs says that router doesnt support UPNP but it does. on 'deluge' or 'vuze' its working very nicely.

Attachments (1)

upnp.txt (4.3 KB) - added by krakers 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by jordan

  • Description modified (diff)

comment:2 Changed 7 years ago by rb07

The usual procedure to figure out problems with UPnP is to use their tool to see if the router works with miniupnp.

Their tool, called upnpc, can be downloaded in this page: http://miniupnp.free.fr/files/, if you are using Windows there is a binary executable, otherwise you'll have to download the code (miniupnpc) and build it.

Test on a terminal using:

./upnpc -l

The output probably contains lines with "Trying to continue...", those are important, Transmission only accepts routers that return a "definitive response, code 1" (there is another ticket where the design decision was explained), upnpc tries even if it didn't get a definitive response, and succeeds with many routers.

One specific problem was a router that reported the WAN connections as disconnected, which is a bug in the router since at least one of them was really connected.

BTW you can use upnpc to open the port manually with -r, and later un-map the port with -d.

Changed 7 years ago by krakers

comment:3 Changed 7 years ago by krakers

I have run both executables, here is output: FIRST C:\upnpc-exe-win32-20110714>upnpc-shared.exe -l upnpc : miniupnpc library test client. (c) 2006-2011 Thomas Bernard Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ for more information. List of UPNP devices found on the network :

desc: http://10.5.15.1:5000/Public_UPNP_gatedesc.xml st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found a (not connected?) IGD : http://10.5.15.1:5000/Public_UPNP_C3 Trying to continue anyway Local LAN ip address : 10.5.15.2 Connection Type : IP_Routed Status : Disconnected, uptime=976507s, LastConnectionError? : ERROR_NONE

Time started : Sun Sep 04 09:41:34 2011

MaxBitRateDown? : 0 bps MaxBitRateUp? 0 bps ExternalIPAddress = 188.33.33.6

0 UDP 61845->10.5.15.2:61845 'Teredo' 0 1 UDP 60685->10.5.15.2:60685 'Teredo' 0 2 UDP 64296->10.5.15.2:64296 'Teredo' 0 3 TCP 65078->10.5.15.2:65078 'Deluge 1.3.3 at 10.5.15.2:65078' 0 4 UDP 65078->10.5.15.2:65078 'Deluge 1.3.3 at 10.5.15.2:65078' 0 5 UDP 59767->10.5.15.2:59767 'Teredo' 0 6 UDP 62724->10.5.15.2:62724 'Teredo' 0 7 UDP 55710->10.5.15.2:55710 'Teredo' 0 8 TCP 54728->10.5.15.2:54728 'Deluge 1.3.3 at 10.5.15.2:54728' 0 9 UDP 54728->10.5.15.2:54728 'Deluge 1.3.3 at 10.5.15.2:54728' 0

10 TCP 64640->10.5.15.2:64640 'Deluge 1.3.3 at 10.5.15.2:64640' 0 11 UDP 64640->10.5.15.2:64640 'Deluge 1.3.3 at 10.5.15.2:64640' 0 12 TCP 52305->10.5.15.2:52305 'Deluge 1.3.3 at 10.5.15.2:52305' 0 13 UDP 52305->10.5.15.2:52305 'Deluge 1.3.3 at 10.5.15.2:52305' 0 14 TCP 59741->10.5.15.2:59741 'Deluge 1.3.3 at 10.5.15.2:59741' 0 15 UDP 59741->10.5.15.2:59741 'Deluge 1.3.3 at 10.5.15.2:59741' 0 16 TCP 62063->10.5.15.2:62063 'Deluge 1.3.3 at 10.5.15.2:62063' 0 17 UDP 62063->10.5.15.2:62063 'Deluge 1.3.3 at 10.5.15.2:62063' 0 18 TCP 53126->10.5.15.2:53126 'Deluge 1.3.3 at 10.5.15.2:53126' 0 19 UDP 53126->10.5.15.2:53126 'Deluge 1.3.3 at 10.5.15.2:53126' 0 20 TCP 63992->10.5.15.2:63992 'Deluge 1.3.3 at 10.5.15.2:63992' 0 GetGenericPortMappingEntry?() returned 713 (SpecifiedArrayIndexInvalid?)

SECOND C:\upnpc-exe-win32-20110714>upnpc-static.exe -l upnpc : miniupnpc library test client. (c) 2006-2011 Thomas Bernard Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ for more information. List of UPNP devices found on the network :

desc: http://10.5.15.1:5000/Public_UPNP_gatedesc.xml st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found a (not connected?) IGD : http://10.5.15.1:5000/Public_UPNP_C3 Trying to continue anyway Local LAN ip address : 10.5.15.2 Connection Type : IP_Routed Status : Disconnected, uptime=976537s, LastConnectionError? : ERROR_NONE

Time started : Sun Sep 04 09:41:34 2011

MaxBitRateDown? : 0 bps MaxBitRateUp? 0 bps ExternalIPAddress = 188.33.33.6

0 UDP 61845->10.5.15.2:61845 'Teredo' 0 1 UDP 60685->10.5.15.2:60685 'Teredo' 0 2 UDP 64296->10.5.15.2:64296 'Teredo' 0 3 TCP 65078->10.5.15.2:65078 'Deluge 1.3.3 at 10.5.15.2:65078' 0 4 UDP 65078->10.5.15.2:65078 'Deluge 1.3.3 at 10.5.15.2:65078' 0 5 UDP 59767->10.5.15.2:59767 'Teredo' 0 6 UDP 62724->10.5.15.2:62724 'Teredo' 0 7 UDP 55710->10.5.15.2:55710 'Teredo' 0 8 TCP 54728->10.5.15.2:54728 'Deluge 1.3.3 at 10.5.15.2:54728' 0 9 UDP 54728->10.5.15.2:54728 'Deluge 1.3.3 at 10.5.15.2:54728' 0

10 TCP 64640->10.5.15.2:64640 'Deluge 1.3.3 at 10.5.15.2:64640' 0 11 UDP 64640->10.5.15.2:64640 'Deluge 1.3.3 at 10.5.15.2:64640' 0 12 TCP 52305->10.5.15.2:52305 'Deluge 1.3.3 at 10.5.15.2:52305' 0 13 UDP 52305->10.5.15.2:52305 'Deluge 1.3.3 at 10.5.15.2:52305' 0 14 TCP 59741->10.5.15.2:59741 'Deluge 1.3.3 at 10.5.15.2:59741' 0 15 UDP 59741->10.5.15.2:59741 'Deluge 1.3.3 at 10.5.15.2:59741' 0 16 TCP 62063->10.5.15.2:62063 'Deluge 1.3.3 at 10.5.15.2:62063' 0 17 UDP 62063->10.5.15.2:62063 'Deluge 1.3.3 at 10.5.15.2:62063' 0 18 TCP 53126->10.5.15.2:53126 'Deluge 1.3.3 at 10.5.15.2:53126' 0 19 UDP 53126->10.5.15.2:53126 'Deluge 1.3.3 at 10.5.15.2:53126' 0 20 TCP 63992->10.5.15.2:63992 'Deluge 1.3.3 at 10.5.15.2:63992' 0 GetGenericPortMappingEntry?() returned 713 (SpecifiedArrayIndexInvalid?)

C:\upnpc-exe-win32-20110714>

comment:4 Changed 5 years ago by jordan

  • Resolution set to incomplete
  • Status changed from new to closed

Is this still an issue with Transmission 2.76?

comment:5 Changed 5 years ago by krakers

  • Resolution incomplete deleted
  • Status changed from closed to reopened

yes this is still an issue with 2.76.

Note: See TracTickets for help on using tickets.