Tip of the day: The antirandom module can be a useful tool to block clients with random looking nicks.

Actions

From UnrealIRCd documentation wiki
Jump to navigation Jump to search
Other languages:

Below is a list of all possible "ban actions" that UnrealIRCd supports. It is used by spamfilter::action (and /SPAMFILTER on IRC), blacklist::action, set::nopost::ban-action, ban version::action, set::antirandom::ban-action, etc.

There are both "regular" actions and "soft" actions. The soft actions (eg: soft-kill) are not applied to users who are authenticated with Services (preferably with SASL).

Regular name Soft name Description
kill soft-kill Kills the user. The user may still reconnect.
tempshun soft-tempshun Shuns the current session of the user, this makes it so the user cannot send any commands anymore. When the user reconnects, the shun is gone.
shun soft-shun Puts a shun on the IP, this makes it so the user cannot send any commands anymore.
kline soft-kline Puts a kline on the IP. The user can no longer connect to this server.
gline soft-gline Puts a gline on the IP. The user can no longer connect to any server in this IRC network.
zline Puts a zline on the IP. The user can no longer connect to this server.
Note that a ZLINE causes very quick killing which means that SSL/TLS users will not see a proper error message and TKL exceptions won't work. Only use zlines if you are sure the user/IP is hostile, otherwise use a kline instead.
gzline Puts a gzline (global zline) on the IP. The user can no longer connect to any server in this IRC network.
Note that a (G)ZLINE causes very quick killing which means that SSL/TLS users will not see a proper error message and TKL exceptions won't work. Only use gzlines if you are sure the user/IP is hostile, otherwise use a gline instead.
block soft-block Block the message (or action) only
dccblock soft-dccblock Mark the user so (s)he is unable to send files through DCC
viruschan soft-viruschan Part all channels, join set::spamfilter::virus-help-channel, disables all commands except PONG, ADMIN, and msg/notices to set::spamfilter::virus-help-channel
warn soft-warn Send a notice to IRCOps (spamfilter snomask), and inform the user that the message has been intercepted. No further action is taken, the message is not blocked.

Depending on the context, some actions won't make sense and therefore won't function. For example, the action viruschan may be unavailable for the nopost and blacklist modules because a client may be intercepted before (s)he actually came online as a user.

See also

Automatic bans, such as by spamfilter, blacklist, antirandom, etc. also take into account the set::automatic-ban-target setting, which defaults to placing a ban on *@ip.