Hi,
It’s up to you. NinjaFirewall will run first, so it does not really matter if you have other plugins behind it.
I think the question is about whether or not Ninja Firewall can do the same thing as Blackhole for Bad Bots..
The two plugins do two different things:
– Ninja Firewall provides a firewall that blocks bad requests
– Blackhole for Bad Bots protects your site against automated spam and bad bots
In other words, Ninja Firewall does not provide the same protection as Blackhole for Bad Bots. One provides a firewall, the other protects against bad bots.
@jeff Starr: NinjaFirewall does block a lot of bots, crawlers and other malicious scanners.
BTW, you may want to reconsider the way your plugin retrieves the user IP in the blackhole_get_ip() function.
$ curl --header 'X-Forwarded-For: Hello.W.orld' http://somesite.com/test2/?blackhole=f81d341867
To: root@localhost
Subject: Bad Bot Alert at LocalTest2
2016/05/29 @ 05:57:12 pm
Request URI: /test2/?blackhole=f81d341867
IP Address: Hello.W.orld
User Agent: curl/7.38.0
Whois Lookup:
ARIN WHOIS data and services are subject to the Terms of Use
available at: https://www.arin.net/whois_tou.html
If you see inaccuracies in the results, please report at
https://www.arin.net/public/whoisinaccuracy/index.xhtml
No match found for n Hello.W.orld.