Dieses Plugin ist nicht mit den jüngsten 3 Hauptversionen von WordPress getestet worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme haben, wenn es mit neueren Versionen von WordPress verwendet wird.

Botnet Blocker


This plugin provides a global object that will validate an incoming IP address against one or several DNSBLs, as well as internal white and black lists. Uses .xbl.spamhaus.org by default. This is based on a slightly modified version of the public DNSBL class, and was inspired by the spam-ip-blocker plugin by znaeff.
Official page of DNSBL class on PHPClasses.org


  • The admin interface.


  1. Install folder botnet-blocker to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress
  3. In your template, theme, or plugin, do something similar to the following:

    is_botnet() ) {
    /* bot detected, do something */


Why do I need one more anti-botnet plugin?

Because I haven’t found any decent free plugins that uses spam blocking lists that present a decent API.
This plugin is designed to give you a quick and easy way to check the spam lists and do something creative
without locking you into a „block all“ scheme. It’s there if you want it, but it’s not required.


Lies alle 1 Rezension

Mitwirkende & Entwickler

„Botnet Blocker“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:


Übersetze „Botnet Blocker“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.



  • Plugin_BNBlocker::netmatch no longer throws warnings when error level is high
  • Reworked Plugin_BNBlocker::netmatch to reduce computation a bit
  • Fixes error when using Block on Page Load


  • Block on Page Load setting now retrieved properly
  • All lists support commenting via # (hash)


  • Fixed preg_match errors in DNS matching


  • Added „none“ option for the RBLs (so you can use white/black lists but ignore the RBLs)
  • Added checks to improve performance where possible
  • Fixed the readme, added screenshot


  • Added DNS-based white and blacklists as an option
  • Added option to block bots during the plugins_loaded timeframe
  • Corrected the main blocked() function to use 404 instead of 406
  • Reversed order of changelog in the readme


  • Refactored to allow for support for language packs


  • Complete refactor of the Plugin
  • Now has an admin section for modifying white/black/skip lists within the UI
  • Allows choosing which RBL in the UI
  • Revised logic to improve speed
  • Now uses CIDR-formatted netmasks for better maintenance
  • Removed hard-coded proxy network lists – use the whitelist instead
  • BREAKING CHANGE: Global object has been renamed from $BOTNETBLOCKER_OBJ to $wp_plugin_bnblocker


  • Added extensive URL-based debugging and reply headers when in debug mode
  • Added a hard coded white/black/skip list system
  • Added timing checks for debugging speed issues
  • Added Sucuri network addresses to skip list


  • Fixed issue where DNSBL class used a short opening tag (broke some installations)


  • First version.