Skip to content

Commit

Permalink
tigthen match
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Aug 18, 2023
1 parent 18c244d commit 9df6cad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion filter.d/nginx-nosec.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Definition]
failregex = ^<HOST> \S+ \- \[\] \"[A-Z]+ / \S+" 200 [0-9]+ "https://nosec.dstat.online/" .+$
failregex = ^<HOST> \S+ \- \[\] \"[A-Z]+ / \S+" 200 [0-9]+.*
ignoreregex =
datepattern = {^LN-BEG}%%ExY(?P<_sep>[-/.])%%m(?P=_sep)%%d[T ]%%H:%%M:%%S(?:[.,]%%f)?(?:\s*%%z)?
^[^\[]*\[({DATE})
Expand Down
4 changes: 2 additions & 2 deletions jail.d/nginx-nosec.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ enabled = true
filter = nginx-nosec
port = http,https
logpath = /var/log/nginx/access.log
findtime = 60
findtime = 10
bantime = 6000
maxretry = 2
maxretry = 6

0 comments on commit 9df6cad

Please sign in to comment.