Skip to content

Commit

Permalink
Merge b0d442e into a2f0dba
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed Feb 12, 2021
2 parents a2f0dba + b0d442e commit a633535
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/filter.d/nginx-bad-request.conf
Expand Up @@ -11,4 +11,6 @@ datepattern = {^LN-BEG}%%ExY(?P<_sep>[-/.])%%m(?P=_sep)%%d[T ]%%H:%%M:%%S(?:[.,]
^[^\[]*\[({DATE})
{^LN-BEG}

journalmatch = _SYSTEMD_UNIT=nginx.service + _COMM=nginx

# Author: Jan Przybylak
4 changes: 3 additions & 1 deletion config/filter.d/nginx-botsearch.conf
Expand Up @@ -17,7 +17,9 @@ datepattern = {^LN-BEG}%%ExY(?P<_sep>[-/.])%%m(?P=_sep)%%d[T ]%%H:%%M:%%S(?:[.,]
^[^\[]*\[({DATE})
{^LN-BEG}

journalmatch = _SYSTEMD_UNIT=nginx.service + _COMM=nginx

# DEV Notes:
# Based on apache-botsearch filter
#
# Author: Frantisek Sumsal
# Author: Frantisek Sumsal
2 changes: 2 additions & 0 deletions config/filter.d/nginx-http-auth.conf
Expand Up @@ -10,6 +10,8 @@ ignoreregex =

datepattern = {^LN-BEG}

journalmatch = _SYSTEMD_UNIT=nginx.service + _COMM=nginx

# DEV NOTES:
# Based on samples in https://github.com/fail2ban/fail2ban/pull/43/files
# Extensive search of all nginx auth failures not done yet.
Expand Down
3 changes: 3 additions & 0 deletions config/filter.d/nginx-limit-req.conf
Expand Up @@ -44,3 +44,6 @@ failregex = ^\s*\[[a-z]+\] \d+#\d+: \*\d+ limiting requests, excess: [\d\.]+ by
ignoreregex =

datepattern = {^LN-BEG}

journalmatch = _SYSTEMD_UNIT=nginx.service + _COMM=nginx

0 comments on commit a633535

Please sign in to comment.