Erlang Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


	ircd  -  IRC-to-XMPP interface

	  Magnus Henoch,
	  ejabberd trunk SVN 1631 or newer


This is an IRC server frontend to ejabberd.  It supports a subset of
the IRC protocol, allowing IRC users to use a subset of Jabber MUC
functions.  Users log in with their username and password, just as if
they were Jabber users.  Therefore, configuring the IRC interface to
use an anonymous authentication backend is probably what users expect.
Channel names are translated to MUC rooms on a particular MUC service.

The most obvious missing functions in this module are operator actions
and a command to list channels.


Something like this should be inserted in the "listen" section of the
configuration file:

{listen, [
  {6667, ejabberd_ircd,    [{access, c2s},
			    {host, ""},
			    {muc_host, ""},
			    {encoding, "utf-8"},
			    [{"#esperanto", ""}]} ]},

Configurable module options:
  access: ACL matching users allowed to use the IRC backend.
  host: hostname part of the JIDs of IRC users.
  muc_host: MUC service hosting IRC "channels".
  encoding: encoding that IRC users are expected to use.
  mappings: optional list of mappings from channel names to MUC rooms
    on other MUC services.


The IRC client needs to login in ejabberd. If the 'internal' auth
method is enabled, then the IRC client must provide the username and
password of an existing Jabber account.

If you want to allow an IRC client to join in MUC rooms without
requiring authentication, you can enable anonyous authentication in

Note that this module doesn't do SASL ANONYMOUS authentication.  This
means that to use anonymous authentication, the "anonymous_protocol"
option needs to be either "login_anon" or "both".

For example, you can define a new Jabber virtual host used only for
anonymous authentication by ejabberd_ircd:

{hosts, ["", ""]}.
{host_config, "",
	      [{auth_method, anonymous},
	       {anonymous_protocol, both}]}.
{listen, [
  {6667, ejabberd_ircd,    [{access, c2s},
			    {host, ""},
			    {muc_host, ""},
			    {encoding, "utf-8"} ]},