The "sslmodes" Module (v3)

Description

This module adds channel mode z (sslonly) which prevents users who are not connecting using TLS (SSL) from joining the channel and user mode z (sslqueries) to prevent messages from non-TLS (SSL) users.

Configuration

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

<module name="sslmodes">

<sslmodes>

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

Name Type Default Value Description
enableumode Boolean No Whether user mode z (sslqueries) is enabled. You must restart after changing this setting for it to be applied.
Example Usage
<sslmodes enableumode="yes">

Channel Modes

Name Character Type Parameter Syntax Usable By Description
sslonly z Switch None Channel operators Prevents users who are not connected using TLS (SSL) from joining the channel.

User Modes

Name Character Type Parameter Syntax Usable By Description
sslqueries z Switch None Anyone Prevents messages from being sent to or received from a user that is not connected using TLS (SSL).

Extended Bans

Name Character Type Ban Syntax Description
sslfp z Matching z:<pattern> Checks whether users have a TLS (SSL) client certificate with a fingerprint matching <pattern>.

Example Usage

Bans users with a TLS (SSL) client certificate fingerprint of 5d7499e1a3537687a2e875fed60b171508a4d1384351e276c4f961ab80729249:

/MODE #channel +b z:5d7499e1a3537687a2e875fed60b171508a4d1384351e276c4f961ab80729249