Drupal 7 - IP banning
Fighting the hackers, I installed Honeypot some time ago and more recently IP Ranges.
Looking through the reports - especially the top visitor (.../admin/reports/visitors) I found some persistent IP addresses accessing the site endlessly and for no reason. As there were several IPs from a range, I banned the entire range - xxx.xxx.xx.xxx - xxx.xxx.yy.yyy.
Unfortunately that included my own access IP and I was duly shut out of my own site.
I did whitelist my IP address that was active at that time - but IPs addresses are mvong about and thus whitelisting a current adress my only work for a limited priod on the day.
Solution - I accessed my hosting account via my provider (via cPanel) and went with phpMyadmin into the database.
Under "ip-range" I removed the entry that included my own IP address.
Done.
You may not find your IP address in the db if you defined a range. So, you may need to only search for part of the IP address.
And in my case I found the full IP address under "httpbl" (db for Project Honey Pot) - but there only those banned are recorded. Deleting the entry of the banned IP address does not solve the problem.
I hope this might be useful to someone in the future ....