InspIRCd v2 is coming to the end of its lifetime!

Fixes for security vulnerabilities will be provided until 2020-06-01 but after this date v2 will no longer be maintained.

InspIRCd v3 contains many new features including full support for all currently ratified IRCv3 extensions and WebSocket connections.

InspIRCd v3 installation instructions are available here and a list of breaking changes is available here.

The "password_hash" Module

Description

This module adds the /MKPASSWD command which allows the generation of hashed passwords for use in the server configuration.

Configuration

To load this module use the following <module> tag:

<module name="m_password_hash.so">

This module requires no other configuration.

Commands

Name Parameter Count Syntax Description
MKPASSWD 2 <hash> <password> Hashes <password> using the <hash> algorithm.

The following hashing modules are included with InspIRCd:

Algorithm Module Description
hmac-md5 md5 Hashes using the MD5 and HMAC algorithms.
hmac-ripemd160 ripemd160 Deprecated! Hashes using the RIPEMD-160 and HMAC algorithms.
hmac-sha256 sha256 Hashes using the SHA-256 and HMAC algorithms.
md5 md5 Hashes using the MD5 algorithm.
ripemd160 ripemd160 Deprecated! Hashes using the RIPEMD-160 algorithm.
sha256 sha256 Hashes using the SHA-256 algorithm.

Example Usage

Hashes the password "hunter2" using the HMAC-SHA-256 algorithm:

/MKPASSWD hmac-sha256 hunter2

Special Notes

You should only run this command on a server that you trust as the plaintext password may be intercepted by an attacker.