Sunday 20 July 2014

Xmpp

Extensible Messaging and Presence Protocol (XMPP): XMPP is known as secure and free instant messaging protocol. We want to use ejabberd to implement XMPP in this project. Ejabberd uses erlang (distributed database language) to share the user database with another XMPP server. In other words, we can have a chain on XMPP servers (one in each branch). 


to install xmpp by following stapes :-

1-    One XMPP server for each branch.
a.   xmpp.ksa.com
b.   xmpp.nz.ksa.com
c.   xmpp.us.ksa.com
2-    Using ‘ejabberd’ for implementing XMPP. Ejabberd was chosen for KSA because it is free, open-source and multi-platform instant messaging service that supports offline messaging with distributed databases (using ERLang).
3-    Downloading and running XMPP
e.   following the installation steps
4-    Creating an XMPP user
a.   sudo ejabberdctl register {username} ejabberd.thehii.com {password}
5-    Access to web based control panel

a.   http://IP address:5280/admin/






2 comments:

  1. What are the alternatives to Xmpp and eJabberd2?
    Does the later keep a record of past messages? What does your security policy says about this?

    ReplyDelete
  2. Extensible Signalling and Presence Protocol (XMPP) is a protocol for Instant Messaging (IM) purposes. The protocol was first call jabber (http://www.cisco.com/web/about/ac49/ac0/ac1/ac258/JabberInc.html). "ejabberd" is an implementation of XMPP which is both free (for open source projects) and under commercial licences.
    ejabberd uses TLS (public / private keys) for securing connections using TCP port 5223. The XMPP clients can be forced to use TLS only for having secure connections with the XMPP server.
    Ejabberd supports offline messaging module which is set to ON by default (mod_offline ON).

    ReplyDelete