vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   How to get rid of the Majestics MJ12bot ? (https://vborg.vbsupport.ru/showthread.php?t=214837)

tlwwolfseye 05-29-2009 11:54 AM

How to get rid of the Majestics MJ12bot ?
 
On one of the Sites I run i have lately a huge amount of visits of the "Majestics MJ12bot". Any idea how to get rid of it ? I think I already banned a few IP Ranges where he was in but he seems to come back with other IP?s anytime.

As you can see, he is much more there than any other Bot. And though I don?t know if that Bot is bad really, it just concerns me a little bit.

http://www.abload.de/img/damn-bot8e33.jpg

I have a .htaccess File which is filled with a lot of banned IP Ranges already. Anyway I can get rid of the bot with the .htaccess File as well ? I just don?t know which IP/IP Ranges that Bot uses in total.

Anyone experience with that Bot ?

UPDATE:

For some reasons I cant get the image to show it in here as its supposed to be, so here is the direct link to the Screenshot.

Angel-Wings 05-29-2009 11:59 AM

The image is quite tiny :D

Well, do you've access to the Webserver that you can install things like mod_security ? Usually blocking IP ranges won't help much if the bot is always coming back and it might end you're blocking legimate members from accessing your board. :(

Dunno if the bot has a special useragent that can be blocked or if the made requests won't differ - you could block based on these or maybe as a much better solution slow each reply down to a maximum like Teergrubing for spam mailservers. :)

tlwwolfseye 05-29-2009 12:10 PM

I dont have access to the Webserver, its just a Webspace account. .htaccess is the best I can do. And yes I know, banning IP Ranges often hits also the wrong people, but then sometimes its better safe than sorry.

There is only so much one can do on a Webspace.

Biker_GA 05-29-2009 12:17 PM

robots.txt 'nuff said..

UKBusinessLive 05-29-2009 12:22 PM

Have a read up here buddy, http://www.majestic12.co.uk/projects...ch/mj12bot.php

The IP address is 88.38.211.149, so add that to your IP ban, it does not obey robots.txt and may overload websites.

If you see this fake bot from that IP, please report this abuse to: abusedesk@interbusiness.it and abuse@business.telecomitalia.it - this is their ISP who provides them with upstream connectivity and they were very responsive.

I think if such abuse continues they will cut them off for good.
:up:

tlwwolfseye 05-29-2009 12:23 PM

With a robots.txt i basically stop all the Bots that I put in it, from going through the site´s content, right ? Someone has a good up to date robots.txt with most of the bad search engines blocked, except maybe Google because I heard they don´t like when you do that. And I want at least Google do the Search stuff.

Biker_GA 05-29-2009 12:24 PM

At that point, use the referrer info in .htaccess. In fact, I'd most likely block all instances of majestic just to hammer the point home.

# deny majestic
SetEnvIfNoCase User-Agent "^MJ12" block

tlwwolfseye 05-29-2009 12:32 PM

Quote:

Originally Posted by Biker_GA (Post 1819469)

# deny majestic
SetEnvIfNoCase User-Agent "^MJ12" block

As soon as I put that into my .htaccess File i get a "Internal Server Error 500".

This is, except from the actual IP Ranges I blocked (list would be too long ;) ), how my .htaccess File looks.

Code:

php_value memory_limit 64M
php_value upload_max_filesize 50M
php_value max_execution_time 900

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?mydomain.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ http://www.myotherdomain.com/hotlinkxutp.jpg [NC,R,L]

ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/403.html

<Files .htaccess>
order allow,deny
deny from all
</Files>

Links have been changed in this example but this is how the .htaccess File looks without the actual IP Bans.

Biker_GA 05-29-2009 12:38 PM

Try this

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^MJ12
RewriteRule ^.* - [F,L]

Place that after your "allows".

tlwwolfseye 05-29-2009 12:40 PM

That other part of Rewrite Engine i have there is for protecting Images not being hotlinked on my Site. Can I use both those parts or does that cause problems ?


All times are GMT. The time now is 01:02 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.01134 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_code_printable
  • (1)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