Skip to content
Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
Erlang TSQL Elixir Shell Perl M4 Other
Branch: master
Clone or download

Latest commit

weiss mod_carboncopy: Bump supported XEP revision
Since mod_carboncopy supports "urn:xmpp:carbons:rules:0", it implements
version 0.13.x of XEP-0280.
Latest commit e01e528 Apr 5, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Try removing label as bug Oct 4, 2019
.travis Travis CI: Update MySQL APT repository key Feb 20, 2019
config Fix syntax in Elixir config file Apr 12, 2019
examples Move mod_irc to ejabberd-contrib Jun 20, 2018
include Make webadmin redirect to page that end with / Mar 26, 2020
lib Adopt mix task to changes in ejabberd_config Aug 5, 2019
m4 Do not check for deprecated types Jun 14, 2018
man Add the man page Jan 8, 2020
plugins Rename plugin to not clash with plugin from dep Jan 8, 2020
priv Update Turkish Language Jan 10, 2020
rel Update copyright to 2020 (#3149) Jan 28, 2020
sql Merge pull request #3127 from area-42/allow_emojis_with_mssql Feb 20, 2020
src mod_carboncopy: Bump supported XEP revision Apr 5, 2020
test Don't replace %25 in webadmin test on older erlangs Apr 1, 2020
tools Update copyright to 2020 (#3149) Jan 28, 2020
win32 Move mod_irc to ejabberd-contrib Jun 20, 2018
.dockerignore add docker support Nov 16, 2016
.gitignore Tell git to ignore the example file ejabberd.service Nov 16, 2016
.travis.yml Travis CI: Test against Erlang/OTP 22.2 Jan 5, 2020
CHANGELOG.md Update changelog Mar 23, 2020
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Jan 9, 2018
CONTRIBUTING.md Fix a pair of small typos Dec 12, 2018
CONTRIBUTORS.md CONTRIBUTORS: UTF-8 encode my name Nov 19, 2018
COPYING Update FSF address Feb 22, 2014
Makefile.in Add the man page Jan 8, 2020
README.md Update README.md Feb 18, 2020
autogen.sh Force regeneration of configure script Apr 18, 2014
configure.ac Use lager on OTP<22.0 Oct 25, 2019
configure.bat Switch to rebar build tool Jun 13, 2013
cover.spec Add Coveralls support Mar 21, 2016
ejabberd.init.template Fix init script: use getent to allow ejabberd user from external auth… Sep 17, 2014
ejabberd.service.template Increase start-up/stop timeout in systemd unit Jun 7, 2018
ejabberd.yml.example Replace lager with built-in new logging API Oct 18, 2019
ejabberdctl.cfg.example Fix Erlang limits in ejabberdctl.cfg.example to reflect current situa… Jun 23, 2018
ejabberdctl.template Remove bash-izm from ejabberdctl.template introduced recently Apr 3, 2020
inetrc Switch to rebar build tool Jun 13, 2013
install-sh Switch to rebar build tool Jun 13, 2013
mix.exs Increase version to 20.3.0 Mar 25, 2020
mix.lock Update mix.lock Mar 23, 2020
rebar Recompile rebar script with OTP17.5 Aug 23, 2017
rebar.config Fix potential message loss in terminating c2s sessions Apr 1, 2020
rebar.config.script Use compilation flags used during build to compile modules in ext_mod Mar 3, 2020
vars.config.in Update copyright to 2020 (#3149) Jan 28, 2020

README.md

ejabberd Community Edition

Build Status Hex version

ejabberd is a distributed, fault-tolerant technology that allows the creation of large-scale instant messaging applications. The server can reliably support thousands of simultaneous users on a single node and has been designed to provide exceptional standards of fault tolerance. As an open source technology, based on industry-standards, ejabberd can be used to build bespoke solutions very cost effectively.

Key Features

  • Cross-platform ejabberd runs under Microsoft Windows and Unix-derived systems such as Linux, FreeBSD and NetBSD.

  • Distributed You can run ejabberd on a cluster of machines and all of them will serve the same XMPP domain(s). When you need more capacity you can simply add a new cheap node to your cluster. Accordingly, you do not need to buy an expensive high-end machine to support tens of thousands concurrent users.

  • Fault-tolerant You can deploy an ejabberd cluster so that all the information required for a properly working service will be replicated permanently on all nodes. This means that if one of the nodes crashes, the others will continue working without disruption. In addition, nodes also can be added or replaced ‘on the fly’.

  • Administrator-friendly ejabberd is built on top of the Open Source Erlang. As a result you do not need to install an external database, an external web server, amongst others because everything is already included, and ready to run out of the box. Other administrator benefits include:

    • Comprehensive documentation.
    • Straightforward installers for Linux.
    • Docker packaging to help with deploy / development on Linux, Windows or MacOS.
    • Deb and RPM packaging to support most Linux distributions.
    • Web administration.
    • Shared roster groups.
    • Command line administration tool.
    • Can integrate with existing authentication mechanisms.
    • Capability to send announce messages.
  • Internationalized ejabberd leads in internationalization. Hence it is very well suited in a globalized world. Related features are:

    • Translated to 25 languages.
    • Support for IDNA.
  • Open Standards ejabberd is the first Open Source Jabber server claiming to fully comply to the XMPP standard.

    • Fully XMPP-compliant.
    • XML-based protocol.
    • Many protocols supported.

Additional Features

Moreover, ejabberd comes with a wide range of other state-of-the-art features:

  • Modularity

    • Load only the modules you want.
    • Extend ejabberd with your own custom modules.
  • Security

    • SASL and STARTTLS for c2s and s2s connections.
    • STARTTLS and Dialback s2s connections.
    • Web Admin accessible via HTTPS secure access.
  • Databases

    • Internal database for fast deployment (Mnesia).
    • Native MySQL support.
    • Native PostgreSQL support.
    • ODBC data storage support.
    • Microsoft SQL Server support.
  • Authentication

    • Internal authentication.
    • PAM, LDAP and ODBC.
    • External authentication script.
  • Others

    • Support for virtual hosting.
    • Compressing XML streams with Stream Compression (XEP-0138).
    • Statistics via Statistics Gathering (XEP-0039).
    • IPv6 support both for c2s and s2s connections.
    • Multi-User Chat module with support for clustering and HTML logging.
    • Users Directory based on users vCards.
    • Publish-Subscribe component with support for Personal Eventing.
    • Support for web clients: HTTP Polling and HTTP Binding (BOSH).
    • Component support: interface with networks such as AIM, ICQ and MSN.

Quickstart guide

0. Requirements

To compile ejabberd you need:

  • GNU Make.
  • GCC.
  • Libexpat ≥ 1.95.
  • Libyaml ≥ 0.1.4.
  • Erlang/OTP ≥ 19.3.
  • OpenSSL ≥ 1.0.0.
  • Zlib ≥ 1.2.3, for Stream Compression support (XEP-0138). Optional.
  • PAM library. Optional. For Pluggable Authentication Modules (PAM).
  • ImageMagick's Convert program and Ghostscript fonts. Optional. For CAPTCHA challenges.

If your system splits packages in libraries and development headers, you must install the development packages also.

1. Compile and install on *nix systems

To compile ejabberd, execute the following commands. The first one is only necessary if your source tree didn't come with a configure script (In this case you need autoconf installed).

./autogen.sh
./configure
make

To install ejabberd, run this command with system administrator rights (root user):

sudo make install

These commands will:

  • Install the configuration files in /etc/ejabberd/
  • Install ejabberd binary, header and runtime files in /lib/ejabberd/
  • Install the administration script: /sbin/ejabberdctl
  • Install ejabberd documentation in /share/doc/ejabberd/
  • Create a spool directory: /var/lib/ejabberd/
  • Create a directory for log files: /var/log/ejabberd/

2. Start ejabberd

You can use the ejabberdctl command line administration script to start and stop ejabberd. For example:

ejabberdctl start

For detailed information please refer to the ejabberd Installation and Operation Guide available online and in the doc directory of the source tarball.

Development

In order to assist in the development of ejabberd, and particularly the execution of the test suite, a Vagrant environment is available at https://github.com/processone/ejabberd-vagrant-dev.

To start ejabberd in development mode from the repository directory, you can type a command like:

EJABBERD_CONFIG_PATH=ejabberd.yml erl -pa ebin -pa deps/*/ebin -pa test -pa deps/elixir/lib/*/ebin/ -s ejabberd

Links

You can’t perform that action at this time.