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

  #91  
Old 22 Sep 2011, 21:10
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
301 is set in the redirect, i don't think i will be able to set the redirect back to the bots own source but certainly i can make the redirect selectable (and will next day or so) and i don't know whether i'll venture in to getting it to work with cms at the moment (as i have a lot on) but anything in /forum and lower i.e /forum/blog.....etc will benefit from the mod (or should!)
__________________
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
  #92  
Old 22 Sep 2011, 21:15
smirkley smirkley is offline
 
Join Date: Apr 2008
Originally Posted by Simon Lloyd View Post
301 is set in the redirect, i don't think i will be able to set the redirect back to the bots own source but certainly i can make the redirect selectable (and will next day or so)
Thanks. Looking forward to this. (is there a suggested redirect url that is effective and safe?)

and i don't know whether i'll venture in to getting it to work with cms at the moment (as i have a lot on) but anything in /forum and lower i.e /forum/blog.....etc will benefit from the mod (or should!)
No problem.

Thanks for everything on this.
Reply With Quote
  #93  
Old 22 Sep 2011, 21:50
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Added user redirect entry box, now you can select where you send them bad bots

Suggestion to redirect them to:
http://www.klikhierniet.net/
It's dutch ( meaning, don't click here )
I think you'll find it's very annoying and I think you could find simular ones in english
__________________
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
  #94  
Old 22 Sep 2011, 23:01
smirkley smirkley is offline
 
Join Date: Apr 2008
Thanks for the option of where to redirect.

I set it for www.baidu.com,... checked it on the checking link you posted,.. and it shows a successful redirect back to them.

I know all bots entered will go to baidu.com, but I am not concerned with that.
(I thought funny the link you suggested )

Last edited by smirkley; 22 Sep 2011 at 23:09.
Reply With Quote
  #95  
Old 22 Sep 2011, 23:07
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Thanks for reporting back that it works ok, i just dashed it off and was about to mark this as a beta when i realised i hadn't tested it so THANKS for being a guinea pig!

That link is annoying though
__________________
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
  #96  
Old 22 Sep 2011, 23:14
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Is there a setting yet for the redirect link?
Reply With Quote
  #97  
Old 22 Sep 2011, 23:17
smirkley smirkley is offline
 
Join Date: Apr 2008
Yes, and I tested and it works
Reply With Quote
  #98  
Old 27 Sep 2011, 16:11
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
any word when the Forum ID and Thread Username options will work
Reply With Quote
  #99  
Old 27 Sep 2011, 17:21
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Im still working on that, i'm trying my best to keep it all in one xml product, at the moment i'm experimenting with a seperate php file called from the product but thats not my goal.

You can use the thread creation...etc but without actually banning the spider at the moment.

There will be an update notice sent to you when i replace the xml or files here just as you did for the "use your own redirection url" change
__________________
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
  #100  
Old 27 Sep 2011, 18:32
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
installed and thanks
__________________
Metallica Unauthorized..
Reply With Quote
  #101  
Old 27 Sep 2011, 19:08
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Originally Posted by Simon Lloyd View Post
Im still working on that, i'm trying my best to keep it all in one xml product, at the moment i'm experimenting with a seperate php file called from the product but thats not my goal.

You can use the thread creation...etc but without actually banning the spider at the moment.

There will be an update notice sent to you when i replace the xml or files here just as you did for the "use your own redirection url" change
thanks ur the best
Reply With Quote
  #102  
Old 03 Oct 2011, 03:44
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
I will be releasing a beta back end of next week if anyone wants to try it pm me, remember i said BETA!, so it may have some issues that i'll need feedback on, i'm still trying to keep this in one product without additional files
__________________
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
  #103  
Old 03 Oct 2011, 03:51
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Beta to be added

Beta for Thread creation and Banning working together to be released - target date 7th October 2011
__________________
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
  #104  
Old 03 Oct 2011, 20:32
voglermc's Avatar
voglermc voglermc is offline
 
Join Date: Oct 2006
Real name: Mark V
I just had a member get rejected using his android phone
__________________
Reply With Quote
  #105  
Old 03 Oct 2011, 20:59
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
This mod can ONLY block those useragents that you have entered in the list, firstly get your user to go here http://whatsmyuseragent.com/ (via his phone) and find out what his useragent is then you go here http://www.botsvsbrowsers.com/SimulateUserAgent.asp and paste his UA string in and test it to see if you get denied or not.

Something in his useragent string is in your list so it's not the mods fault as it's banning what you ask it to
__________________
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
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 07:40.

Layout Options | Width: Wide Color: