IWP shows an error message and sends an email when there have been 3 failed login attempts. You can get a list of all attempts with the following database query on the InfiniteWP database:
SELECT FROM_UNIXTIME(`time`) as time2, email, ip, loginAttemptStatus, error
FROM `infwp_login_logs`
ORDER BY time2 DESC;Code language: JavaScript (javascript)
To block further attempts from the same IP addresses, you can add them to the .htaccess file as follows:
#---------------------------------------#
# Deny IP addresses #
#---------------------------------------#
Order Allow,Deny
Allow from all
Deny from 107.174.151.197
Deny from 2a05:b0c7:6388::1Code language: Apache (apache)