

This may give us a reason to celebrate, but it does draw a sad picture of the quality of encryption on the Jabber/XMPP network: We didn't exactly take any extraordinary steps to secure our server. Thijs also graded encryption quality, and as it turns out, jabber.at was in the top-spot in encryption quality. Part 1 covers the quality of TLS encryption on client-to-server (c2s) connections, while part 2 covers server-to-server (s2s) connections (and part 3 covers clients, not of interest in this article). There are no ads in this search engine enabler service.Recently, Thijs Alkemade published a three-part blog post on "The State of TLS security on XMPP".

ℹ️About GitHub Wiki SEE, a search engine enabler for GitHub WikisĪs GitHub blocks most GitHub Wikis from search engines. It is not recommended to make the epmd daemon listening on 0.0.0.0 (or don't forget to add iptables rules).Ĭontinue Archipel installation 🗂️ Page Index for this GitHub Wiki In this case, you will have to add an entry to your /etc/hosts file : 127.0.0.1 FQDN ShortNameĮxample : 127.0.0.1 archipel.local archipel Then it tries to connect to epmd port on that public IP, but as epmd is listening only on 127.0.0.1 it will failed. So the command first tries to resolve hostname via inet:gethostbyname, and gets hosts FQDN and public IP via dns (since /etc/nf have "search" line). # and in a cluster of several ejabberd nodes. # This communication is used by ejabberdctl command line tool, #' INET_DIST_INTERFACE: IP address where this Erlang node listens other nodes Note : ejabberdctl command will try to reach the epmd daemon listening to localhost as defined in /etc/ejabberd/nf by default. If you are getting Failed RPC connection to the node : nodedown, modify your /etc/ejabberd/nf: > The node is started with status: started You can check that ejabberd is started and working with (often run as root): ejabberdctl status Stopping and restarting follow the same method. The proper way to start ejabberd under linux is to use the service manager (often run as root): service ejabberd startĭepending on the distro this could rely to your old felow init.d or brand new buddy systemd. On every system ejabberdctl is used for controlling the already running ejabberd process. Openssl rsa -in /etc/ejabberd/privkey.pem -out /etc/ejabberd/privkey.pemĬat /etc/ejabberd/privkey.pem > /etc/ejabberd/ejabberd.pem openssl req -new -x509 -newkey rsa:1024 -days 3650 -keyout /etc/ejabberd/privkey.pem -out /etc/ejabberd/ejabberd.pem Important note: Be sure to enter your FQDN when asked for "Common Name (e.g. Generate your self-signed certificate if you don't have any. If you have not access to a DNS, you need to add in all the /etc/hosts files of your platform: X.X.X.X Note you have to replace all FQDN by your accessible fully qualified domain name manually or with: sed -i 's/FQDN//' /etc/ejabberd/ejabberd.yaml Max_inactivity: 400 # timeout valie for BOSH usefull for a large number of VM # domain_certfile: "/path/to/example_com.pem" # domain_certfile: "/path/to/example_org.pem" # domain_certfile: Specify a different certificate for each served hostname. #s2s_certfile: "/etc/ejabberd/ejabberd.pem" # please be sure that the certificate belong # if you want to use starttls with websock
ARCHIPEL EJABBERD OPENSSL FULL
# certificate, specify the full path to the # and read the Security section on the wiki #because you can't use tls directly, make it listen to localhost

#it's a good idea to put xmlrpc behing a reverse proxy # Increase this if you want sone insane erlang debug Important note: Ejabberd will take by default any erlang configuration file present in the configuration directory. WARING: In the next section we assume that configuration files are stored under /etc/ejabberd/ (if you have only done the default binary installation the files will be located under /opt/ejabberd/conf) ejabberd YAML configuration It is not ready for production, but allows you to quickly start playing with Archipel. This sample file contains the ejabberd configuration needed for Archipel. Go back to ](/ArchipelProject/Archipel/wiki/Ejabberd:-Preparing-Ejabberd) Important note: If you can't start ejabberd with this config file, this is mainly because something is wrong with your module installation, and Archipel will certainly not work. Although this is still compatible with the old format, we will no longer provide default configuration file erlang format. Ejabberd dropped their erlang configuration file format for a better readable yaml configuration file.
