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:
Sunil Mohan Adapa 2021-02-14 17:04:19 -08:00
parent fd7bda7ce9
commit 252d69f465
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2