Prevent DoS (Linux+Apache+Jboss)

"Daniel Armbrust" <[email protected]> Thu, 31 Jan 2013 13:23:10 -0200
Newsgroups gmane.comp.security.basics
Message-ID <[email protected]>
Hi folks,

   What is the best way to prevent huge access to a web application ?
   This is a Java Application running on Jboss 5. The Operating System
is a RedHat Linux Box with 4 GB of Ram. 
   Always, we find in access_log a lots of requests. These high requests
increase the "load average" of the server
until its freezes.

   Normally, we pick up the "Bad IP" from access_log and make a simple
IPTables rule, like that:

  /sbin/iptables -A INPUT -s <IP> -p tcp --syn -m connlimit
--connlimit-above 5 -j REJECT --reject-with tcp-reset


   There is another best way ???
   Thanks so much.

Regards
Daniel Armbrust.
 


------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate
In this guide we examine the importance of Apache-SSL and who needs an SSL certificate.  We look at how SSL works, how it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1
------------------------------------------------------------------------