knock-knock icon indicating copy to clipboard operation
knock-knock copied to clipboard

FR: Settings page logs IP's that failed to login

Open EternalBlack opened this issue 6 years ago • 0 comments

First of all: Nice work on 1.1.0 !

It might be nice to be able to see the failed login/password attempt's on the settings page of the plugin. Maybe a table like this:

IP Failed attempts Time Country Unblock
127.0.0.1 3 attempts 3 hours ago Germany Unblock
127.0.0.2 1 attempt 20:59 Tuesday, 4 June 2019 (CEST) Germany Unblock

Country could also be a link pointing too google-maps for example. Might be convenient. Using PHPs GeoIP might work to determine the country at first of course.🙈😊

I'm currently uncertain if this should include ALL logged IP's until the admin clears the cache/file or only should include the currently blocked ones... But actually would go with all-time blocked IP's for the sake of having a history. Yet I'm not sure how to go about clearing those. Maybe "auto-clearing' if a Failed-Attempt-Entry is older than X days where X is available as a setting. Manual clearing might be nice too.

EternalBlack avatar Jun 04 '19 19:06 EternalBlack