vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How can i ban this bot (https://vborg.vbsupport.ru/showthread.php?t=323511)

the one 09-23-2016 04:28 AM

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.

Stratis 09-23-2016 08:01 AM

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>


the one 09-25-2016 05:32 AM

Quote:

Originally Posted by Stratis (Post 2576168)
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

Seven Skins 09-25-2016 09:22 AM

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>


the one 09-26-2016 11:39 AM

Quote:

Originally Posted by Seven Skins (Post 2576213)
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

RichieBoy67 09-26-2016 01:27 PM

Try this:

https://vborg.vbsupport.ru/showthread.php?t=268208

the one 09-26-2016 02:00 PM

Quote:

Originally Posted by RichieBoy67 (Post 2576272)

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.

Stratis 09-26-2016 02:07 PM

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


the one 09-26-2016 02:49 PM

..... i will report back many thanks

Stratis 09-26-2016 02:57 PM

I stopped using RSS two years ago, but i don't remember having this issue.
Hope some expert will find a solution :)


All times are GMT. The time now is 10:52 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.01141 seconds
  • Memory Usage 1,736KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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