forked from legoscia/ejabberd-ircd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
83 lines (65 loc) · 2.47 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
ircd - IRC-to-XMPP interface
Author:
Magnus Henoch
xmpp:legoscia@jabber.cd.chalmers.se,
mailto:magnus.henoch@gmail.com
Homepage:
http://www.dtek.chalmers.se/~henoch/text/ejabberd-ircd.html
Requirements:
ejabberd trunk SVN 1631 or newer
DESCRIPTION
===========
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.
CONFIGURATION
=============
Something like this should be inserted in the "listen" section of the
configuration file:
{listen, [
...
{6667, ejabberd_ircd, [{access, c2s},
{host, "example.org"},
{muc_host, "conference.example.org"},
{encoding, "utf-8"},
{mappings,
[{"#esperanto", "esperanto@conference.jabber.org"}]} ]},
...
]}.
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.
AUTHENTICATION
==============
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
ejabberd.
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, ["example.org", "anonymous.example.org"]}.
{host_config, "anonymous.example.org",
[{auth_method, anonymous},
{anonymous_protocol, both}]}.
{listen, [
...
{6667, ejabberd_ircd, [{access, c2s},
{host, "anonymous.example.org"},
{muc_host, "conference.example.org"},
{encoding, "utf-8"} ]},
...
]}.