

- #Ejabberd server setup how to
- #Ejabberd server setup install
- #Ejabberd server setup manual
- #Ejabberd server setup archive
- #Ejabberd server setup software
What I never managed to do is to make them cooperate. I installed coturn and got it running in less than an hour. Then I tried to make voice calls, and discovered that I needed a stun/turn server. ProsodyI installed prosody on a debian 10 (buster) box, it was running in less than an hour. The situation is not as dire as it first sounds, but it is an important factor to take into account when testing and to be cautious about when setting up your own XMPP infrastructure.
#Ejabberd server setup archive
- Some servers support mam (Message Archive Management -> history for offline messages) - while some don't.- Some servers support muc (mutli user chatroom) - while some don't.- Some clients support OMEMO (end to end encryption, while some don't.- Some servers will help you connecting voip/video calls (stun/turn), some won't.- Some clients are capabale of audio/video - while some don't - or do, but not with another program.
#Ejabberd server setup software
One sad side about XMPP is that support for different XEP can greatly vary depending on software (both clients and servers) - The one thing that universally works between all clients is simple, clear text messaging. One postitive point about XMPP is the diversity of clients and available for many different platforms. You can check the list of XEP for yourself! This is nice, as the protocol is not stuck in stone and can evolve. These come in the form of XEP, which are public proposals defined by a number (ie: XEP-0313 Message Archive Management - XEP-0384 OMEMO Encryption) and can be implemented by various server/client software once validated. If you wonder why not running it at home, I'm preparing a post about self-hosting!Īs XMPP is an extensible protocol, many functionalities can be built on top of it.
#Ejabberd server setup install
So I decided to install an XMPP server and ordered a vps (virtual private server) for a year.
#Ejabberd server setup how to
If you wonder why, read Solène on how to choose a communication protocol.Īdditionally, it is interesting to know that whatsapp is based on XMPP! The WhatsApp Architecture Facebook Bought For $19 Billion. After doing quite some research, I decided to go with irc and jabber (XMPP). I guess I must be one of the few who did not click agree on Whatsapp's latest terms and conditions -I'm not switching to google chats either! I expect to be kicked out any day soon \o/.Īnyway, this feels like a good time to choose a new im protocol, and stick to it. it's been bothering for quite a long time to switch instant messaging (im) app every few years and share all my conversations with those third parties. IntroĪOL, ICQ, Hangouts, Messenger, Whatsapp. Updated : Removed thumbnail (useless with modern encrypted uploads), switched to certfiles (available as of ejabberd 17.11), and included dhparam creation.Your own xmpp server with ejabberd on Debian 11 Bullseye 0. openssl dhparam -out /etc/ejabberd/dhparams.pem 2048Ĭhown ejabberd /etc/ejabberd/dhparams.pem

Your certificate should cover example.ch,, , and (and ). You will also require the following entries in the Domain Name System. Turn_ip: "192.2.0.1" # Your IP address DNS configuration Http_bind: true # Will map to "/http-bind" # Expire files on server after specified period mod_http_upload_quota:

"Access-Control-Allow-Headers": "Content-Type" "Access-Control-Allow-Methods": "OPTIONS, HEAD, GET, PUT" Host: "/srv/userdata/" # Or wherever you would like to have them stored # File transfer via HTTP Upload mod_http_upload: Host: # "hosts:" for multiple pubsub services # Additional services # Publish/subscribe, e.g.
#Ejabberd server setup manual
Modules: # See manual # Ad-Hoc Commands ( XEP-0050) mod_adhoc: S2s_protocol_options: 'TLSOPTS' s2s_ciphers: 'CIPHERS' s2s_dhfile: 'DHFILE' c2s_dhfile: 'DHFILE' # Will be used for substitution as well hosts: "/etc/letsencrypt/live/*/fullchain.pem" 'DHFILE': "/etc/ejabberd/dhparams.pem" certfiles: Replace the modules: section and other variables with the following: define_macro: 'CIPHERS': "no_sslv3" # generated with: openssl dhparam -out dhparams.pem 2048 Single-host configurationĬonfiguration for a single virtual host for ejabberd 17.11.

The configuration documentation is detailed, but even for a seasoned systems administrator or XMPP guru, a lot of questions remain. However, to obtain a smoothly running modern feature set is harder. It is easy to get it running for text-based messaging with a few configuration changes. Ejabberd is one of the most widely used XMPP servers.
