mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
- I tested the changes with the VirtualBox image with a bridged network adapter. After ten failed authentication attempts, my IP got blocked as expected. - This setup uses apache's logs to filter the attempts. A wordpress [plugin](https://wordpress.org/plugins/wp-fail2ban/) exists for redirecting the logs to syslog, but that needs to be packaged. Signed-off-by: nbenedek <contact@nbenedek.me> [sunil: Drop logpath as logs are expected to go to journald] [sunil: Update regex to match only failures and not successful logins] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>