Jump to content

My site is under robot attack


paradate
 Share

Recommended Posts

I am having a problem: my site is under a robot attack which changes IPs every few seconds.
I see number of users online 20000-35000 and they all going to 404 page.
It causes my site to collapse every few minutes.
I know that there is a script "DenyHost" which you can install on your server and it blocks the attack.
Does anyone know of anything like that for Prestashop? Or any other solution?
(the site that is being attacked used to be a forum before so some hacker aimed an automatic script that attacks that site all the time).

Share this post


Link to post
Share on other sites

If you put your site into maintainence mode and add the following to the maintainence.tpl file

            <meta http-equiv="refresh" content="0; url=http://www.whateverwebsiteaddressyouwant.com/">



This will redirect the bot away from your site to whatever site you specify.

Share this post


Link to post
Share on other sites

redirect it back to its own website.

I like
.

header('HTTP/1.1 301 Moved Permanently');
header('Location: http://www.fbi.gov');
exit();


This would be a good idea apart from the fact that his website will be the refering website for the bot, and i'm guessing the fbi wont be too happy.

Share this post


Link to post
Share on other sites

I doubt any form of redirect will work. It is likely that the robot just sends a request to the website without reading any response, yet alone interpret any redirect instructions. .htaccess rules might help if you can identify the bot within .htaccess.

Share this post


Link to post
Share on other sites

I suggest you ask your hosting company for help, or if you have a dedicated server - get help from one of the many site admin services that are around. DDos types of attacks are getting more common especially if you start to get a lot of visitors

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More