mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
security: Move fail2ban default configuration to this app
Since security app manages fail2ban, it makes sense to set the default configuration in this app. Tests performed: - `./setup.py install` installs the file in the correct place. - Only 10 incorrect SSH login attempts as noticed in the fail2ban log will result in ban. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
1 file changed
@@ -0,0 +1,4 @@
|
||||
[DEFAULT]
|
||||
# 10 tries in the last 10 minutes before banning for 10 minutes
|
||||
maxretry = 10
|
||||
backend = systemd
|
||||
Reference in new issue
Block a user