InspIRCd

InspIRCd (Inspire IRC daemon) is a modular and lightweight IRC daemon written in C++. As it is one of the few IRCd projects written from scratch, it avoids a number of design flaws and speed issues that plague other more established IRCd projects with the same or less features, such as UnrealIRCd 3. It is the IRCd used by the Chatspike IRC network.

Installing

Note: Before you begin, check that you do not have any user or group named inspircd as the package will create and run using this user privileges (for security reasons).

Install the inspircdAUR package.

Configuring

The configuration file /etc/inspircd/inspircd.conf is mandatory, XML-formatted and needs to be created when installing.

How you set your configuration file will depend a lot on your needs and system configuration, reason why there is no configuration file set by default.

Tip: You can use the example (and very well documented) configuration file located at /usr/share/inspircd/examples/inspircd.conf.example. Copy this file to /etc/inspircd/inspircd.conf, read and edit it carefully to fit your needs.

Its markup language format may be somewhat different of what most of the people is used to. The format of an instruction within the configuration file looks like the following:

<tagname variable="value">
Note: The example file has some <die value="anything here"> lines in the example file to make sure you read the entire thing. You must remove these entries otherwise the server will not start.

Make sure to set the pidfile to /var/run/inspircd/inspircd.pid, as explained in the package's install script.

Further information is available at the InspIRCd configuration wiki page.

Loading modules

By default, InspIRCd loads no modules. As every feature outside of RFC 1459 is actually a module, by loading no modules your ircd really will not do anything impressive. You can load modules by adding for instance:

<module name="m_silence.so">

This will load the m_silence module (which provides the somewhat standard SILENCE list facility). You must restart the daemon for changes to take effect. A list of the available modules is available at the InspIRCd modules wiki page.

Third-party modules

To install a third-party module, save the [module].cpp within [build-dir]/inspircd/src/inspircd/src/modules/ and continue the build process. If you have already built and installed InspIRCd and have the source files intact, compile the module with ./configure -modupdate; make and copy to: /usr/lib/inspircd/modules/.

Starting/Stopping the daemon

Start or stop .

The first start fails sometimes so try restarting until you get no errors. After this you shall have no further problems. The reason behind this is because of security reasons the daemon does not run as root as you normally would see, so the script must ensure that the user irc has permission to write/read the pid and log files.

gollark: Oh, here is the simplified version which stuff may actually let you plot: `(x - 2) * -1 / 120 * (x - 3) * (x - 4) * (x - 5) * (x - 6) + (x - 1) * 7 / 24 * (x - 3) * (x - 4) * (x - 5) * (x - 6) + (x - 1) * -9 / 4 * (x - 2) * (x - 4) * (x - 5) * (x - 6) + (x - 1) * 127 / 12 * (x - 2) * (x - 3) * (x - 5) * (x - 6) + (x - 1) * -1 / 8 * (x - 2) * (x - 3) * (x - 4) * (x - 6) + 104 * (x - 1) * (x - 2) * (x - 3) * (x - 4) * (x - 5)`.
gollark: If you like TeX, `\frac{\left( x-2\right)\cdot-1}{120}\cdot\left( x-3\right)\cdot\left( x-4\right)\cdot\left( x-5\right)\cdot\left( x-6\right)+\frac{\left( x-1\right)\cdot7}{24}\cdot\left( x-3\right)\cdot\left( x-4\right)\cdot\left( x-5\right)\cdot\left( x-6\right)+\frac{\left( x-1\right)\cdot-9}{4}\cdot\left( x-2\right)\cdot\left( x-4\right)\cdot\left( x-5\right)\cdot\left( x-6\right)+\frac{\left( x-1\right)\cdot127}{12}\cdot\left( x-2\right)\cdot\left( x-3\right)\cdot\left( x-5\right)\cdot\left( x-6\right)+\frac{\left( x-1\right)\cdot-1}{8}\cdot\left( x-2\right)\cdot\left( x-3\right)\cdot\left( x-4\right)\cdot\left( x-6\right)+104\cdot\left( x-1\right)\cdot\left( x-2\right)\cdot\left( x-3\right)\cdot\left( x-4\right)\cdot\left( x-5\right)`.
gollark: Your expression: (1 * (((x - 2) / (-1)) * ((x - 3) / (-2)) * ((x - 4) / (-3)) * ((x - 5) / (-4)) * ((x - 6) / (-5)))) + (7 * (((x - 1) / (1)) * ((x - 3) / (-1)) * ((x - 4) / (-2)) * ((x - 5) / (-3)) * ((x - 6) / (-4)))) + (27 * (((x - 1) / (2)) * ((x - 2) / (1)) * ((x - 4) / (-1)) * ((x - 5) / (-2)) * ((x - 6) / (-3)))) + (127 * (((x - 1) / (3)) * ((x - 2) / (2)) * ((x - 3) / (1)) * ((x - 5) / (-1)) * ((x - 6) / (-2)))) + (3 * (((x - 1) / (4)) * ((x - 2) / (3)) * ((x - 3) / (2)) * ((x - 4) / (1)) * ((x - 6) / (-1)))) + (12480 * (((x - 1) / (5)) * ((x - 2) / (4)) * ((x - 3) / (3)) * ((x - 4) / (2)) * ((x - 5) / (1))))
gollark: Okay, done.
gollark: Hold on while I figure out how this works again.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.