Automatic external IP address detection

Bug #311483 reported by Steven Sheehy
4
Affects Status Importance Assigned to Milestone
LinuxDC++
Confirmed
Wishlist
Unassigned

Bug Description

Berlios Feature Request #4168: Automatic external IP address detection
https://developer.berlios.de/feature/index.php?func=detailfeature&feature_id=4168&group_id=2230

Revision history for this message
Steven Sheehy (steven-sheehy) wrote :

This type of development would have to be done in the core. We'd have to make the changes ourself and then hope upstream accepts our patch. Second, to implement autodetection is quite complex. Here are the steps Pidgin takes:

1) Try to retrieve it from a STUN server (e.g. stunserver.org, but we can't hardcode any stun server).
2) Try to detect via UPnP, which will require a lot of development to implement this on unix and add a library
dependency (libupnp).
3) Try to detect via PMP, which will require a lot of development also and add a library dependency (libnatpmp - which doesn't seem to be in many distributions).
4) Use the local IP if all else failed (we already do this).

Pidgin, for example, cannot detect my public IP using default settings even with all of its methods used to
automate the process.

Changed in linuxdcpp:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Sami Olmari (olmari) wrote :

How about using MiniUPNPc code built in? more info about here: http://miniupnp.free.fr/

Revision history for this message
Razzloss (razzloss) wrote :

If upnp is implemented I'd rather add a dependency than a builtin library.

--RZ

Revision history for this message
riptide (riptide) wrote :

How about whatismyip.org or similar services?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.