diff --git a/plinth/modules/wordpress/data/etc/fail2ban/filter.d/wordpress-auth-freedombox.conf b/plinth/modules/wordpress/data/etc/fail2ban/filter.d/wordpress-auth-freedombox.conf new file mode 100644 index 000000000..6942f7502 --- /dev/null +++ b/plinth/modules/wordpress/data/etc/fail2ban/filter.d/wordpress-auth-freedombox.conf @@ -0,0 +1,2 @@ +[Definition] +failregex = .* .* "POST /wordpress/wp-login.php HTTP/\S+" 200 diff --git a/plinth/modules/wordpress/data/etc/fail2ban/jail.d/wordpress-auth-freedombox.conf b/plinth/modules/wordpress/data/etc/fail2ban/jail.d/wordpress-auth-freedombox.conf new file mode 100644 index 000000000..6323016c5 --- /dev/null +++ b/plinth/modules/wordpress/data/etc/fail2ban/jail.d/wordpress-auth-freedombox.conf @@ -0,0 +1,3 @@ +[wordpress-auth-freedombox] +enabled = true +filter = wordpress-auth-freedombox