Extensions > botdetection

Bot Detection

[botdetection]

Thumbnail picture

Helper class to detect search engines, bots, spiders, crawlers ...

Bot Detection is a helper class for other extensions (Frontend) the need to detect whether the access is human or machine :-)

A reliable detection is not possible.
It is to use two methods to detect this:

  • User Agent
  • IP address


The modul includes a method for the agent (BD_CheckBotAgent) and one for the IP detection (BD_CheckBotIP).
These two methods return only "true" or "false" and are only a rough search on strings and substrings to identify the most important bots.
Another method (BD_CheckBotAgentAdvanced) comes with an external configuration file for the user agent detection. As a result, it returns the short name of the bots or "false".

A test is attached to be called directly, as well as 2 front end module as a demo for the implementation in your own modules.

Version
1.0.2
Type
Free
Release date
09.06.2010
Category
Utility
License
LGPL
Copyright
© 2010 Glen Langer
Author
Glen Langer (BugBuster) http://contao.ninja
Release notes and change log for 1.0.2
Other versions

Version 1.0.2:
New Bots found with my detection script:

  • (bot; http://) , in BD_CheckBotAgentAdvanced: "No-Name-Bot"
  • S2Bot
  • Rassler
  • Caret Byte
  • O'Reilly Link Checker


Tested with Contao 2.9.0 RC1

 

Release functionality
 
Total functionality
10.00
Release usability
 
Total usability
10.00
Release quality
 
Total quality
10.00
Release rating
 
Total rating
10.00 (1 votes)
Release downloads
21
Total downloads
1435
Release installs
260
Total installs
17410
Release updates
134
Total updates
16835
Dependencies of this extension
Other extensions depending on this one
Name
Version from
Version to
Contao
2.8.0
2.9.0
Name
Version from
Version to
1.11.0
2.0.0
1.7.0-beta1
2.4.1
Package
Size
Date
52011
24.07.2015 14:51