April 23, 2020
Estimated Post Reading Time ~

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 a 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 attacks
- 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 attacks
- LimitRequestFieldSize : it helps to set a size limit on the http request headers.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.