article

Extensible Messaging and Presence Protocol, or XMPP, is an open, XML-based protocol for near-real-time, extensible instant messaging and presence information. It is the core protocol of the Jabber Instant Messaging and Presence technology which is currently deployed on thousands of Jabber servers across the Internet and is used by millions of people worldwide.

Founded in 2002, The Internet Engineering Task Force (IETF) XMPP Working Group aimed to adapt the XMPP for use as an IETF Instant Messaging and presence technology. Four of their specifications were approved by the IESG as Proposed Standards in 2004. Shortly thereafter, the XMPP Working Group was concluded. Since then, XMPP-extension architecture is under control of the Jabber Software Foundation.

Specifications


The IETF XMPP working group has produced a number of RFC protocol documents:
  • RFC 3920, Extensible Messaging and Presence Protocol (XMPP): Core which describes client-server messaging using two open ended XML streams. XML streams consist of <presence/>, <message/> and <iq/> (info/query) as illustrated in the example client-server conversation. A connection is authenticated with Simple Authentication and Security Layer (SASL) and encrypted with Transport Layer Security (TLS).
  • RFC 3921, Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence describes instant messaging (IM), the most common application of XMPP.
  • RFC 3922, Mapping the Extensible Messaging and Presence Protocol (XMPP) to Common Presence and Instant Messaging (CPIM) relates XMPP and the Common Presence and Instant Messaging (CPIM) specifications.
  • RFC 3923, End-to-End Signing and Object Encryption for the Extensible Messaging and Presence Protocol (XMPP) describes end to end encryption of XMPP messages using S/MIME. Conflicting this proposal, many clients currently use GPG for encrypting messages.

Implementations


Example client-server conversation using the XMPP protocol


A client (Alice) connects to Jabber server (example.org on TCP port 5222), sends a message (Subject: "Hello!" and Body: "Can't wait to see you tomorrow.") to another client (Bob) and logs out.

Alice (client): "http://etherx.jabber.org/streams" xmlns="jabber:client" to="example.org"> example.org (server): 'http://etherx.jabber.org/streams' from='example.org' id='1461777714'> Alice: alice password Work example.org: Alice: Hello! Can't wait to see you tomorrow. Logged out example.org:

External links


XML-based standards | Instant messaging

XMPP | Extensible Messaging and Presence Protocol | Extensible messaging and presence protocol | Jabber#XMPP | Extensible Messaging and Presence Protocol | XMPP | XMPP | Extensible Messaging and Presence Protocol | XMPP

 

This article is licensed under the GNU Free Documentation License. It uses material from the "Extensible Messaging and Presence Protocol".

Home Pageartsbusinesscomputersgameshealthhospitalshomekids & teensnewsphysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld