Changes

Jump to navigation Jump to search
4,624 bytes added ,  13:48, 2 August 2018
Line 7: Line 7:  
| mod_summary    = Creates a honeypot or trap to block bots that do not adhere to robots.txt standards
 
| mod_summary    = Creates a honeypot or trap to block bots that do not adhere to robots.txt standards
 
| mod_validation  =
 
| mod_validation  =
| download_link  =  
+
| mod_last_update = 23 Jul 2018
for{{Tvall}}[http://www.ourfamilyhistories.org/ccount/click.php?id=20 Bot-trap_v10101.zip‎]
+
| download_link  = [[Media:Bot-trap_v12.0.0.5.zip|Bot-trap_v12005.zip]]{{Tv120}}<hr style="clear: both;"/>[[Media:Bot-trap_v10.1.0.4.zip|Bot-trap_v10104.zip]]{{Tver|ver=10.1.0 - 11.1.2|bgcolor=#FFBB33|color=#000000|float=right}}<hr style="clear: both;"/>[[Media:Bot-trap_v10101.zip|Bot-trap_v10101.zip]]{{Tvall}}<hr style="clear: both;"/>
|  download_stats =  [http://www.ourfamilyhistories.org/ccount/index.php?action=stats&id=20 statistics for v10.1.0.1]<br />
+
|  download_stats = [http://www.ourfamilyhistories.org/ccount/index.php?action=stats&id=27 statistics for v10.1.0.3]<span style="color: Red">NOT CURRENTLY WORKING</span><br />
 +
[http://www.ourfamilyhistories.org/ccount/index.php?action=stats&id=20 statistics for v10.1.0.1]<span style="color: Red">NOT CURRENTLY WORKING</span>
 +
 
 
|  mod_author      = Bryan S. Larson<br />Based on the [http://danielwebb.us/software/bot-trap/ Bot-Trap tool] by Daniel M. Webb
 
|  mod_author      = Bryan S. Larson<br />Based on the [http://danielwebb.us/software/bot-trap/ Bot-Trap tool] by Daniel M. Webb
 
| mod_url        = [[Bot-Trap Mod]] (this page)<br />
 
| mod_url        = [[Bot-Trap Mod]] (this page)<br />
Line 16: Line 18:  
| mod_version    = See download links
 
| mod_version    = See download links
 
| min_TNG_ver    = 7.1.0
 
| min_TNG_ver    = 7.1.0
| max_TNG_ver    = 10.1.0
+
| max_TNG_ver    = 12.0.1
 
|  TNG_file_list  = meta.php<br />.htaccess<br  />robots.txt<br />bot-trap/settings.php<br />bot-trap/.htaccess<br  />bot-trap/forbid.php<br />bot-trap/functions.php<br  />bot-trap/index.php<br />bot-trap/pixel.gif<br  />bot-trap/unban.php
 
|  TNG_file_list  = meta.php<br />.htaccess<br  />robots.txt<br />bot-trap/settings.php<br />bot-trap/.htaccess<br  />bot-trap/forbid.php<br />bot-trap/functions.php<br  />bot-trap/index.php<br />bot-trap/pixel.gif<br  />bot-trap/unban.php
 
| related_mods    =  
 
| related_mods    =  
Line 29: Line 31:  
The Bot-Trap mod places a link on every page of your site that is invisible to humans, but which machines can see. Clicking on the link automatically blocks the visitor by adding an .htaccess restriction for the offending IP address. If a human is curious enough to find and visit the link, there is an easy mechanism to get removed from the list of banned IP addresses.
 
The Bot-Trap mod places a link on every page of your site that is invisible to humans, but which machines can see. Clicking on the link automatically blocks the visitor by adding an .htaccess restriction for the offending IP address. If a human is curious enough to find and visit the link, there is an easy mechanism to get removed from the list of banned IP addresses.
   −
The way Bot-Trap works is that is adds an entry to robots.txt (and creates the file if it does not already exist) which instructs bots to avoid the bot-trap directory. If a bot does follow the robots.txt protocol, as good bots do, it will know not to visit the trap. Bad bots that do not follow robots.txt standards will see the link and visit it; thereby getting blocked via an entry to .htaccess.  
+
The way Bot-Trap works is that it adds an entry to robots.txt (and creates the file if it does not already exist) which instructs bots to avoid the bot-trap directory. If a bot does follow the robots.txt protocol, as good bots do, it will know not to visit the trap. Bad bots that do not follow robots.txt standards will see the link and visit it; thereby getting blocked via an entry to .htaccess.  
    
The mod has optional parameters to allow webmasters to enter an email address and be alerted any time the trap is triggered and/or any time a human escapes from the trap using the escape mechanism.
 
The mod has optional parameters to allow webmasters to enter an email address and be alerted any time the trap is triggered and/or any time a human escapes from the trap using the escape mechanism.
   −
This mod was developed using TNG V10.1, but should work with any version of TNG
+
This mod was originally developed using TNG V10.1, but version 10.1.0.1 should work with any version of TNG. Bot-trap version 10.1.0.2 and higher requires at least TNG V10.1.0 to work.
    
== Developer ==
 
== Developer ==
Line 45: Line 47:  
* A working TNG installation.
 
* A working TNG installation.
 
* A backup of the TNG '''meta.php''' file.
 
* A backup of the TNG '''meta.php''' file.
 +
* An installed current version of the [[Mod Manager]].
 +
* A server that supports .htaccess (most do).
 +
 +
=== For Bot-trap v10.1.0.2 and newer ===
 +
 +
{{TNG 10.1.0|and after}}
 +
* A working TNG installation.
 +
* Footer must be using stdsitecredit.php
 +
** If you have modified your footer (TNG 10.1.0 and later), you may need to adjust the code in the mod to work on your site
 +
** Alternately, you may use the older version of the bot-trap
 
* An installed current version of the [[Mod Manager]].
 
* An installed current version of the [[Mod Manager]].
 
* A server that supports .htaccess (most do).
 
* A server that supports .htaccess (most do).
Line 54: Line 66:  
# Extract all the files in bot-trap zip file
 
# Extract all the files in bot-trap zip file
 
# Upload the configuration file and the entire bot-trap folder to your '''mods''' folder.
 
# Upload the configuration file and the entire bot-trap folder to your '''mods''' folder.
# '''<span style="color: #990000">IMPORTANT</span>:''' In many cases, the mod manager will give an error indicating that the mod cannot be installed. '''THIS IS NORMAL.'''
+
# '''<span style="color: #990000">IMPORTANT:</span>''' In many cases, the mod manager will give an error indicating that the mod cannot be installed. '''THIS IS NORMAL.'''
 
#* You must click on the '''"<span style="color: #009900">Run Checks</span>" button <span style="color: #990000">BEFORE</span>''' installing the mod. This step creates the files and folders needed for the mod to work if they are not already present.
 
#* You must click on the '''"<span style="color: #009900">Run Checks</span>" button <span style="color: #990000">BEFORE</span>''' installing the mod. This step creates the files and folders needed for the mod to work if they are not already present.
 
# Follow the normal automated installation for Mod Manager, as shown in    the example [[Mod Manager - Installing Config Files]] to install the  '''bot-trap''' file.
 
# Follow the normal automated installation for Mod Manager, as shown in    the example [[Mod Manager - Installing Config Files]] to install the  '''bot-trap''' file.
Line 87: Line 99:  
== Optional Parameters ==
 
== Optional Parameters ==
   −
This   mod has 4 optional parameters which can be modified using the  [[Mod_Manager_-_Installing_Config_Files#Edit_Config_File_Steps|Mod  Manager Edit]] capability.
+
This mod has 4 optional parameters which can be modified using the  [[Mod_Manager_-_Installing_Config_Files#Edit_Config_File_Steps|Mod  Manager Edit]] capability.
 
# Send an email alert when a new IP address is ADDED to the bot-trap: When  enabled, this option causes an email to be sent to the specified email address any time a new bot is added to the IP block list.  This is enabled by default, but will not work unless a valid email address is entered.
 
# Send an email alert when a new IP address is ADDED to the bot-trap: When  enabled, this option causes an email to be sent to the specified email address any time a new bot is added to the IP block list.  This is enabled by default, but will not work unless a valid email address is entered.
 
# Send an email alert when a new IP address is REMOVED to the bot-trap: When    enabled, this option causes an email to be sent to the specified  email address any time a blocked IP address is removed from the block list via the escape mechanism. This  is enabled by default, but will not work unless a valid email address is  entered.
 
# Send an email alert when a new IP address is REMOVED to the bot-trap: When    enabled, this option causes an email to be sent to the specified  email address any time a blocked IP address is removed from the block list via the escape mechanism. This  is enabled by default, but will not work unless a valid email address is  entered.
Line 101: Line 113:  
! Date
 
! Date
 
! Contents
 
! Contents
 +
|-
 +
| V12.0.0.5
 +
| 23 Jul 2018
 +
| This update corrects an error in the bot-trap pages as well as some updates for TNG V12 Mod Manager changes.
 +
|-
 +
| V10.1.0.4
 +
| 22 Aug 2017
 +
| Small update to better recognize TNG installations that are not in the web root. Also an update for better compatibility with modern versions of php.
 +
|-
 +
| V10.1.0.3
 +
| 30 Nov 2016
 +
| Small fix in check file; it was not checking for .htaccess as it should have been. Corrected.
 +
|-
 +
| V10.1.0.2
 +
| 8 Nov 2016
 +
| Update to use footer rather than meta.php. This resolves validation problems associated with previous version of mod.
 
|-
 
|-
 
| V10.1.0.1
 
| V10.1.0.1
Line 114: Line 142:  
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 
|-
 
|-
! URL
+
!  
! User
+
!  
! Note
+
!  
! Mod-Version
+
!  
! TNG-Version
+
!  
! User-language
+
!  
 
|-
 
|-
 
| [http://www.ourfamilyhistories.org Our Family Histories]
 
| [http://www.ourfamilyhistories.org Our Family Histories]
| [[User:bsl20b50|Bryan S. Larson]]
+
| [[User:Bsl20b50|Bryan S. Larson]]
| Mod Developer.
+
| Mod developer
 +
| v10.1.0.4
 +
| v11.1.2
 +
| EN
 +
|-
 +
| [http://www.OurFamilyLinks.org Our Family Links]
 +
| [[User:Chuckfilteau|Chuck Filteau]]
 +
| Public site
 
| v10.1.0.1
 
| v10.1.0.1
| v10.1.0
+
| v10.1.2
 
| EN
 
| EN
 
|-
 
|-
| [http://www.royandboucher.com Our Roy and Boucher Families]
+
| [https://www.royandboucher.com Our Roy and Boucher Families]
 
| [[User:Ken Roy|Ken Roy]]
 
| [[User:Ken Roy|Ken Roy]]
 
| Beta tested the mod for Bryan
 
| Beta tested the mod for Bryan
 +
| v10.1.0.1
 +
| v11.0.0
 +
| EN, FR
 +
|-
 +
| [http://www.bobbyfamilytree.com Bobbyfamilytree]
 +
| [[User:Bobbyfamilytree|Bobby]]
 +
|
 +
| v10.1.0.1
 +
| v10.1.0
 +
| EN
 +
|-
 +
| [http://genealogy.oceanwharf.com Hooley Family Links]
 +
| [[User: lastejas|Rick Hooley]]
 +
| Public Site
 +
| v10.1.0.1
 +
| v10.1.1
 +
| EN
 +
|-
 +
| [http://bisbeefamily.com A Bisbee Family History]
 +
| [[User: kazooter|Rick Bisbee]]
 +
|
 
| v10.1.0.1
 
| v10.1.0.1
 
| v10.1.0
 
| v10.1.0
 +
| EN
 +
|-
 +
| [http://www.kempfamilyhistory.com Kemp(e) Family History]
 +
| [[User: Kempons|Andrew Kemp]]
 +
|
 +
| see [[User:Kempons]]
 +
| see [[User:Kempons]]
 +
| EN
 +
|-
 +
| [https://genealogywings.com/ MOTYER Family Genealogy]
 +
| [[User:JMM|John Mark Motyer]]
 +
| Public site
 +
| [[User:JMM|see here]]
 +
| [[User:JMM|see here]]
 +
| EN, DE, RU
 +
|-
 +
| [http://www.robisonandblythe.org/ Robison and Blythe Genealogy]
 +
| [[User:Jefr58|Jeff Robison]]
 +
| Public Site
 +
| v10.1.0.1
 +
| v10.1.2
 +
| EN
 +
|-
 +
| [https://www.martius-familie.de/ Martius Family History]
 +
| [[User:hemar|Hendrik Martius]]
 +
| Half-public site
 +
| v10.1.0.4*
 +
| v12.0.1
 +
| DE (EN, FR, NL)
 +
|-
 +
| [https://www.kleinmanngenealogy.com/ Kleinmann Genealogy]
 +
| [[User:laxref93|John Kleinmann]]
 +
|
 +
| v10.1.0.1
 +
| v12.0
 +
| EN
 +
|-
 +
| [https://www.rgstrong-genes.com/ R G Strong Family Genealogy]
 +
| [[User:Rgstrong|Russell G Strong]]
 +
| Modified the mod to validate at XHTML 1.0 Transitional
 +
| v10.1.0.1
 +
| v11.0.
 +
| EN (DE, FR, NL)
 +
|-
 +
| [https://www.craxford-family.co.uk/ Extended Craxford Family Genealogy Magazine]
 +
| [[User:Newfloridian|Alan D Craxford]]
 +
| Using Russell's XHTML1.0 Transitional mod (may interfere with favicon)
 +
| v10.1.0.1/2
 +
| v11.0.2
 +
| EN
 +
|-
 +
| [https://www.duttongenealogy.com/ Dutton's of Vermont Genealogy & History]
 +
| [[User:darrin65|Darrin Dutton]]
 +
| Pubic Site
 +
| v10.1.0.3
 +
| v11.1.1
 +
| EN
 +
|-
 +
| [https://www.ccggpa.org/cemeteries/index.php/ Crawford County Genealogy Gateway]
 +
| [[User:Fraber|Frank Bernosky]]
 +
| Pubic Site
 +
| v10.1.0.1
 +
| v11.1.
 +
| EN
 +
|-
 +
| [https://acadianfamily.com/index.php Our Acadian Family]
 +
| [[User:Randal Suire|Randal Suire]]
 +
| Public/Media Private
 +
| 10.1.0.4
 +
| 11.1.2
 
| EN, FR
 
| EN, FR
 
|-
 
|-
 +
| [http://mccartyandmccoy.com/index.php McCarty-McCoy Family]
 +
| [[User:Kelly B|Kelly Booth]]
 +
| Public
 +
| 10.1.0.4
 +
| 11.0.2
 +
| EN
 +
|-
 +
| [https://vanseeventer.nl Familie van Seeventer]
 +
| [[User:see7ter|Sandor van Seeventer]]
 +
| Public site
 +
| 10.1.0.4
 +
| 12.0.1 beta 2
 +
| DE/EN/NL
 +
|-
 +
| [http://justalittleleaf.co.uk Genealogy of the Weir and Drain Families]
 +
| [[User:BeverleyStimpson|Beverley Stimpson]]
 +
| Public Site
 +
| 10.1.0.4
 +
| 11.1.2
 +
| ENGLISH
 +
|-
 +
| [http://www.akerman.me/tng/index.php tobbes familje sidor]
 +
| [[User:Torace|Torbjörn Åkerman]]
 +
| Public site
 +
| v10.1.0.4
 +
| v11.1.2
 +
| SE, EN, FI
 +
|-
 +
| [http://colegenealogy.dynu.net/ Cole / Tanner Family Tree]
 +
| [[User:dlcole|David Cole]]
 +
| Public/Private
 +
| [[User:Dlcole|see here]]
 +
| [[User:Dlcole|see here]]
 +
| English
 +
|-
 +
| [http://geneagraphie.com/ Family Trees worldwide]
 +
| [[User:Henri_Textor|Hans Weebers]]
 +
| Public-, Private Site
 +
| 10.1.0.4
 +
| 12.0.1
 +
| Nl, De, En, Fr
 
|}
 
|}
 +
[[Category:Mods for TNG v12]]
 +
[[Category:Mods for TNG v11]]
 +
[[Category:Mods for TNG v10]]
 +
[[Category:Mods for TNG v9]]
 +
[[Category:Mods for TNG v8]]
 
[[Category:Mods for TNG v7]]
 
[[Category:Mods for TNG v7]]
[[Category:Mods for TNG v8]]
+
[[Category:stdsitecredit.php mods]]
[[Category:Mods for TNG v9]]
  −
[[Category:Mods for TNG v10]]
  −
[[Category:showlog.php mods]]
  −
[[Category:log.php mods]]
 
387

edits

Navigation menu