Plugin Directory

Changeset 1249478


Ignore:
Timestamp:
09/20/2015 05:12:50 AM (11 years ago)
Author:
achbed
Message:

Updated to v1.0.1

Location:
botnet-blocker/trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • botnet-blocker/trunk/botnet-blocker.php

    r1249476 r1249478  
    55Description: Free botnet IP blocker according to public DNSBL bases. Based on public DNSBL class.
    66Author: Dennis Wallace
    7 Version: 1.0.0
     7Version: 1.0.1
    88License: GPLv2 or later
    99*/
     
    6565         */
    6666        public function handle_init() {
    67           load_plugin_textdomain( 'bnblocker', false, 'botnet-blocker/languages' );
     67          load_plugin_textdomain( 'botnet-blocker', false, 'botnet-blocker/languages' );
    6868        }
    6969       
  • botnet-blocker/trunk/class.bnblocker-admin.php

    r1249476 r1249478  
    3737   
    3838        function admin_menu() {
    39             add_options_page( __('Botnet Blocker Settings', 'bnblocker'), __('Botnet Blocker', 'bnblocker'), 'delete_posts', 'bnblocker_settings', array($this, 'plugin_page') );
     39            add_options_page( __('Botnet Blocker Settings', 'botnet-blocker'), __('Botnet Blocker', 'botnet-blocker'), 'delete_posts', 'bnblocker_settings', array($this, 'plugin_page') );
    4040        }
    4141
     
    4444                array(
    4545                    'id' => 'bnblocker_core',
    46                     'title' => __( 'Settings', 'bnblocker' )
     46                    'title' => __( 'Settings', 'botnet-blocker' )
    4747                )
    4848            );
     
    6161                    array(
    6262                        'name'              => 'bnblocker_rbl',
    63                         'label'             => __( 'Realtime Blacklist Service', 'bnblocker' ),
    64                         'desc'              => __( 'Which RBL service to use when checking for botnet addresses.', 'bnblocker' ),
     63                        'label'             => __( 'Realtime Blacklist Service', 'botnet-blocker' ),
     64                        'desc'              => __( 'Which RBL service to use when checking for botnet addresses.', 'botnet-blocker' ),
    6565                        'type'              => 'select',
    6666                        'options'           => $this->config->get_rbl_list(),
     
    6969                    array(
    7070                        'name'              => 'bnblocker_skiplist',
    71                         'label'             => __( 'Skip List', 'bnblocker' ),
    72                         'desc'              => __( 'A list of IP addresses and/or network/mask combinations to skip checking.  Network/mask entries must be in CIDR form ( e.g., 192.168.0.0/16 ).', 'bnblocker' ),
     71                        'label'             => __( 'Skip List', 'botnet-blocker' ),
     72                        'desc'              => __( 'A list of IP addresses and/or network/mask combinations to skip checking.  Network/mask entries must be in CIDR form ( e.g., 192.168.0.0/16 ).', 'botnet-blocker' ),
    7373                        'type'              => 'textarea',
    7474                        'default'           => '127.0.0.1'
     
    7676                    array(
    7777                        'name'              => 'bnblocker_skipself',
    78                         'label'             => __( 'Skip Self', 'bnblocker' ),
    79                         'desc'              => __( 'If checked, the local server address will be added to the skip list.', 'bnblocker' ),
     78                        'label'             => __( 'Skip Self', 'botnet-blocker' ),
     79                        'desc'              => __( 'If checked, the local server address will be added to the skip list.', 'botnet-blocker' ),
    8080                        'type'              => 'checkbox',
    8181                        'default'           => 'on'
     
    8383                    array(
    8484                        'name'              => 'bnblocker_whitelist',
    85                         'label'             => __( 'Whitelist', 'bnblocker' ),
    86                         'desc'              => __( 'A list of IP addresses and/or network/mask combinations to never mark as a bot.  The whitelist overrides the black list - if the same address is in both lists then it will be allowed.  Network/mask entries must be in CIDR form ( e.g., 192.168.0.0/16 ).', 'bnblocker' ),
     85                        'label'             => __( 'Whitelist', 'botnet-blocker' ),
     86                        'desc'              => __( 'A list of IP addresses and/or network/mask combinations to never mark as a bot.  The whitelist overrides the black list - if the same address is in both lists then it will be allowed.  Network/mask entries must be in CIDR form ( e.g., 192.168.0.0/16 ).', 'botnet-blocker' ),
    8787                        'type'              => 'textarea'
    8888                    ),
    8989                    array(
    9090                        'name'              => 'bnblocker_blacklist',
    91                         'label'             => __( 'Blacklist', 'bnblocker' ),
    92                         'desc'              => __( 'A list of IP addresses and/or network/mask combinations to always mark as a bot (unless also present on the white list).  Network/mask entries must be in CIDR form ( e.g., 192.168.0.0/16 ).', 'bnblocker' ),
     91                        'label'             => __( 'Blacklist', 'botnet-blocker' ),
     92                        'desc'              => __( 'A list of IP addresses and/or network/mask combinations to always mark as a bot (unless also present on the white list).  Network/mask entries must be in CIDR form ( e.g., 192.168.0.0/16 ).', 'botnet-blocker' ),
    9393                        'type'              => 'textarea'
    9494                    ),
  • botnet-blocker/trunk/class.bnblocker-config.php

    r1249476 r1249478  
    130130         */
    131131        public function get_rbl_list() {
    132             $array = array( 'all' => __( 'All valid blacklists', 'bnblocker' ) );
     132            $array = array( 'all' => __( 'All valid blacklists', 'botnet-blocker' ) );
    133133            foreach ( $this->dnsbl->GetCheckers() as $b ) {
    134                 $array[$b] =  __( $b, 'bnblocker' );
     134                $array[$b] =  __( $b, 'botnet-blocker' );
    135135            }
    136136            return $array;
  • botnet-blocker/trunk/readme.txt

    r1249476 r1249478  
    44Requires at least: -.-.-
    55Tested up to: 4.3.1
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77
    88Botnet IP checker using public DNSBL bases and a hardcoded whitelist/blacklist.
     
    1010== Description ==
    1111
    12 This is an IP checker. It is free. It provides an object that will validate an incoming IP address against several DNSBLs. Uses .xbl.spamhaus.org by default.
    13 Plugin is based on a slightly modified verison of the public DNSBL class.
     12This 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.
    1413[Official page of DNSBL class on PHPClasses.org](http://www.phpclasses.org/package/6994-PHP-Check-spam-IP-address-in-DNS-black-lists.html "DNSBL class on PHPClasses.org")
    1514
     
    6362Now uses CIDR-formatted netmasks for better maintenance
    6463BREAKING CHANGE: Global object has been renamed from $BOTNETBLOCKER_OBJ to $wp_plugin_bnblocker
     64
     65= 1.0.1 =
     66Refactored to allow for support for language packs
Note: See TracChangeset for help on using the changeset viewer.