wordpress: add fail2ban filter and jail
-
I tested the changes with the VirtualBox image with a bridged network adapter. After ten failed authentication attempts, my IP got blocked as expected.
-
Using the conventional 'wordpress-auth-freedombox' naming didn't seem to work for some reason.
-
This setup uses apache's logs to filter the attempts. A wordpress plugin exists for redirecting the logs to syslog, but that needs to be package
-
Related issue: #1469
Signed-off-by: nbenedek contact@nbenedek.me