Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2016, 04:28 AM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How can i ban this bot

latley on my forum i have been having hundreds of bots from ec2-54-70-216-122.us-west-2.compute.amazonaws.com

When you view whosonline and display user agent this is what it says below

ec2-52-89-87-158.us-west-2.compute.amazonaws.com
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36

here is another one

ec2-54-70-213-207.us-west-2.compute.amazonaws.com
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36

I have tried banning them with my ban spiders plugin and i have also used my ip deny manager to ban numerous ip ranges but they keep coming back in their hundreds.

Is there a way to completley ban this bot.This is what i added to my spider list below.

us-west-2.compute.amazonaws.com
compute.amazonaws.com
amazonaws.com
compute-1.amazonaws.com
us-west-2.compute.amazonaws.com
.us-west-2.compute.amazonaws.com

Am i doing something wrong.Many thanks for any help on this.
Reply With Quote
  #2  
Old 09-23-2016, 08:01 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Put this in your .htaccess file.


Code:
<Files ~ ".*">
order allow,deny
allow from all

Deny from us-west-2.compute.amazonaws.com
Deny from compute.amazonaws.com
Deny from amazonaws.com
Deny from compute-1.amazonaws.com
Deny from us-west-2.compute.amazonaws.com
Deny from .us-west-2.compute.amazonaws.com

</Files>
Reply With Quote
3 благодарности(ей) от:
Dragonsys, MarkFL, the one
  #3  
Old 09-25-2016, 05:32 AM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stratis View Post
Put this in your .htaccess file.


Code:
<Files ~ ".*">
order allow,deny
allow from all

Deny from us-west-2.compute.amazonaws.com
Deny from compute.amazonaws.com
Deny from amazonaws.com
Deny from compute-1.amazonaws.com
Deny from us-west-2.compute.amazonaws.com
Deny from .us-west-2.compute.amazonaws.com

</Files>
mmmm once i add that code it does work but there is a problem.If you go to my home page here http://jandeane81.com/index.php and look on the right where it says theonetruth news you will see it working perfectly.Once i add that code above to my htaccess it stops its preventing my feeds from displaying.I created that widget from http://feed.mikle.com/

So is there a workaround

many thanks
Reply With Quote
  #4  
Old 09-25-2016, 09:22 AM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this may be it will work.

Code:
<IfModule mod_setenvif.c>

	SetEnvIfNoCase User-Agent ^us-west-2.compute.amazonaws.com bad_bot
	SetEnvIfNoCase User-Agent ^compute.amazonaws.com bad_bot
	SetEnvIfNoCase User-Agent ^amazonaws.com bad_bot
	SetEnvIfNoCase User-Agent ^compute-1.amazonaws.com bad_bot
	SetEnvIfNoCase User-Agent ^us-west-2.compute.amazonaws.com bad_bot
	SetEnvIfNoCase User-Agent ^.us-west-2.compute.amazonaws.com bad_bot

<Limit GET POST PUT>
  Order Allow,Deny
  Allow from all
  Deny from env=bad_bot
</Limit>

</IfModule>
Reply With Quote
2 благодарности(ей) от:
MarkFL, the one
  #5  
Old 09-26-2016, 11:39 AM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
Try this may be it will work.

Code:
<IfModule mod_setenvif.c>

	SetEnvIfNoCase User-Agent ^us-west-2.compute.amazonaws.com bad_bot
	SetEnvIfNoCase User-Agent ^compute.amazonaws.com bad_bot
	SetEnvIfNoCase User-Agent ^amazonaws.com bad_bot
	SetEnvIfNoCase User-Agent ^compute-1.amazonaws.com bad_bot
	SetEnvIfNoCase User-Agent ^us-west-2.compute.amazonaws.com bad_bot
	SetEnvIfNoCase User-Agent ^.us-west-2.compute.amazonaws.com bad_bot

<Limit GET POST PUT>
  Order Allow,Deny
  Allow from all
  Deny from env=bad_bot
</Limit>

</IfModule>
Hi this code dont work the other one did but then i had that problem with my feeds not showing on home page.Thanks for your time
Reply With Quote
  #6  
Old 09-26-2016, 01:27 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this:

https://vborg.vbsupport.ru/showthread.php?t=268208
Reply With Quote
  #7  
Old 09-26-2016, 02:00 PM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
Already got it buddy i added these to it below but it dont work

us-west-2.compute.amazonaws.com
compute.amazonaws.com
amazonaws.com
compute-1.amazonaws.com
us-west-2.compute.amazonaws.com
.us-west-2.compute.amazonaws.com


Am i doing something wrong.Many thanks for any help on this.
Reply With Quote
  #8  
Old 09-26-2016, 02:07 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please delete this <Files ~ ".*">xxxxxxxx< /Files> and try again.

Code:
order allow,deny
 allow from all

 Deny from us-west-2.compute.amazonaws.com
 Deny from compute.amazonaws.com
 Deny from amazonaws.com
 Deny from compute-1.amazonaws.com
 Deny from us-west-2.compute.amazonaws.com
 Deny from .us-west-2.compute.amazonaws.com
Reply With Quote
  #9  
Old 09-26-2016, 02:49 PM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

..... i will report back many thanks
Reply With Quote
  #10  
Old 09-26-2016, 02:57 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I stopped using RSS two years ago, but i don't remember having this issue.
Hope some expert will find a solution
Reply With Quote
Благодарность от:
the one
Reply


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

Forum Jump


All times are GMT. The time now is 11:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04638 seconds
  • Memory Usage 2,269KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (6)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete