Overriding BotBanish Detection Mechanism

Started by Randem, December 28, 2017, 01:06:44 PM

Previous topic - Next topic

Randem

In current version of BotBanish these tables are not needed to be accessed directly. The changes are made in BotBanish. From the SMF main menu, go to BotBanish->Blacklist and/or BotBanish->Whitelist to change add/remove/modify Domain, Spiders and IP's that can access the system.

Randem

If there comes a time when you actually want BOTs or behavior that BotBanish has determined bad (or good) for that matter or you do not want a URL that BotBanish is checking to be checked. You can alter BotBanish detection behavior by using the BotBanish Override tables.

BotBanish Override Tables Created in Your Database:
  • botbanishclient_ip_dnb: Used to allow a known IP to access your system even though BotBanish may attempt to monitor and block it.
    Add in the ip field the IP address that you do not want BotBanish to monitor or block. In the name field give it a name that you want to refer to this entry. All entries in this table must be unique.

  • botbanishclient_spiders_bad: Used to allow a known bad spider to access your system even though BotBanish may attempt to monitor and block it.
    Add in the user_agent field the name of the bot (ex. ahrefsbot) and in the spider_name field then name you will use to refer to the entry. All entries in this table must be unique.

  • botbanishclient_spiders_good: Used to allow a known good spider to be blocked from accessing your system even though BotBanish will allow it.
    Add in the user_agent field the name of the bot (ex. googlebot) and in the spider_name field then name you will use to refer to the entry. All entries in this table must be unique.

  • botbanishclient_url_dnc: Used to disallow BotBanish from monitoring a URL for bad behavior.
    Add in the url_part field the part of the URL after the question mark (index.php?) that you do not want BotBanish to monitor or check (ex. action=register). In the system field give the entry a name that you want to use to refer to this entry. Place a '1' in the active field. All entries in this table must be unique.

    BotBanish versions Prior to 3.2.00 may not have the following tables.

  • botbanishclient_domain_bad: Used to allow a known bad domains to access your system even though BotBanish may attempt to monitor and block it.
    Add in the full domain field the name of the bot (ex. google.com) and in the domain field then name you will use to refer to the entry (ex. Google). All entries in this table must be unique.

  • botbanishclient_domain_good: Used to allow a known good domains to be blocked from accessing your system even though BotBanish will allow it.
    Add in the domain field the name of the domain(ex. msn.com) and in the domain field then name you will use to refer to the entry (ex. MSN). All entries in this table must be unique.