File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DoS Attack Filter

 
Aymeric Levaux
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm looking for a J2EE filter to prevent DoS attack. Does any body knows such filter ?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33700
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aymeric,
Technically speaking you can't prevent a DoS attack; only minimize its impact. In particular, the resources of serving the request and getting to the filter are still used. In some cases, this may be enough to get the server to 100% capacity.

The best you can do is cache the IP addresses that make requests in the filter and not process the request if there are X number from a certain IP within a predetermined interval. Note that proxy servers make it look like many users are coming from the same IP. So it is legitimate to have concurrent requests.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic