Using oidentd With Quassel

You can use oidentd to spoof ident replies so that they match idents configured within Quassel.

Forwarding to Quassel

oidentd can forward incoming queries for connections owned by the Quassel user directly to Quassel’s built-in ident server.

This is the recommended method. It requires oidentd 2.3.0 or later.

Append the following to your system-wide configuration file:

user username {
    default {
        allow spoof

        # Use this if Quassel needs to spoof local user names
        allow spoof_all

        force forward host port
    }
}

Replace username with the user name of the Quassel user (example: quasselcore).

Replace host with the IP address or hostname Quassel’s built-in ident server is configured to listen on (example: ::1).

Replace port with the port Quassel’s built-in ident server is configured to listen on (example: 10113).

Using Quassel’s oidentd Configuration Generator

Quassel can automatically write to an oidentd user configuration file when establishing a new connection.

Use of this feature is discouraged as of oidentd 2.3.0. Some IRC servers send ident queries before the connection’s local port is known to Quassel. This can cause lookups to fail.

Append the following to your system-wide configuration file:

user username {
    default {
        allow spoof

        # Use this if Quassel needs to spoof local user names
        allow spoof_all
    }
}

Replace username with the user name of the Quassel user (example: quasselcore).

Ensure that the Quassel home directory (typically ~quasselcore) is world-executable (mode 711) so that oidentd is able to read the user configuration file:

chmod 711 ~quasselcore

Finally, configure your init system to start Quassel with the --oidentd flag.

Your changes will take effect after you reload oidentd and restart Quassel.