[JDEV] IP Address

Jens Alfke jens at mac.com
Fri Apr 6 16:13:36 CDT 2001


On Friday, April 6, 2001, at 01:21 PM, Peter Millard wrote:

> You can't :) The jabber architecture basically prevents this.

This seems similar to the issue with jabber:x:oob. You want to establish 
a connection to send some data, so you send someone an IP address and 
port number encapsulated in a URL. In the basic case you're sending your 
own address and the number of a port that your Jabber client just 
opened, but it's conceivable that some intermediate server could get 
involved as a reflector to get through firewalls/NAT.

So it seems you could initiate a NetMeeting / videoconference / whatever 
session by sending a particular message with an oob element that 
contains your IP address. You'd need some distinctive URL scheme — like 
"netmeeting:" or whatever instead of "http:" — to let the receiver know 
what sort of connection you want to open.

So in short it's not possible to find another Jabber client's IP 
address, but it's possible to reveal your own to that other client.

—Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1256 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20010406/5f579f52/attachment-0002.bin>


More information about the JDev mailing list