Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

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.

Участники и разработчики

«Botnet Blocker» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:


Перевести «Botnet Blocker» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по 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.