Skip to content

Commit

Permalink
improve fail2ban filter
Browse files Browse the repository at this point in the history
  • Loading branch information
DO1JLR committed Apr 13, 2021
1 parent bf34365 commit 2310d35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/fail2ban/filter.conf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Managed by Ansible
[Definition]
failregex = .*Failed authentication attempt for .* from <HOST>
failregex = .*(Failed authentication attempt|invalid credentials|Attempted access of unknown user).* from <HOST>
ignoreregex =
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ gitea_variables:
paths:
- 'vars'

playbook_version_number: 9 # should be int
playbook_version_number: 10 # should be int
playbook_version_path: 'do1jlr.gitea.version'

0 comments on commit 2310d35

Please sign in to comment.