Protect DDOS attacks in Apache Webserver



Statement :Below directives will help to prevent the DoS attacks and completely cannot be prevented

Environment : Apache webserver

Solution :

-          Set the TimeOut :
                     - Its default value is 300 secs, set the value to lower depending on the website functionalities.
                    - This will wait for the certain amount of time to complete the event. post the request will be                    Failed.
                    

-          MaxClients : 
                    - Default value is 256 , set this value to lower to prevent DoS atatcks
                    -  It allows you to set the no of maximum connection and to be served simultaneously.

                    - Once the limit cross the every new connection will be queued up.

-          KeepAliveTimeout : 
                   - Default value is 5 sec
                   - Default value indicates the amount of time server will wait for the subsequent request before               closing the connection
-          LimitRequestFields : default value is 100 , set this value to lower to prevent DoS atatcks
-          LimitRequestFieldSize : it helps to set a size limit on the http request headers.

No comments:

Post a Comment