mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
fail2ban: Enable bans for apache auth failures
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
de2f1437ea
commit
760fa77b70
6
data/etc/fail2ban/jail.local
Normal file
6
data/etc/fail2ban/jail.local
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[sshd]
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
[apache-auth]
|
||||||
|
enabled = true
|
||||||
|
maxretry = 10
|
||||||
2
setup.py
2
setup.py
@ -264,6 +264,8 @@ setuptools.setup(
|
|||||||
glob.glob('data/usr/share/augeas/lenses/tests/test_*.aug')),
|
glob.glob('data/usr/share/augeas/lenses/tests/test_*.aug')),
|
||||||
('/usr/share/pam-configs/',
|
('/usr/share/pam-configs/',
|
||||||
glob.glob('data/usr/share/pam-configs/*-freedombox')),
|
glob.glob('data/usr/share/pam-configs/*-freedombox')),
|
||||||
|
('/etc/fail2ban/',
|
||||||
|
['data/etc/fail2ban/jail.local']),
|
||||||
('/etc/plinth/modules-enabled',
|
('/etc/plinth/modules-enabled',
|
||||||
glob.glob(os.path.join(
|
glob.glob(os.path.join(
|
||||||
'data/etc/plinth/modules-enabled',
|
'data/etc/plinth/modules-enabled',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user