diff --git a/xep-0279.xml b/xep-0279.xml index eae22ae3..da41154f 100755 --- a/xep-0279.xml +++ b/xep-0279.xml @@ -10,7 +10,7 @@ This specification defines a simple XMPP extension that enables a client to discover its external IP address. &LEGALNOTICE; 0279 - Deferred + Experimental Standards Track Standards Council @@ -23,6 +23,12 @@ &stpeter; &diana; &thiago; + + 0.2 + 2013-04-17 + psa +

Modified XML format so server can return port as well as IP address; incremented protocol version from 0 to 1.

+
0.1 2010-03-05 @@ -44,7 +50,7 @@ -

There are times when a client might want or need to discover what its external Internet Protocol (IP) address is, e.g. when gathering transport candidates for &xep0065; or &xep0176;. One way to do so is for the client to ask the XMPP server to which it has connected. This simple specification defines such a method. The information provided by the server cannot necessarily be relied upon because there might be intermediate entities between the client and the server, but if the IP address returned by the server is different from the client's notion of its IP address then at the very least the client has received a hint that it might be behind a network address translator (NAT) and therefore cannot usefully provide its private IP address as a candidate for use in multimedia negotiations.

+

There are times when a client might want or need to discover what its external Internet Protocol (IP) address and port are, e.g. when gathering transport candidates for protocols such as &xep0065; or &xep0176;. One way to do so is for the client to ask the XMPP server to which it has connected. This specification defines such a method. The information provided by the server cannot necessarily be relied upon because there might be intermediate entities between the client and the server, but if the IP address and port returned by the server is different from the client's notion of its IP address and port then at the very least the client has received a hint that it might be behind a network address translator (NAT) and therefore cannot usefully provide its private IP address as a candidate for use in multimedia negotiations.

@@ -53,29 +59,34 @@ - +
]]> -

The server then returns an IQ-result containing an <ip/> element whose XML character data specifies the client's IP address according to the server.

- The server then returns an IQ-result containing an <address/> element containing an <ip/> element specifying the client's external IP address and, optionally, a <port/> element specifying the client's external port.

+ - 192.168.4.1 +
+ 192.168.4.1 + 12345 ]]> -

The IP address could be IPv4 or IPv6.

+

Note that the IP address could be IPv4 or IPv6.

- 2001:db8::9:1 +
+ 2001:db8::9:1 + 12345 +
]]>
-

If an entity supports this protocol, it MUST report that by including a service discovery feature of "urn:xmpp:sic:0" in response to disco#info requests &NSNOTE;.

+

If an entity supports this protocol, it MUST report that by including a service discovery feature of "urn:xmpp:sic:1" in response to disco#info requests &NSNOTE;.

- + ]]> @@ -108,7 +119,7 @@

This specification defines the following XML namespace:

    -
  • urn:xmpp:sic:0
  • +
  • urn:xmpp:sic:1

Upon advancement of this specification from a status of Experimental to a status of Draft, the ®ISTRAR; shall add the foregoing namespace to the registry located at &NAMESPACES;, as described in Section 4 of &xep0053;.

@@ -123,14 +134,26 @@ - + + + + + + + + + ]]>
+ +

Thanks to Joe Hildebrand for his feedback.

+
+