Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Ban Spiders by User Agent Details »
Ban Spiders by User Agent
Mod Version: 3.1.2, by Simon Lloyd (Coder) Simon Lloyd is offline
Developer Last Online: Aug 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (64 votes - 4.86 average) Installs: 483
Released: 09 Aug 2011 Last Update: 18 Dec 2014 Downloads: 1910
Supported Uses Plugins  

What this mod does
With this mod you can enter User Agents to watch or ban, you can also recieve emails or have an Output.txt created and updated with time and date of visits. It doesn't just have to be spiders, you can watch, log or ban any useragent!

How to install
Simply import the product ban_spider, the mod is active by default but none of the other options are turned on.

What is a UserAgent?
http://en.wikipedia.org/wiki/User_agent

Understanding a UserAgent string
http://user-agent-string.info/parse

Genuine User Getting Blocked?
http://www.vbulletin.org/forum/showp...&postcount=105

Tools to help
http://whatsmyuseragent.com/SwitchingUserAgents.asp
http://www.botsvsbrowsers.com/SimulateUserAgent.asp

FAQ
http://www.vbulletin.org/forum/showp...&postcount=137

How does it work?
http://www.vbulletin.org/forum/showp...&postcount=381

What's a bot?
http://en.wikipedia.org/wiki/Spambot

How do i ban a bot?
http://www.vbulletin.org/forum/showp...&postcount=318
http://www.vbulletin.org/forum/showp...7&postcount=51

Where's output.txt located?
http://www.vbulletin.org/forum/showp...&postcount=216

Bad bot lists
http://www.vbulletin.org/forum/showp...&postcount=259
http://www.vbulletin.org/forum/showp...&postcount=224
http://www.vbulletin.org/forum/showp...&postcount=281

Tested on vb3.7.x, vB3.8.x , vB4.x.x but should work on any version.

____________________________________________________________________
Special thanks to:
Lior
KH99
BoP5
for helping me sort out a few issues

...and beta testers

ForceHSS (Special thanks to Force for latest testing)
ozzy47
GreyHost

If you use this please mark as INSTALLED

History
9th June 2011 Orginal xml added
12th June 2011 Added both email notification and text file logging
22nd June 2011 Version 2.0.0, Added create thread on activity
  1. Added match facility you can now use something like Yandex and it will match MOZILLA/5.0 (COMPATIBLE; YANDEXBOT/3.0; +HTTP://YANDEX.COM/BOTS)
  2. Added clickable link to visited thread
22nd September 2011 added user redirect url selection
08th October Beta testing started for thread creation.
20th October Beta testing started for emailing.
21st October Beta testing complete Ver 3.0.0 uploaded
29th October minor fix added to cope with empty userid on thread creation
30th October Beta testing automatic redirection to spiders/bots IP
31st October New xml uploaded with automatic redirect to IP
25th November Minor fix for blank forumid fixed
26th November 2011 Fixed version check & create thread Off by default
17th December 2014 Version 3.1.0 uploaded, Hook changed extra logging and statistics added by Ozzy47 (Chris)
18th December 2014 Version 3.1.1 uploaded, prevented spiders being counted when mod turned off.
17th December 2014 Version 3.1.2 uploaded, due to rogue code from another mod
The Bad Bots list is now included in the product
Please prune out all those that you wish to be able to see your site (i suggest you definately prune out "DA" and "Custo" :

Support will now only be given to those who have this mod marked as INSTALLED

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Ban Spiders by User Agent Simon Lloyd vBulletin 3.8 Add-ons 188 20 Jul 2015 12:34

  #796  
Old 29 May 2016, 23:52
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by markoroots View Post
I have setted the plugin to redirect to the ip of the bots there are in the list, but it redirect everyone to the own ip, so the site is from today inaccessible.
Using Cloudflare by any chance?

What's happened here isn't a bug in the Mod, it's something unique to your site.
Reply With Quote
  #797  
Old 31 May 2016, 14:02
markoroots markoroots is offline
 
Join Date: May 2013
Real name: Marco Miglietta
Hi Max, no I don't use Cloudflare, but I have only set the option to let redirect the bot to their own ip but then no one was able to reach the forum, everyone was treated like bot.
So if this is never succeeded with no one maybe is my forum...
Reply With Quote
  #798  
Old 31 May 2016, 17:46
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by markoroots View Post
Hi Max, no I don't use Cloudflare, but I have only set the option to let redirect the bot to their own ip but then no one was able to reach the forum, everyone was treated like bot.
So if this is never succeeded with no one maybe is my forum...
Must be something you shouldn't have, in the ban list I would think.
Reply With Quote
  #799  
Old 01 Jun 2016, 08:16
markoroots markoroots is offline
 
Join Date: May 2013
Real name: Marco Miglietta
Then quite sure..
because I added "Mozilla" to make a test in that list.
Thanks for the info.
But another thing we have seen that this app is using really more cpu.
Is this normal? And if yes, why?
We had to disable it to reduce the cpu load because have an high increment when is active.
Reply With Quote
  #800  
Old 01 Jun 2016, 19:09
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by markoroots View Post
Then quite sure..
because I added "Mozilla" to make a test in that list.
And that caused the entire problem.
But another thing we have seen that this app is using really more cpu.
Is this normal? And if yes, why?
We had to disable it to reduce the cpu load because have an high increment when is active.
I've never seen this Mod cause high CPU load, but I imagine it might be able to do so depending on the settings, and the items in the list you're using.
Reply With Quote
  #801  
Old 06 Jun 2016, 01:30
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Its not normal to have high CPU usage because of this mod, it hardly uses any resources at all, it redirects right at page call so doesn't even allow your site to load for the banned list, however, if you have banned many things then they will be constantly redirecting, after a short while they will stop visiting your site.

I think you may have other issues going on here, it might be a point to hire Max or Ozzy to take a look at your site and get it optimized properly
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #802  
Old 06 Jun 2016, 01:41
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by Simon Lloyd View Post
I think you may have other issues going on here, it might be a point to hire Max or Ozzy to take a look at your site and get it optimized properly
Thanks for the reference but neither of us hires out, as policy. Ever. Made a exception and tried it once last summer though, on the insistence of the person we were helping. Didn't end well.

To marko - either of us would be happy to take a look at the situation, for free.
Reply With Quote
  #803  
Old 06 Jun 2016, 01:43
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
No problem, just thought you two now did it as a business, I haven't been on here in such a long while I'm out of touch
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #804  
Old 06 Jun 2016, 01:47
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by Simon Lloyd View Post
No problem, just thought you two now did it as a business, I haven't been on here in such a long while I'm out of touch
Since our negative experience last year, neither of us does much at all anymore. Ozzy even less than I unfortunately.
Reply With Quote
  #805  
Old 08 Jun 2016, 11:01
BGN64's Avatar
BGN64 BGN64 is offline
 
Join Date: Nov 2011
I have a user agent showing up in a regular basis, often dozens at a time.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The version is often 34, 29, etc (there are several). I have yet to find a legit user. What string would you suggest to send them on their way?
Reply With Quote
  #806  
Old 08 Jun 2016, 13:25
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
You can enter the entire string, that way you will only ban users with that exact useragent
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #807  
Old 08 Jun 2016, 18:12
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by BGN64 View Post
I have a user agent showing up in a regular basis, often dozens at a time.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The version is often 34, 29, etc (there are several). I have yet to find a legit user. What string would you suggest to send them on their way?
If they're not doing anything malicious, what's the problem? Did you trace out IP addresses?

Blocking that UA string WILL block legitimate people. It's nothing exotic, it's a Windows 8 computer with only about a year or so old version of Firefox. It's not unusual for people to not upgrade FF.

Just something to think over.
Reply With Quote
  #808  
Old 11 Jun 2016, 15:21
BGN64's Avatar
BGN64 BGN64 is offline
 
Join Date: Nov 2011
Thanks for your reply.

All IPs resolve to China, Iran, Venezuela, Russia etc (at least the several dozen I have checked). I have yet to find one from the US, CA or AU (which are my primary audience). I often have 10-15 on the site at any given time.
Reply With Quote
  #809  
Old 29 Jun 2016, 15:47
markoroots markoroots is offline
 
Join Date: May 2013
Real name: Marco Miglietta
Thanks for the tips guys and many thanks Max for your availability, I will write you a pm.
Reply With Quote
  #810  
Old 13 Jul 2016, 14:36
grafbyte grafbyte is offline
 
Join Date: May 2007
hi

after the install ...
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

mit dis list

baiduspider
beta.statsit.com
statsit
SiteIntel
Yandex
GomezAgent
FunWebProducts
MSIE 1
MSIE 2
MSIE 3
MSIE 4
MSIE 5
MSIE 6
w3m

almaden
Anarchie
Artabus
ASPSeek
attach
autoemailspider
BackWeb
Baidu
Bandit
BatchFTP
BlackWidow
Bot\mailto:craftbot@yahoo.com
Buddy
bumblebee
CherryPicker
ChinaClaw
CICC
Collector
Copier
Copyscape
Crescent
DIIbot
DISCo
DISCo\Pump
dotbot
Download\Demon
Download\Wonder
Downloader
Drip
DSurf15a
eCatch
EasyDL/2.99
EirGrabber
email
EmailCollector
EmailSiphon
EmailWolf
Express\WebPictures
ExtractorPro
EyeNetIE
FileHound
FlashGet
FrontPage
GetRight
GetSmart
GetWeb!
gigabaz
GNIP
Go\!Zilla
Go!Zilla
Go-Ahead-Got-It
gotit
Grabber
GrabNet
Grafula
grub-client
HMView
HTTrack
httpdown
.*httrack.*
ia_archiver
Ichiro
Image\Stripper
Image\Sucker
Indy*Library
Indy\Library
InterGET
InternetLinkagent
Internet\Ninja
InternetSeer.com
Iria
JBH*agent
JetCar
JOC\Web\Spider
JustView
larbin
LeechFTP
LexiBot
lftp
Link*Sleuth
likse
//Link
LinkWalker
Mag-Net
Magnet
Magpie
Mass\Downloader
Memo
Microsoft.URL
MIDown\tool
Mirror
Mister\PiX
Mozilla.*Indy
Mozilla.*NEWT
Mozilla*MSIECrawler
MS\FrontPage*
MSFrontPage
MSIECrawler
MSProxy
Navroad
NearSite
NetAnts
NetMechanic
NetSpider
Net\Vampire
NetZIP
NICErsPRO
Ninja
Nutch
Octopus
Offline\Explorer
Offline\Navigator
omgili
Openfind
PageGrabber
Papa\Foto
pavuk
pcBrowser
Ping
PingALink
Pockey
psbot
Pump
QRVA
RealDownload
Reaper
Recorder
ReGet
Scooter
Seeker
Siphon
sitecheck.internetseer.com
SiteSnagger
SlySearch
SmartDownload
Snake
sogou
Soso
SpaceBison
speedy
Spinn3r
sproose
Stripper
Sucker
SuperBot
SuperHTTP
Surfbot
Szukacz
tAkeOut
Teleport\Pro
URLSpiderPro
Vacuum
VoidEYE
Web\Image\Collector
Web\Sucker
WebAuto
[Ww]eb[Bb]andit
webcollage
WebCopier
Web\Downloader
WebEMailExtrac.*
WebFetch
WebGo\IS
WebHook
WebLeacher
WebMiner
WebMirror
WebReaper
WebSauger
Website
Website\eXtractor
Website\Quester
Webster
WebStripper
WebWhacker
WebZIP
Wget
Whacker
Widow
WWWOFFLE
x-Tractor
Xaldon\WebSpider
Xenu
Yandex
Yeti
YOUDAOBOT
Zeus.*Webster
Zeus


Importiere Sprache, Bitte warten...

VB 4.2.3 (i have change admin foldername)

2.4. If you need German, Spanish or Romanian translation, import
vblang-glowhostspamomatic-210_XX.xml, where XX is the language locale code
(Located at AdminCP -> Languages & Phrases > Download / Upload Languages).

[:]

Warnung (PHP Warning): Illegal string offset 'value' in ..../includes/adminfunctions_language.php (Zeile 651)

Warnung (PHP Warning): Illegal string offset 'value' in ..../includes/adminfunctions_language.php (Zeile 651)

Warnung (PHP Warning): Illegal string offset 'value' in ..../includes/adminfunctions_language.php (Zeile 651)

Warnung (PHP Warning): Illegal string offset 'value' in ..../includes/adminfunctions_language.php (Zeile 651)

Warnung (PHP Warning): Illegal string offset 'value' in ..../includes/adminfunctions_language.php (Zeile 651)

Last edited by grafbyte; 13 Jul 2016 at 14:48.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:16.

Layout Options | Width: Wide Color: