From 252d69f465bc3bd7a41cc5f4ee2f50edc74d1081 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sun, 14 Feb 2021 17:04:19 -0800 Subject: [PATCH] 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 Reviewed-by: Veiko Aasa --- .../modules/security/data}/etc/fail2ban/jail.d/freedombox.conf | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {data => plinth/modules/security/data}/etc/fail2ban/jail.d/freedombox.conf (100%) diff --git a/data/etc/fail2ban/jail.d/freedombox.conf b/plinth/modules/security/data/etc/fail2ban/jail.d/freedombox.conf similarity index 100% rename from data/etc/fail2ban/jail.d/freedombox.conf rename to plinth/modules/security/data/etc/fail2ban/jail.d/freedombox.conf