Bug 179079

Summary: External IP detection for Jingle uses whatsmyip.com
Product: [Unmaintained] kopete Reporter: Dennis Schridde <heri+kde>
Component: Jabber PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: detlev.casanova, lamarque
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dennis Schridde 2008-12-29 21:10:36 UTC
Version:           4.1.85 / 0.60.81 (using Devel)
Installed from:    Compiled sources

Currently the Jingle implementation in Kopete uses http://whatismyip.com/automation/n09230945.asp to retrieve the public IP address of the client, which is probably not the nicest way of doing this, and may also have some drawbacks. Some of which are:
- The IP as seen by whatsmyip.com may not be the same as the one seen by the contact
- It opens a popup in that kget/whatever applet

A better solution might be to ask the Jabber server for the IP, or use the same mechanism that is used for file transfers. (It might be advisable to have a "how to get my ip" settings box for each account.)

Random thought:
The IP address retrieved for one account can probably differ from the IP address for another account, due to multiple IP addresses for this machine, NATs, VLANs, routing, etc.
Comment 1 Detlev Casanova 2008-12-29 21:27:36 UTC
In KDE 4.3 (or 4.4), a new revision of the Iris library will be used, this one will support Jingle directly with ICE-UDP support (which is a mechanism that connects 2 computers together, passing through NATs and everything)

I will change the default setting so it is not done by default.

The mechanism used to get the IP is different in XMPP File Transfer (there is a Jingle File Transfer protocol though).
Comment 2 Lamarque V. Souza 2011-04-18 00:29:17 UTC
(In reply to comment #1)
> In KDE 4.3 (or 4.4), a new revision of the Iris library will be used, this one
> will support Jingle directly with ICE-UDP support (which is a mechanism that
> connects 2 computers together, passing through NATs and everything)
> 
> I will change the default setting so it is not done by default.
> 
> The mechanism used to get the IP is different in XMPP File Transfer (there is a
> Jingle File Transfer protocol though).

Has this change ever been done? Can I close this bug?