]> granicus.if.org Git - apache/commitdiff
* Add a sentence about DDOS.
authorRuediger Pluem <rpluem@apache.org>
Tue, 17 Jan 2006 19:58:19 +0000 (19:58 +0000)
committerRuediger Pluem <rpluem@apache.org>
Tue, 17 Jan 2006 19:58:19 +0000 (19:58 +0000)
* Mention problems with low Timeouts and long running CGIs.
* Stress out the experimental character of event MPM and that it does not
  work with ssl currently.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@369902 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/misc/security_tips.xml

index 72a820002591cb18ee9223526c8c595832ae6f13..2d3fb80ed65b4c1047e924dbc76a6e33044d551a 100644 (file)
@@ -66,7 +66,8 @@
     other operating-system configurations.  For example, most
     firewalls can be configured to restrict the number of simultaneous
     connections from any individual IP address or network, thus
-    preventing a range of simple attacks.</p>
+    preventing a range of simple attacks.  Of course this is no help
+    against Distributed Denial of Service attacks (DDoS).</p>
 
     <p>There are also certain Apache HTTP Server configuration
     settings that can help mitigate problems:</p>
     <ul>
       <li>The <directive module="core">TimeOut</directive> directive
       should be lowered on sites that are subject to DoS attacks.
-      Setting this to as low as a few seconds may be appropriate.  See
-      also the <directive module="core">KeepAliveTimeout</directive>
-      directive and various timeout-related directives provided by
-      different modules.</li>
+      Setting this to as low as a few seconds may be appropriate.
+      As <directive module="core">TimeOut</directive> is currently
+      used for several different operations, setting it to a low value
+      introduces problems with long running CGI scripts.</li>
+
+      <li>The <directive module="core">KeepAliveTimeout</directive>
+      directive may be also lowered on sites that are subject to DoS
+      attacks.  Some sites even turn off the keepalives completely via
+      <directive module="core">KeepAlive</directive>, which has of course
+      other drawbacks on performance.</li>
+
+      <li>The values of various timeout-related directives provided by
+      other modules should be checked.</li>
 
       <li>The directives 
       <directive module="core">LimitRequestBody</directive>,
 
       <li>The use of a threaded <a href="../mpm.html">mpm</a> may
       allow you to handle more simultaneous connections, thereby
-      mitigating DoS attacks.  Further, the <module>event</module> mpm
+      mitigating DoS attacks.  Further, the experimental 
+      <module>event</module> mpm
       uses asynchronous processing to avoid devoting a thread to each
-      connection.</li>
+      connection. At the current point of time this
+      is work in progress and not fully implemented.  Especially the
+      <module>event</module> mpm is currently incompatible with 
+      <module>mod_ssl</module> and other input filters.</li>
 
       <li>There are a number of third-party modules available through
       <a