Created
October 13, 2015 19:09
-
-
Save MAFLO321/c4a2d4f1e3af2614c7d2 to your computer and use it in GitHub Desktop.
Fail2Ban ajenti auth filter. To protect ajeti from spam and bruteforce attacks.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fail2Ban filter for ajenti | |
# | |
[INCLUDES] | |
before = common.conf | |
[Definition] | |
_daemon = ajenti | |
failregex = ^%(__prefix_line)sfailed login attempt for .* through .* from <HOST>\s*$ | |
ignoreregex = | |
# DEV Notes: | |
# pattern : ajenti: failed login attempt for root ("pw") through AjentiSyncProvider from 80.187.103.9 | |
# | |
# jail.conf Notes: | |
# [ajenti-auth] | |
# enabled = true | |
# port = 10000 | |
# filter = ajenti-auth | |
# logpath = /var/log/auth.log | |
# maxretry = 6 | |
# | |
# Rule Author: Matthias Freund |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment