At the end of 2013, I wrote a series of tutorials explaining how to run an email server at home on a raspberry pi, which turned out to be very popular.
I'm now aiming to do the same for instant messaging. This tutorial will:
- Introduce the Extensible Messaging and Presence Protocol (XMPP), formerly known as "Jabber"
- Discuss some of the pros and cons of XMPP vs some other proprietary protocols
- Give instructions for the installation and configuration of Prosody, a free and open source XMPP server.
- Discuss various important XMPP Extension Protocols (XEPs) and how to enable them
- Cover transport layer encryption (i.e. client-server and server-server TLS) and end-to-end encryption for clients
- Recommend client software for different platforms
Along the way, I'll expose the underlying protocol to give you the tools you need to debug the problem yourself, instead of relying on obscured error messages from GUI applications.
This is part 1 of a 2 part tutorial. Part 2 can be found here.