Tip of the day: The IRCOp guide shows how to do everyday IRCOp tasks and contains tips on fighting spam and drones.

Soft ban

From UnrealIRCd documentation wiki
Jump to navigation Jump to search

Users matching a soft ban (also called: soft kline or soft gline) are only be allowed in if they authenticate with services.

Placing a soft ban[edit]

On IRC you prefix the KLINE or GLINE with a percent sign: /GLINE %*@192.168.* 0 Please authenticate. In spamfilter and in the configuration file several soft actions are available.

Effect on the user[edit]

Assuming you have the optional module authprompt loaded the user will see this:

[11:56:08] -server.test.net- The server requires clients from this IP address to authenticate with a registered nickname and password.
[11:56:08] -server.test.net- Please reconnect using SASL, or authenticate now by typing: /AUTH nick:password
[11:56:08] -server.test.net- If you don't have a registered account then go to https://example.org/

The user can then configure SASL in their IRC client, or they can simply type /AUTH nickname:password

Only after successful authentication the user will be fully online. So before authentication the user cannot join channels, message users, etc.

More information[edit]

For more information on forcing authentication and conditional banning, see the Authentication article.