← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 1644512] Re: UPnP configuration no longer working

 

Thank you for your report Brett, we've just wanted to rule out the most common problem causing this.
Indeed, we upgraded the MiniUPnP library and made some refactoring in the port mapper area in 0.860.
I guess it's time to improve the error reporting of the Mapper class. IIRC currently it reports the above error string in case of any problems, including when no UPnP capable devices found and that is quite misleading.

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/1644512

Title:
  UPnP configuration no longer working

Status in DC++:
  New

Bug description:
  I have a BT Homehub 3 with an openreach fibre modem to connect to the
  BT infinity FTTC service. The previous version of DC++ (0.851) could
  talk to the mini MiniUPnP interface and set up an active connection.

  The system log in 0.851 is like this

  [21:23] Connectivity: Determining the best connectivity settings...
  [21:23] Connectivity: Local network with possible NAT detected, trying to map the ports...
  [21:23] Connectivity: Port mapping: Successfully created port mappings (Transfers: 15509, Encrypted transfers: 15510, Search: 51248) on the "WANDevice" device with the MiniUPnP interface
  [21:23] Connectivity: Port mapping: Failed to get external IP
  [21:25] File list <C:\Users\Brett\AppData\Roaming\DC++\files.xml.bz2> generated
  [21:26] Connectivity: Port mapping: Successfully removed port mappings from the "WANDevice" device with the MiniUPnP interface
  [21:26] Connectivity: Determining the best connectivity settings...
  [21:26] Connectivity: Local network with possible NAT detected, trying to map the ports...
  [21:26] Connectivity: Port mapping: Successfully created port mappings (Transfers: 15542, Encrypted transfers: 15543, Search: 50056) on the "WANDevice" device with the MiniUPnP interface
  [21:26] Connectivity: Port mapping: Failed to get external IP

  An active connection is successfully configured.

  The system log in 0.863 is like this

  [10:44] Connectivity (IPv4): Determining the best connectivity settings...
  [10:44] Connectivity (IPv4): Local network with possible NAT detected, trying to map the ports...
  [10:44] Connectivity (IPv6): Determining the best connectivity settings...
  [10:44] Connectivity (IPv6): All IPv6 addresses found are local; disabling connectivity
  [10:44] Connectivity (IPv4): Port mapping: Failed to initialize the MiniUPnP interface
  [10:44] Connectivity (IPv4): Port mapping: Failed to map the Transfer port (19386 TCP) with the NAT-PMP interface
  [10:44] Connectivity (IPv4): Port mapping: Failed to create port mappings
  [10:44] Connectivity (IPv4): Active mode could not be achieved; a manual configuration is recommended for better connectivity
  [10:45] File list <C:\Users\Brett\AppData\Roaming\DC++\files.xml.bz2> generated

  I get only a passive connection.

  I have been reverting to 0.851 due to this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/1644512/+subscriptions


References