InspIRCd v4 is still early in development!

If you use this branch you may experience crashes, weird behaviour, and unannounced breaking changes.

You probably want to use InspIRCd v3 instead.

The "ident" Module (v4)

Description

This module allows the usernames of users to be looked up using the RFC 1413 Identification Protocol. This mostly not necessary but can be useful for shared hosts where many users may be connecting from one IP address as it allows you to ban specific users without banning the entire provider.

Configuration

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

<module name="ident">

<connect>

This module extends the core <connect> tags with the following fields:

Name Type Default Value Description
useident Boolean Yes Whether to try to look up the real username of users in this class using the RFC 1413 identification protocol.
requireident Boolean No Whether users must have responded to a ident lookup to be assigned to this class.
Example Usage

Disables ident lookups for users in the WebChat class:

<connect name="WebChat"
         ...
         useident="no">

Requires users connecting from 192.0.2.0/24 to respond to ident lookups to be assigned to the BNC class:

<connect name="BNC"
         allow="192.0.2.0/24"
         ...
         requireident="yes">

<ident>

The <ident> tag defines settings about how the ident module should behave. This tag can only be defined once.

Name Type Default Value Description
prefixunqueried Boolean No Whether to prefix the usernames of users in classes with ident lookups disabled.
timeout Duration 5s The duration to timeout ident lookups after.
Example Usage
<ident prefixunqueried="no"
       timeout="5s">

Special Notes

If you are also using the gateway module you should disable ident lookups for your WebIRC gateway.

It is recommended that you only enable ident lookups for hosts that you know are shared as performing ident lookups makes connecting to a server slower.