To create new wiki account, please join us on #znc at freenode and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Difference between revisions of "Fail2ban"

From ZNC
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:fail2ban}} {{Core Module | version = 0.066}} This module implements a fail2ban-like behaviour. When a login fails, all logins from that IP are blocked for a co...")
 
(Usage)
Line 7: Line 7:
  
 
{{Module arguments
 
{{Module arguments
 +
| type = global
 
| count = none to two
 
| count = none to two
 
| extra = 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.}}
 
| extra = 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.}}

Revision as of 17:53, 18 June 2013


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 global 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.