User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

how_jabber_xmpp_works [2012/02/29 12:43]
how_jabber_xmpp_works [2018/03/09 08:24]
Line 1: Line 1:
-===== XMPP as an IM protocol ===== 
-[[http://​​|XMPP]] (formerly named Jabber) is a protocol and an open system for Instant Messaging. 
-XMPP is a distributed system, which means that there isn't one single server or one centralized service where everybody has to have an account. There are multiple servers and providers, just like with email. You simply log on to your provider'​s server and start chatting with your friends. The servers will take care of exchanging the messages between the providers. 
-It is based on [[http://​​wiki/​XML|XML]],​ so a typical snippet of XMPP traffic looks like this: 
-{{ :​jabber_architecture.png|XMPP servers and clients exchanging messages}} 
-   <​message 
-       ​to='​'​ 
-       ​from='​​balcony'​ 
-       ​type='​chat'​ 
-       ​xml:​lang='​en'>​ 
-     <​body>​Wherefore art thou, Romeo?</​body>​ 
-   </​message>​ 
-This example also shows something special to XMPP: you can provide "​resources"​ (the "/​balcony"​ part), enabling you to be logged in with several clients at the same time. 
-Messages can be directed at either the "​plain"​ Jabber ID, then the actual recipient is determined by something called "​priority"​ (some numerical value specifying how much priority this login shall have) or some fallback method, otherwise the message is sent to the client where the recipient is logged in with the specified resource. 
-Another XMPP-only feature are "​pubsub services"​. These enable you to publish your mood or the title of the tune you're currently listening to. 
-Not all servers/​clients do support these features though. 
-There are already quite a lot of XMPP servers, but since XMPP is an open system, you can even setup your own server and become part of the network. For this purpose, you can use some of these open source server implementations:​ 
-  * [[http://​​en/​ejabberd/​|ejabberd]] 
-  * [[http://​​|Prosody]] 
-  * [[http://​​projects/​openfire/​index.jsp|Openfire]] 
-  * [[http://​|Tigase]] 
-  * [[http://​​|jabberd2]] 
-  * [[http://​|jabberd14]] 
-You may also visit http://​​xmpp-software/​servers/​ for a list of more server software. 
-This fact also makes XMPP the ideal choice for creating a company'​s internal IM solution, as you do not have to trust your messages to a third-party provider over a public network. 
-The communication between clients and servers is protected with [[http://​​wiki/​Transport_Layer_Security|TLS]] (if supported by client/​server). That means that the communication between users and their servers is secret and nobody can read it. If the servers support it, server-to-server traffic is enrcrypted, too. 
-It is also possible to use end-to-end encryption like [[http://​​wiki/​GNU_Privacy_Guard|GPG]] or [[http://​​wiki/​Off-the-Record_Messaging|OTR]]. 
-Servers can have additional services rather than just messaging and presence. Most servers have chatrooms (XMPP is not only one-to-one communiation),​ many also have gateways to open networks (like IRC) and to closed ones (MSN, Yahoo!, AIM). 
-===== Other uses of Jabber/XMPP ===== 
-There are several other ways Jabber/XMPP can be used: 
-  * As the underlying protocol powering [[http://​​wiki/​Whiteboarding|whiteboarding]]:​ 
-    * [[http://​​|Gajim]] whiteboard (since 0.15) 
-    * [[http://​​|Psi+]] whiteboard 
-    * [[http://​​|Coccinella]] whiteboard 
-  * using Twitter ([[http://​​2006/​10/​use-twitter-by-instant-message.html|blog entry]]) 
-  * Enabling collaborative editing of text: 
-    * Abiword collaboration plugin ([[http://​​release-notes/​2.6.0.phtml|2.6.0 Release notes]]) 
-  * ways still to be discovered... ;) 
-If you want to learn more about XMPP's technical details, you may want to read the [[http://​​wiki/​Extensible_Messaging_and_Presence_Protocol|Wikipedia entry on XMPP]], [[http://​​about-xmpp/​technology-overview/​|Technology Overview]] or even one of the specifications/​RFCs on [[http://​​|]]. 
how_jabber_xmpp_works.txt ยท Last modified: 2018/03/09 08:24 (external edit)