Title: Blocker Stat
Last modified: August 30, 2016

---

# Blocker Stat

 *  [Iyngvar](https://wordpress.org/support/users/iyngvar/)
 * (@iyngvar)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/blocker-stat/)
 * May be it working…
    But what about statistics?
 * For example how many users (IP-adresses) was blocked ?
    Or list of what IP-adresses
   was blocked ?
 * I think it will be convenient…
 * [https://wordpress.org/plugins/botnet-blocker/](https://wordpress.org/plugins/botnet-blocker/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [achbed](https://wordpress.org/support/users/achbed/)
 * (@achbed)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/blocker-stat/#post-6621295)
 * All blocks still get reported as an Apache-level return value (404 if you use
   the built-in blocking mechanism). You can track things from there. The one thing
   you won’t see is that the 404 was caused by this plugin.
 * On one of my sites I’m using the plugin to cause a 203 result instead of a 404,
   and returning alternate (less server taxing) set of data to the visitor/bot. 
   I can then check my Apache logs to see the portion of results returned this way(
   since I had almost no 203 results before, this makes the most sense and least
   effort on the plugin).
 * Adding an internal logging mechanism could be handy, but presents all sorts of
   log rotation/clearing, external log, and reporting/analysis issues. Not something
   I can dive into right now.
 *  [Ren](https://wordpress.org/support/users/localcause/)
 * (@localcause)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/blocker-stat/#post-8424389)
 * How to implement a 203 result?
 *  Plugin Author [achbed](https://wordpress.org/support/users/achbed/)
 * (@achbed)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/blocker-stat/#post-8790201)
 *     ```
       	global $wp_plugin_bnblocker;
       	if ( method_exists( $wp_plugin_bnblocker, 'is_botnet' ) ) {
       		if ( $wp_plugin_bnblocker->is_botnet() ) {
       			status_header( 203 );
       			// Do other changes here
       		}
       	}
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Blocker Stat’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/botnet-blocker.svg)
 * [Botnet Blocker](https://wordpress.org/plugins/botnet-blocker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/botnet-blocker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/botnet-blocker/)
 * [Active Topics](https://wordpress.org/support/plugin/botnet-blocker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/botnet-blocker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/botnet-blocker/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [achbed](https://wordpress.org/support/users/achbed/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/blocker-stat/#post-8790201)
 * Status: not resolved