vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Ban Spiders by User Agent (https://vborg.vbsupport.ru/showthread.php?t=268208)

Simon Lloyd 11-25-2011 06:35 AM

It shouldn't create threads and it may have been that typo (thanks for spotting it) in the updated xml i have also added a fix so that if the forumid is blank the routine is exited :)

EuroBeat2 11-25-2011 06:45 AM

Quote:

Originally Posted by Alan_SP (Post 2271653)
Threads are created, but I don't know where. Also I don't know where can I remove them and how? 6 Threads are created at the moment.
.

I had the same problem. However, being stupid I turned ON option to create threads, but have not specified the forum. Obviously threads should not be created if forum was not specified and I believe author is going to fix it.

Anyway, the best way to clear the threads (I got 20 of them) is to use your AdminCP -> Threads And Post -> Prune and purge them. I basically removed them using "Other Option'" and put the string: "Activity From Bot" in the TITLE field and it took care of it. I checked DB and they were removed. After this operation Advanced Statistics Plugin no longer reports them. :)

Hope it helps.

EB

Amadeusmq 11-25-2011 07:07 AM

Does anyone have a pruned list of just the really BAD spiders? Honestly, my only problem has been with Baidu (80 spiders at one point) ....and I'm not really knowledgeable enough to know which of that LONG list are: "really bad", "kindof bad", "annoying", etc.

Thanks!

Simon Lloyd 11-25-2011 07:19 AM

It really depends on your target audience, if you were catering for China then you'd allow Baidu, if you were catering for Russia then you'd allow Yandex (Russian Yahoo), most of the bots in that short list (trust me it is short as there are many more that add no value to your site or stats) are known scrapers, bad bots or foriegn spiders that you just don't need.

Check other sites and see which bots they are allowing, see if they are in your country, research the ones they show to see if they're good or bad for your site.

Amadeusmq 11-25-2011 09:28 AM

Just as a FYI, the "Check Version" option in the admincp->Plugins&Products->Installed Products listing doesn't work.

The error message is:

Quote:

Version check failed. No version number was found at this location. The URL for the version check may be incorrect, or the server may be experiencing problems. Please try again later.
The hard link in the listing does correctly point to this thread; however, the version check doesn't work properly.

Simon Lloyd 11-25-2011 03:14 PM

Thanks i'll sort that out :)

Alan_SP 11-26-2011 01:40 AM

Quote:

Originally Posted by EuroBeat2 (Post 2271693)
Anyway, the best way to clear the threads (I got 20 of them) is to use your AdminCP -> Threads And Post -> Prune and purge them. I basically removed them using "Other Option'" and put the string: "Activity From Bot" in the TITLE field and it took care of it. I checked DB and they were removed. After this operation Advanced Statistics Plugin no longer reports them. :)

Thanks.

I found other method. Go to ACP->Maintenance->Update Counters->Remove Orphan Threads (at the end of list)

This sorted it out quickly and I too didn't see threads anymore.

Alan_SP 11-26-2011 01:44 AM

Quote:

Originally Posted by Simon Lloyd (Post 2271687)
It shouldn't create threads and it may have been that typo (thanks for spotting it) in the updated xml i have also added a fix so that if the forumid is blank the routine is exited :)

Yes, I know. It's very strange that it created this six threads.

Probably you should also put 0 instead 1 in options for thread creating by default? Maybe that could help?

EuroBeat2 11-26-2011 01:46 AM

Quote:

Originally Posted by Alan_SP (Post 2271997)
Thanks.

I found other method. Go to ACP->Maintenance->Update Counters->Remove Orphan Threads (at the end of list)

This sorted it out quickly and I too didn't see threads anymore.

Good thinking. I missed that one.

EB

Simon Lloyd 11-26-2011 05:26 AM

Quote:

Originally Posted by EuroBeat2 (Post 2271693)
...... Obviously threads should not be created if forum was not specified and I believe author is going to fix it.

Fixed :)

Quote:

Originally Posted by Amadeusmq (Post 2271724)
Just as a FYI, the "Check Version" option in the admincp->Plugins&Products->Installed Products listing doesn't work.

The error message is:

The hard link in the listing does correctly point to this thread; however, the version check doesn't work properly.

Fixed :)

Quote:

Originally Posted by Alan_SP (Post 2271999)
Yes, I know. It's very strange that it created this six threads.

Probably you should also put 0 instead 1 in options for thread creating by default? Maybe that could help?

Fixed :)

ofir24 12-16-2011 02:53 PM

is it work on vb 4.1.7?

Stefan118 12-16-2011 02:54 PM

Quote:

Originally Posted by ofir24 (Post 2278341)
is it work on vb 4.1.7?

Yes, and also on 4.1.8

Simon Lloyd 12-16-2011 03:35 PM

if you check out the version above it works on 4.x.x that means any version from 4.0.0 and onwards :)

gosiah23 12-22-2011 01:14 PM

Works like a charm!!! Thank you so much :)

Simon Lloyd 12-22-2011 08:29 PM

Glad you like it, check your resource usage after a month and you'll see a dramatic drop in your bandwidth usage and cpu time :)

Boofo 12-27-2011 02:12 PM

Simon, you might want to add:

Twiceler
xpymep2.exe

to the spiders list in the mod.

Simon Lloyd 12-27-2011 02:39 PM

Hi Boofo, thanks for that however there are quite a few maintained lists around Lee that posts here has posted his list at vbulletin.com and at vbseo.com his pet hate is bad bots n spiders so he has a hugeeeee list, the ones i added to the mod are just to get people started and to see how to enter their bots :)

Boofo 12-27-2011 04:38 PM

A link to those lists would be a good addition, also.

Simon Lloyd 12-29-2011 08:57 AM

Try these:
http://www.forumpostersunion.com/showthread.php?t=1644
http://www.vbseo.com/f34/how-create-...78/index4.html

But to be honest it's nothing that a little googling or binging wont reslove :)

Boofo 12-29-2011 09:24 AM

I was referring to those that aren't familiar with bots and how they act. The more knowledge available when releasing any mods here is always a GOOD thing. Sorry if I interrupted anything with that request.

Simon Lloyd 12-29-2011 01:18 PM

Well i suppose the secondd of those two links has more explanation but i didn't get that from your post, i thought you wanted links to lists posting, but for my money that can be a bad thing, people would then blindly enter all the bots to the banning list when really, dependant on their content, they will want some of those scraping or visiting their site, it's a personal preference really.

I built this because the bots were killing my bandwidth and making the forum slow so i ban the more agressive ones like Baidu, why on earth would they need 215 bots indexing my site?, so ban them in favour for the less aggressive :)

Anyway as an information post this link explains what they are http://en.wikipedia.org/wiki/Spambot

Max Taxable 12-29-2011 01:49 PM

Quote:

Originally Posted by Simon Lloyd (Post 2281916)
i ban the more agressive ones like Baidu, why on earth would they need 215 bots indexing my site?

Yeah, 215 Chinese bots leeching resources, to allegedly index your site for people who most likely can never see it. Most US sites are blocked in China. Baidu makes no sense at all, it certainly doesn't help anybody. By far the worst behaving bot out there, it totally ignores robots.txt.

ForceHSS 12-30-2011 03:39 PM

Quote:

Originally Posted by Boofo (Post 2281437)
A link to those lists would be a good addition, also.

https://vborg.vbsupport.ru/showpost....&postcount=224

Simon Lloyd 12-30-2011 03:42 PM

Lol, thanks Force ;)

spillage 01-22-2012 08:02 PM

Since upgrading to vB4.1.10, I've noticed (occasionally) some spiders in the list still showing up online.
Anyone else having this issue, and any ideas what's going on?

TiA

Simon Lloyd 01-22-2012 08:53 PM

You shouldn't unless they are using a different UA, the spiders xml that you can download from Mosh's site (vb.com thread) may have them in the list with the same name but their UA may be different to that in the list :)

spillage 01-22-2012 09:32 PM

A couple of examples of ones in my list that (recently) show as online;
AhrefsBot
Exabot
gigabaz
Heritrix
Majestics MJ12bot

I though this hack picked up on all things similar (name based)?... ie "Majestics" should also take out "Majestics MJ12bot", regardless of the software they're using to access the site.

How do we include same name spiders in our list that are using different UA's?

Simon Lloyd 01-23-2012 04:40 AM

You are right entering Exabot should prevent that bot viewing your site, however entering "Majestics MJ12bot" will not stop a bot with either "Majestics" or "MJ12bot" it will only stop bots with that entire phrase as part of their UA, so if you want to ban that bot enter the seperated values.

Can you give me a link to your site?

spillage 01-24-2012 02:07 AM

Simon, I thought about that and included the individual entries when the issue first arose.

nscale.net ... however, the WGO block is only visible to members... PM me if you want temporary access.

TombstoneWarrior 01-24-2012 10:30 AM

what does this option mean? " Create new thread for each UA detection (be aware that this can cause hundreds of threads at first until spiders get the mesage!)
You can use this even if you aren't using the ban option above" also what does this option do. will it creat a thread in my forum?

ALSO WHY IN A DISCRIPTION FROMA MEMBER DO THEY HAVE THIS OPTION SET TO YES??

Simon Lloyd 01-24-2012 01:49 PM

Firstly that does exactly as it says, It WILL create threads!, hundreds and hundreds of them :) and one of the members here who say they have it set to "yes" chose to do so!

BlueCheri 02-18-2012 08:44 AM

Downloaded, suggested this by a friend.

Think must be useful, let us see how it works.

Thanx.

G!

sarasotarepub 02-24-2012 12:24 PM

Well done Simon.

We were having an infestation of Baidu Spiders but your Mod took care of them. I installed it last night and this morning they (and others) were gone.

Simon Lloyd 02-24-2012 06:37 PM

Glad it's helping you :)

bosanci28 03-04-2012 03:20 PM

hmmm,

why do i have all this in my ""VSa - Advanced Forum Statistics"

this:

* activity from bot no.7 (baidu) in your list*

also notice from 2 other bots like: yandex and webster.

thanks for any help...

Simon Lloyd 03-04-2012 03:45 PM

In forum statistics you will see the bot activity as they do access your site but are then redirected before they can open the thread...etc that they were attempting, if you are seeing the actual phrase "activity from bot no.7 (baidu) in your list" then it's because you have the notifications turned on in the mod :)

bosanci28 03-04-2012 03:52 PM

so just turn off the option at: "Create New Thread" ?
thanks

Simon Lloyd 03-04-2012 04:15 PM

Yep, turn it off, it's just a way of monitoring it working or if you are only testing one bot at a time, otherwise you'll get thousands of the damn things ;)

meaters 03-14-2012 02:54 PM

Awesome mod, thanks!

Saved our community from Baidu, hundreds of bots were online persistenly to the point of crashing our server.

Simon Lloyd 03-14-2012 03:08 PM

Please mark it as installed :)


All times are GMT. The time now is 05:08 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01611 seconds
  • Memory Usage 1,825KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete