mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-05-14 06:56:47 +00:00
- `datepattern = {^LN-BEG}` - only line-begin anchored default patterns
(matches date only at begin of line, or with max distance up to 2 non-alphanumeric characters from line-begin);
- `datepattern = {*WD-BEG}` - only word-begin anchored default patterns;
- `datepattern = ^prefix{DATE}suffix` - exact specified default patterns (using prefix and suffix);
common filter configs gets a more precise, line-begin anchored (datepattern = {^LN-BEG}) resp. custom anchoring default date-patterns;
22 lines
338 B
Text
22 lines
338 B
Text
# Fail2Ban configuration file for Directadmin
|
|
#
|
|
#
|
|
#
|
|
|
|
[INCLUDES]
|
|
|
|
before = common.conf
|
|
|
|
[Definition]
|
|
|
|
failregex = ^: \'<HOST>\' \d{1,3} failed login attempt(s)?. \s*
|
|
|
|
ignoreregex =
|
|
|
|
datepattern = ^%%Y:%%m:%%d-%%H:%%M:%%S
|
|
|
|
#
|
|
# Requires Directadmin v1.45.3 or higher. http://www.directadmin.com/features.php?id=1590
|
|
#
|
|
# Author: Cyril Roos
|
|
|