tokkonopapa / WordPress-IP-Geo-Block

A WordPress plugin that will blocks any comment, pingback and trackback spams posted from outside your nation. And it will also protect against malicious access to the login form, admin area and XML-RPC from undesired countries.
http://www.ipgeoblock.com/
29 stars 14 forks source link

Add new database ? #29

Closed SloCompTech closed 6 years ago

SloCompTech commented 6 years ago

Hi, first thing this plugin is awesome. I have a question, would it be posible to add database such as https://www.abuseipdb.com/ even if it is not location based to block more IPs ?

tokkonopapa commented 6 years ago

Hi @SloCompTech ,

You can use ip-geo-block-extra-ips filter hook to get extra IP addresses to be blocked.

Here're also other samples:

tokkonopapa commented 6 years ago

Oh, AbuseIPDB does not provides an actual database but REST API.

So ip-geo-block-xxxxx may fit for your demand.