To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.
fail2ban
This module is a part of ZNC. This module is shipped with ZNC by default. If you have the right "LoadMod" you can activate it with /znc LoadMod fail2ban The code for this module can be found here. This module is part of ZNC since Version 0.066 |
This module implements a fail2ban-like behaviour. When a login fails, all logins from that IP are blocked for a configurable timespan.
Usage
Arguments
This user module takes none to two arguments. The first argument is the time in minutes an IP is blocked after a failed login. The second argument is the number of allowed failed logins before an IP is blocked. The timeout is reset after each failed login. By default fail2ban allows two failed logins in one minute.
Read loading modules to learn more about loading modules.