No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xep-0073.xml 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <!DOCTYPE xep SYSTEM 'xep.dtd' [
  3. <!ENTITY % ents SYSTEM 'xep.ent'>
  4. %ents;
  5. ]>
  6. <?xml-stylesheet type='text/xsl' href='xep.xsl'?>
  7. <xep>
  8. <header>
  9. <title>Basic IM Protocol Suite</title>
  10. <abstract>This document defines a recommended suite of Jabber/XMPP protocols to be supported by basic instant messaging and presence applications. Note: This protocol suite has been obsoleted by XEP-0211 and XEP-0212.</abstract>
  11. &LEGALNOTICE;
  12. <number>0073</number>
  13. <status>Obsolete</status>
  14. <type>Standards Track</type>
  15. <sig>Standards</sig>
  16. <dependencies>
  17. <spec>XMPP Core</spec>
  18. <spec>XMPP IM</spec>
  19. <spec>XEP-0030</spec>
  20. <spec>XEP-0077</spec>
  21. <spec>XEP-0078</spec>
  22. <spec>XEP-0086</spec>
  23. <spec>XEP-0115</spec>
  24. </dependencies>
  25. <supersedes/>
  26. <supersededby>
  27. <spec>XEP-0242</spec>
  28. <spec>XEP-0243</spec>
  29. </supersededby>
  30. <shortname>N/A</shortname>
  31. &stpeter;
  32. <revision>
  33. <version>1.2</version>
  34. <date>2007-10-30</date>
  35. <initials>psa</initials>
  36. <remark><p>Per a vote of the XMPP Council, changed status to Obsolete and referred implementors to XEP-0211 and XEP-0212.</p></remark>
  37. </revision>
  38. <revision>
  39. <version>1.1</version>
  40. <date>2007-02-15</date>
  41. <initials>psa</initials>
  42. <remark><p>Changed support for XEP-0077 from required for servers and recommended for clients to recommended for both servers and clients; changed support for XEP-0078 from required for both servers and clients to recommended for servers and not recommended for clients; changed support for XEP-0086 from required for servers and recommended for clients to recommended for both servers and clients; added XEP-0115 as required for clients.</p></remark>
  43. </revision>
  44. <revision>
  45. <version>1.0</version>
  46. <date>2004-12-09</date>
  47. <initials>psa</initials>
  48. <remark><p>Per a vote of the Jabber Council, advanced status to Active.</p></remark>
  49. </revision>
  50. <revision>
  51. <version>0.10</version>
  52. <date>2004-12-06</date>
  53. <initials>psa</initials>
  54. <remark><p>Per feedback from the Jabber Council, made all of RFC 3920 mandatory (no loophole allowing certain client platforms to not support TLS and SASL).</p></remark>
  55. </revision>
  56. <revision>
  57. <version>0.9</version>
  58. <date>2004-12-01</date>
  59. <initials>psa</initials>
  60. <remark><p>Removed reference to deployments and moved historical paragraph to a footnote.</p></remark>
  61. </revision>
  62. <revision>
  63. <version>0.8</version>
  64. <date>2004-11-18</date>
  65. <initials>psa</initials>
  66. <remark><p>Updated references to reflect publication of RFCs 3920 and 3921.</p></remark>
  67. </revision>
  68. <revision>
  69. <version>0.7</version>
  70. <date>2004-08-18</date>
  71. <initials>psa</initials>
  72. <remark><p>Changed In-Band Registration to recommended for clients; added note about SSL communications over port 5223; clarified wording throughout.</p></remark>
  73. </revision>
  74. <revision>
  75. <version>0.6</version>
  76. <date>2004-03-24</date>
  77. <initials>psa</initials>
  78. <remark><p>Updated to reflect approval of XMPP Core and XMPP IM.</p></remark>
  79. </revision>
  80. <revision>
  81. <version>0.5</version>
  82. <date>2003-11-24</date>
  83. <initials>psa</initials>
  84. <remark><p>Updated to reflect work by the XMPP WG; changed status to Deferred.</p></remark>
  85. </revision>
  86. <revision>
  87. <version>0.4</version>
  88. <date>2003-08-13</date>
  89. <initials>psa</initials>
  90. <remark><p>Renamed.</p></remark>
  91. </revision>
  92. <revision>
  93. <version>0.3</version>
  94. <date>2003-05-20</date>
  95. <initials>psa</initials>
  96. <remark><p>Slight editorial revisions.</p></remark>
  97. </revision>
  98. <revision>
  99. <version>0.2</version>
  100. <date>2003-04-06</date>
  101. <initials>psa</initials>
  102. <remark><p>Limited scope to definition of "Jabber IM Basic".</p></remark>
  103. </revision>
  104. <revision>
  105. <version>0.1</version>
  106. <date>2003-03-04</date>
  107. <initials>psa</initials>
  108. <remark><p>Initial version.</p></remark>
  109. </revision>
  110. </header>
  111. <section1 topic='Introduction' anchor='intro'>
  112. <p><em>Note: This protocol suite is obsolete. For updated protocol suites, refer to &xep0211; and &xep0212;.</em></p>
  113. <p>Given the large number of Jabber/XMPP protocols,
  114. <note>The protocols developed by the Jabber community have matured considerably since 1999. The core protocols were originally created by a small group of developers who worked on early Jabber-related open-source software projects such as the &jabberd; server, the Winjab, Gabber, and Jarl clients, the Net::Jabber and Jabberbeans libraries, and gateways to consumer IM services. In the summer of 2001, the &XSF; was founded to institute a formal standards process within the growing Jabber community (codified in &xep0001;). In late 2002, the &IETF; formed the &XMPPWG;, which formalized the core Jabber protocols under the name Extensible Messaging and Presence Protocol (XMPP). In early 2004, the IETF approved the main XMPP specifications as Proposed Standards within the Internet Standards Process defined by &rfc2026;, resulting in publication of &rfc3920; and &rfc3921;. In the meantime, the XSF has continued to develop additional protocols on top of XMPP in order to address functionality areas that are too application-specific for consideration within the IETF.</note>
  115. it is not always clear to developers exactly which protocols they need to implement in order to interoperate over Jabber/XMPP networks. This document attempts to assist developers by defining a protocol suite for basic instant messaging and presence.</p>
  116. </section1>
  117. <section1 topic='Requirements and Approach' anchor='reqs'>
  118. <p>Defining a protocol suite provides a high-level "bucket" into which we can place specific functionality areas for development and compliance testing. A baseline is provided by RFCs 3920 and 3921, which define XML streams, JID processing, channel encryption, authentication, the three primary XML stanza types (&MESSAGE;, &PRESENCE;, and &IQ;), namespace handling, presence subscriptions, roster management, and privacy lists (whitelisting/blacklisting). However, basic Jabber instant messaging and presence applications should support several additional protocols that were not included in the XMPP specifications for either of the following reasons:</p>
  119. <ul>
  120. <li>They were not required to meet the requirements of &rfc2779; (e.g, service discovery)</li>
  121. <li>They were and remain in common use within the Jabber community but did not meet the more stringent requirements of the IETF (e.g., old-style, non-SASL authentication)</li>
  122. </ul>
  123. <p>The Basic IM Protocol Suite does not include more advanced IM functionality, such as groupchat or HTML message formatting; see &xep0117; for such features.</p>
  124. </section1>
  125. <section1 topic='Definition' anchor='def'>
  126. <p>The software developed in the Jabber community is built on the foundation of XML streams, a consistent addressing scheme (JIDs), channel encryption, authentication of an entity (client or server) with a server, three core data elements (&MESSAGE;, &PRESENCE;, and &IQ;), and proper handling of XML namespaces. These foundational building blocks have been formalized within RFC 3920, support for which is REQUIRED by this protocol suite.</p>
  127. <p>However, XMPP Core is not fully congruent with the core of what has traditionally been known as "Jabber", and this divergence needs to be captured in the Basic IM Protocol Suite. For the sake of backward compatibility, support for &xep0078; is RECOMMENDED for servers (but not clients) as a fallback method of authentication by older deployed clients. <note>Older software also used port 5223 for SSL-enabled communications between a client and a server, rather than upgrading port 5222 as is done during TLS negotiation (the equivalent for server-to-server communications was never implemented). Support for this behavior is OPTIONAL on the part of servers for backwards-compatibility with older deployed clients.</note> In addition, support for the error 'code' attribute specified in &xep0086; is RECOMMENDED for both clients and servers.</p>
  128. <p>RFC 3920 does not define everything that is normally expected of even a minimal instant messaging and presence application (in effect, it defines the transport layer rather than the IM and presence application layer). Much of this IM and presence functionality is defined in RFC 3921 in order to meet the requirements of RFC 2779. In particular, RFC 3921 defines roster management, presence subscriptions, and routing and delivery guidelines for clients and servers. Therefore, support for <cite>RFC 3921</cite> is REQUIRED.</p>
  129. <p>Furthermore, Jabber instant messaging and presence applications typically include the ability to discover information about other entities on the network, and to reply to queries for information. This behavior is extremely helpful because it ensures that entities on the network can determine each other's capabilities and thus understand how to communicate together. Therefore, support for &xep0030; is REQUIRED by this protocol suite, as is (for clients) the dynamic profile of service discovery specified in &xep0115;.</p>
  130. <p>Traditionally, Jabber servers (and some services) have also offered the ability for clients to register accounts "in-band" (see &xep0077;) in order to bootstrap participation on the network; support for that protocol is RECOMMENDED but any given server deployment MAY disable in-band registration as a matter of service provisioning.</p>
  131. <p>Thus we define the Basic IM Protocol Suite as follows:</p>
  132. <table caption='Required and Recommended Specifications'>
  133. <tr>
  134. <th>Specification</th>
  135. <th>Requirement Level</th>
  136. </tr>
  137. <tr>
  138. <td><strong>RFC 3920: XMPP Core</strong></td>
  139. <td>REQUIRED</td>
  140. </tr>
  141. <tr>
  142. <td><strong>RFC 3921: XMPP IM</strong></td>
  143. <td>REQUIRED</td>
  144. </tr>
  145. <tr>
  146. <td><strong>XEP-0030: Service Discovery</strong></td>
  147. <td>REQUIRED</td>
  148. </tr>
  149. <tr>
  150. <td><strong>XEP-0077: In-Band Registration</strong></td>
  151. <td>RECOMMENDED</td>
  152. </tr>
  153. <tr>
  154. <td><strong>XEP-0078: Non-SASL Authentication</strong></td>
  155. <td>RECOMMENDED for servers; NOT RECOMMENDED for clients</td>
  156. </tr>
  157. <tr>
  158. <td><strong>XEP-0086: Error Condition Mappings</strong></td>
  159. <td>RECOMMENDED</td>
  160. </tr>
  161. <tr>
  162. <td><strong>XEP-0115: Entity Capabilities</strong></td>
  163. <td>REQUIRED for clients</td>
  164. </tr>
  165. </table>
  166. </section1>
  167. <section1 topic='Security Considerations' anchor='security'>
  168. <p>RFC 3920 requires support for SASL and TLS as must-implement protocols, and that support is not modified herein. The older authentication method specified in <cite>XEP-0078: Non-SASL Authentication</cite> is now deprecated; however, support for it is still recommended in server implementations for the sake of backward compatibility (see <cite>XEP-0078</cite> regarding the proper order of precedence between SASL authentication and non-SASL authentication).</p>
  169. </section1>
  170. <section1 topic='IANA Considerations' anchor='iana'>
  171. <p>This document requires no interaction with &IANA;.</p>
  172. </section1>
  173. <section1 topic='XMPP Registrar Considerations' anchor='registrar'>
  174. <p>This document requires no interaction with the &REGISTRAR;.</p>
  175. </section1>
  176. </xep>