2008-12-02 15:41:57 +01:00
|
|
|
|
|
|
|
ngIRCd - Next Generation IRC Server
|
2011-07-10 14:20:48 +02:00
|
|
|
http://ngircd.barton.de/
|
2008-12-02 15:41:57 +01:00
|
|
|
|
2011-07-10 14:20:48 +02:00
|
|
|
(c)2001-2011 Alexander Barton and Contributors.
|
2008-12-02 15:41:57 +01:00
|
|
|
ngIRCd is free software and published under the
|
|
|
|
terms of the GNU General Public License.
|
|
|
|
|
|
|
|
-- Services.txt --
|
|
|
|
|
|
|
|
|
2012-11-10 21:24:55 +01:00
|
|
|
ngIRCd doesn't implement a "special IRC services interface", but services
|
|
|
|
acting as a "regular servers" ("pseudo servers") are supported, either
|
|
|
|
using the IRC protocol as defined in RFC 1459 or RFC 2812.
|
2008-12-02 15:41:57 +01:00
|
|
|
|
2012-11-04 13:22:26 +01:00
|
|
|
Support for Services has been tested using
|
2013-03-13 22:08:16 +01:00
|
|
|
- Anope 1.9.8 or later (<http://www.anope.org/>)
|
2012-11-04 13:22:26 +01:00
|
|
|
- Atheme 7.0.2 or later (<http://www.atheme.net>)
|
|
|
|
- "IRC Services" 5.1.x by Andrew Church (<http://achurch.org/services/>)
|
2011-07-10 14:20:48 +02:00
|
|
|
|
|
|
|
This document describes setting up ngIRCd and these services.
|
2008-12-02 15:41:57 +01:00
|
|
|
|
2012-11-04 13:22:26 +01:00
|
|
|
Please let us know if you are successfully using other IRC service packages or
|
|
|
|
which problems you encounter -- thanks!
|
|
|
|
|
2008-12-02 15:41:57 +01:00
|
|
|
|
|
|
|
Setting up ngIRCd
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
The "pseudo server" handling the IRC services is configured as a regular
|
|
|
|
remote server in the ngircd.conf(5). In addition the variable "ServiceMask"
|
|
|
|
should be set, enabling this ngIRCd to recognize the "pseudo users" as IRC
|
2008-12-04 11:14:26 +01:00
|
|
|
services instead of regular IRC users.
|
2008-12-02 15:41:57 +01:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
[SERVER]
|
|
|
|
Name = services.irc.net
|
|
|
|
MyPassword = 123abc
|
|
|
|
PeerPassword = 123abc
|
|
|
|
ServiceMask = *Serv
|
|
|
|
|
|
|
|
|
2014-02-02 20:28:21 +01:00
|
|
|
Setting up Anope 1.9.x & 2.x
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2011-07-10 14:20:48 +02:00
|
|
|
|
2013-03-13 22:08:16 +01:00
|
|
|
Anope 1.9.8 or later (<http://www.anope.org/>) can be used with ngIRCd using
|
|
|
|
the "ngircd" protocol module.
|
2011-07-10 14:20:48 +02:00
|
|
|
|
2012-11-10 21:24:55 +01:00
|
|
|
At least the following settings have to be tweaked, in addition to all the
|
|
|
|
settings marked as required by Anope:
|
|
|
|
|
|
|
|
In conf/services.conf:
|
|
|
|
|
|
|
|
define
|
|
|
|
{
|
|
|
|
name = "services.host"
|
|
|
|
value = "services.irc.net"
|
|
|
|
}
|
2011-07-10 14:20:48 +02:00
|
|
|
|
|
|
|
uplink
|
|
|
|
{
|
|
|
|
host = "server.irc.net"
|
|
|
|
port = 6667
|
|
|
|
password = "123abc"
|
|
|
|
}
|
|
|
|
|
2012-11-10 21:24:55 +01:00
|
|
|
# Load ngIRCd protocol module
|
2014-02-02 20:28:21 +01:00
|
|
|
module
|
|
|
|
{
|
|
|
|
name = "ngircd"
|
|
|
|
}
|
2012-11-10 21:24:55 +01:00
|
|
|
|
|
|
|
networkinfo
|
|
|
|
{
|
|
|
|
# Must be set to the "MaxNickLength" setting of ngIRCd!
|
|
|
|
nicklen = 9
|
|
|
|
|
2014-02-02 20:28:21 +01:00
|
|
|
# When not using "strict mode", which is the default:
|
|
|
|
userlen = 20
|
|
|
|
|
2012-11-10 21:24:55 +01:00
|
|
|
chanlen = 50
|
|
|
|
}
|
|
|
|
|
|
|
|
In conf/nickserv.conf:
|
|
|
|
|
2014-02-02 20:28:21 +01:00
|
|
|
module
|
2011-07-10 14:20:48 +02:00
|
|
|
{
|
2014-02-02 20:28:21 +01:00
|
|
|
name = "nickserv"
|
|
|
|
|
2012-11-10 21:24:55 +01:00
|
|
|
# not required if you are running ngIRCd with a higher nickname limit
|
|
|
|
# ("MaxNickLength") than 11 characters, but REQUIRED by default!
|
|
|
|
guestnickprefix = "G-"
|
2011-07-10 14:20:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-11-04 13:22:26 +01:00
|
|
|
Setting up Atheme 7.0.2 or later
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
Atheme 7.0.2 or later (<http://www.atheme.net>) may be used with ngIRCd using
|
|
|
|
the "ngircd" protocol module.
|
|
|
|
|
|
|
|
The following settings need to be in atheme.conf:
|
|
|
|
|
|
|
|
loadmodule "modules/protocol/ngircd";
|
|
|
|
|
|
|
|
uplink "server.irc.net" {
|
|
|
|
password = "123abc";
|
|
|
|
port = 6667;
|
|
|
|
};
|
|
|
|
|
|
|
|
The documentation of Atheme can be found in the doc/ directory of the
|
|
|
|
Atheme source distribution.
|
|
|
|
|
|
|
|
|
2008-12-02 15:41:57 +01:00
|
|
|
Setting up IRC Services 5.1.x
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2008-12-04 11:14:26 +01:00
|
|
|
IRC Services 5.1.3 and above can be used with ngIRCd using the "rfc1459"
|
|
|
|
protocol module.
|
|
|
|
|
|
|
|
Please note that versions up to and including 5.1.3 contain a bug that
|
|
|
|
sometimes causes IRC Services to hang on startup. There are two workarounds:
|
|
|
|
a) send the services process a HUP signal ("killall -HUP ircservices")
|
|
|
|
b) apply this patch to the IRC Services source tree:
|
2014-03-25 20:27:17 +01:00
|
|
|
<http://arthur.barton.de/pub/ngircd/contrib/IRCServices513-FlushBuffer.patch>
|
2008-12-04 11:14:26 +01:00
|
|
|
|
|
|
|
At least the following settings have to be tweaked, in addition to all the
|
|
|
|
settings marked as required by IRC Services:
|
2008-12-02 15:41:57 +01:00
|
|
|
|
|
|
|
In ircservices.conf:
|
|
|
|
|
|
|
|
Variable Example value
|
|
|
|
|
|
|
|
RemoteServer server.irc.net 6667 "123abc"
|
|
|
|
ServerName "services.irc.net"
|
|
|
|
LoadModule protocol/rfc1459
|
|
|
|
|
|
|
|
In modules.conf:
|
|
|
|
|
|
|
|
Module protocol/rfc1459
|
|
|
|
|
|
|
|
The documentation of IRC Services can be found here:
|
|
|
|
<http://www.ircservices.za.net/docs/>
|