fail2ban: Enable bans for apache auth failures

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Prachi Srivastava 2019-01-15 11:58:33 +05:30 committed by Sunil Mohan Adapa
parent de2f1437ea
commit 760fa77b70
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,6 @@
[sshd]
enabled = true
[apache-auth]
enabled = true
maxretry = 10

View File

@ -264,6 +264,8 @@ setuptools.setup(
glob.glob('data/usr/share/augeas/lenses/tests/test_*.aug')),
('/usr/share/pam-configs/',
glob.glob('data/usr/share/pam-configs/*-freedombox')),
('/etc/fail2ban/',
['data/etc/fail2ban/jail.local']),
('/etc/plinth/modules-enabled',
glob.glob(os.path.join(
'data/etc/plinth/modules-enabled',