mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-05-13 14:36:43 +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;
20 lines
467 B
Text
20 lines
467 B
Text
# Fail2Ban filter for 3proxy
|
|
#
|
|
#
|
|
|
|
[Definition]
|
|
|
|
|
|
failregex = ^\s[+-]\d{4} \S+ \d{3}0[1-9] \S+ <HOST>:\d+ [\d.]+:\d+ \d+ \d+ \d+\s
|
|
|
|
ignoreregex =
|
|
|
|
datepattern = {^LN-BEG}
|
|
|
|
# DEV Notes:
|
|
# http://www.3proxy.ru/howtoe.asp#ERRORS indicates that 01-09 are
|
|
# all authentication problems (%E field)
|
|
# Log format is: "L%d-%m-%Y %H:%M:%S %z %N.%p %E %U %C:%c %R:%r %O %I %h %T"
|
|
#
|
|
# Requested by ykimon in https://github.com/fail2ban/fail2ban/issues/246
|
|
# Author: Daniel Black
|