vb.org Archive

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

Midohash 10-29-2012 12:08 PM

Quote:

Originally Posted by Simon Lloyd (Post 2376757)
Midohash, i'll pm you later with some other way of helping against this.

Thanks a lot Simon, I have received your PM and sent a reply

Simon Lloyd 02-02-2013 04:03 AM

I'm looking for feedback guys!
Would it be beneficial to automatically ban bots that exceed x number of bots at any one time?

So, the likes of Baiduspider send around 200 at any one time, so if i entered say 150 (in place of x) in a settings box then they would automatically get added to the ban list, let me know your views as i'm not going to work on something nobody feels is needed :)

Midohash 02-03-2013 09:38 AM

Quote:

Originally Posted by Simon Lloyd (Post 2401232)
I'm looking for feedback guys!
Would it be beneficial to automatically ban bots that exceed x number of bots at any one time?

So, the likes of Baiduspider send around 200 at any one time, so if i entered say 150 (in place of x) in a settings box then they would automatically get added to the ban list, let me know your views as i'm not going to work on something nobody feels is needed :)

Your mod is highly needed Simon and has helped me significantly when I was on shared hosting in reducing the server load and saving bandwidth when bad bots used to hit heavily and unnecessarily my site :up:

However I have two queries here:

1- How the mod would differentiate between good bots like Google for instance and bad bots if they send higher than the threshold you have already set?

2- What is the difference between banning bad bots through this mod and that through the .htaccess?

Thank you

Mido

Simon Lloyd 02-03-2013 10:10 AM

Ok, firstly i'd incorporate a safe bot list where you can add bots that you dont want to be banned. The difference with this and .htaccess is, with .htaccess the bots don't even get to call any page on your site but having a lot in your .htaccess list can cause your server to load and slow down, this mod allows the call of a page...etc but as soon as they do it never completes for them as they are then redirected straight away and as you've experienced they quickly drop off and so does your server load :) and you save tons of bandwidth.

Midohash 02-03-2013 04:32 PM

Quote:

Originally Posted by Simon Lloyd (Post 2401544)
Ok, firstly i'd incorporate a safe bot list where you can add bots that you dont want to be banned. The difference with this and .htaccess is, with .htaccess the bots don't even get to call any page on your site but having a lot in your .htaccess list can cause your server to load and slow down, this mod allows the call of a page...etc but as soon as they do it never completes for them as they are then redirected straight away and as you've experienced they quickly drop off and so does your server load :) and you save tons of bandwidth.

Good idea :up: ... I didn't know that blocking bad bots through .htaccess could increase the server load ... I thought the reverse! ... Thanks for the explanation ... When do you expect the new modifications in your mod to take place?

Simon Lloyd 02-03-2013 05:03 PM

Well im waiting on more votes from people saying that they'd think it was a good idea and use it so give it a week or two.

Midohash 02-03-2013 05:19 PM

Quote:

Originally Posted by Simon Lloyd (Post 2401625)
Well im waiting on more votes from people saying that they'd think it was a good idea and use it so give it a week or two.

OK I'll wait for the new modifications ... Just a quick question ... Can I use this phrase to ban the bad bot in your mod?

RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot@yahoo.com [OR]

Or I have to change it to craftbot alone?

Thank you

Simon Lloyd 02-03-2013 05:30 PM

You need to understand how the mod works, take a look here https://vborg.vbsupport.ru/showpost....&postcount=381 should explain it for you.

Midohash 02-03-2013 05:41 PM

Quote:

Originally Posted by Simon Lloyd (Post 2401629)
You need to understand how the mod works, take a look here https://vborg.vbsupport.ru/showpost....&postcount=381 should explain it for you.

Thanks, I got the point meaning!

hotshot 05-01-2013 12:36 AM

Isn't this supposed to reduce the number of Bot registations too? I have this mod installed and I still get hundreds of bot registrations that are blocked by vbStopForumSpam.


All times are GMT. The time now is 12:31 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.01151 seconds
  • Memory Usage 1,741KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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