What is DDoS? And limiting DDoS

Thứ Hai, 26 tháng 5, 2014
1. DDoS is what? 
Attack by denial of service DoS (Denial of Service) can be described as actions to prevent legitimate users the ability to access and use certain services on a.  It includes network flooding, loss of connection to the service ... but the ultimate goal is the server (Server) can not meet the requirements to use the service from the client (Client). 
DoS can stop the operation of a computer, a local network, even a very large network. About the true nature of DoS, the attacker will occupy a large amount of network resources such as bandwidth, memory loss ... and the ability to handle service requests from other clients. 
DDoS attack so far in the world have almost no way to 100% prevent radical, however we can use a firewall (firewall) to prevent & partially limited the strength of its harmful effects. Here are detailed instructions on how to setup a simple firewall but no less effective to mitigate DDoS. 

Step 1: Create a file. Htaccess in DDoS access folders / subsequent requests (usually the public_html directory, forum, diendan, 4rum, shop, blog, f etc. ..). The contents of the file as follows: 

Code:
  Options + FollowSymlinks
 RewriteEngine on
 RewriteCond% {HTTP_REFERER}! ^ Http (s)? :/ / (Www \.)? Cuasotinhoc.com [NC]
 RewriteRule ^ (. *). (Php | html | asp | htm) antiddos.htm [NC] 

Step 2: In the same directory, create a file with content antiddos.phtml: 
Code:
  var = this.document.URL currUrl;
 currUrl.replace newUrl = var ('#', '?');
 var re = / CODE /
 var chk = re.test (currUrl);
         if (chk == 1)
         {
                 this.document.write ("class='story_text'> align='center'> <a href='"+newUrl+"&' target='_self'> [Click here to view the contents] </ a> </ div>" );              
         }
         else
         {
                 this.document.write ("class='story_text'> align='center'> <a href='"+newUrl+"?' target='_self'> [Click here to view the contents] </ a> </ div>" );
         } 

Chia sẻ bài viết ^^
Other post

All comments [ 0 ]


Your comments