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)

TheWhite 09-12-2011 05:52 AM

Well guys, I have a decent forum with 185k members with a decent dedicated server and an acceptable Google adsense income.

In the last few years I've tried to "ban" the vicious Baidu Spider by using the robot text (useless because it don't obey it), then by using the .htacess (was great) which worked fine for a couple of years but since a month ago it has somehow found a way in not obeying that either.

In the last week or so I started banning the Ips as a last resort but these guys come out with a new one in a couple of days so this morning I did a Google search and came to this WONDERFUL VB MOD, this coder deserves a medal and not only the MOD OF THE MONTH (so vote for him!!). After an hour, Baidu is NO MORE!! I hit 253GB of bandwidth this morning which is over my average monthly (time period) rate by at least 75GB not mentioning the server slowdowns.

Baidu doesn't bring any good traffic (adsense wise), it only does harm by eating up your resources and slowing down your forum thus causing the Google Crawlers (GOOD BOTS) to take more time on indexing your forum which is bad.

I haven't tested the logging and emailing reportings yet but I will in the next few days.

Cheers!!

Simon Lloyd 09-12-2011 06:00 AM

Hi Guys, thanks for your kind words :), the logging seems to work fine with the banning but i suggest you only turn logging on at least 30 minutes after setting the banning as the text file can get huge quickly. I'm only a few more tests off releasing the fix for "Thread Creation" so maybe later today when i have time or first thing tomorrow ;)

TheWhite 09-12-2011 06:14 AM

Hi Simon, great work!!

I don't want to turn on the server logging because I don't like big files but the thread creation ( similar to the Multiple Login Detection one) would be very much appreciated.
The mod must remain lean and mean ;)

I'm using VB 3.6.12 so I hope you keep this mod compatible.

Regards

Simon Lloyd 09-12-2011 06:30 AM

As an extra thought, if you have a large .htaccess your forum will slow down as every user has to be compared against it or at least thats what i've been led to believe!

Simon Lloyd 09-12-2011 06:33 AM

Quote:

Originally Posted by TheWhite (Post 2244796)
Hi Simon, great work!!

I don't want to turn on the server logging because I don't like big files but the thread creation ( similar to the Multiple Login Detection one) would be very much appreciated.
The mod must remain lean and mean ;)

I'm using VB 3.6.12 so I hope you keep this mod compatible.

Regards

I hadn't tested this that far back but glad it works for you, it should remain compatible :).

Boofo 09-12-2011 02:02 PM

Quote:

Originally Posted by Simon Lloyd (Post 2244092)
I'll just add another attachment, i gave the list openly like that so folk could just either copy it or pick out the ones they wanted to ban, plus its no mystery as to what they're getting but i'll definately do that tomorrow :)

Any word on this yet?

Simon Lloyd 09-12-2011 02:37 PM

Boofo i've been a little preoccupied, promise to do it in the next hour :)

TheWhite 09-12-2011 03:57 PM

When are you going to fix/add the thread notification?
Regards

ForceHSS 09-12-2011 04:02 PM

1 Attachment(s)
still does not post here are my settings

Simon Lloyd 09-12-2011 04:19 PM

Lol the update you were notified of was just for the text file with bad bots being added, still working on getting banning and thread creation working at the same time :)


All times are GMT. The time now is 08:10 AM.

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.01702 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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