DOS attack by AspiegelBot crashed the forum for 30 minutes

Questions and discussion about web design, search engine optimisation and hosting
Santeri
Posts: 287
Joined: 2017-7-5 09:58

Unread post by Santeri » 2020-4-30 20:13

Our forum was down 30 minutes thanks to AspiegelBot DOS attack with almost 100,000 HTTP requests today. The site run out of sql connections. If the same happens to you, here is how you can block the bot by adding the following lines to your .htaccess file in your Apache web server document root directory:

Code: Select all

### block AspiegelBot
RewriteCond %{HTTP_USER_AGENT} AspiegelBot [NC]
RewriteRule .* "-" [F,L]
I noticed earlier how aggressive the crawling was without adequate delays between requests. Crashing websites like this will probably get the bot widely blocked rendering Huawei's search engine pretty useless.



Post Reply