aspose file tools*
The moose likes Servlets and the fly likes DoS Attack Filter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "DoS Attack Filter " Watch "DoS Attack Filter " New topic
Author

DoS Attack Filter

Aymeric Levaux
Greenhorn

Joined: Apr 01, 2004
Posts: 11
I'm looking for a J2EE filter to prevent DoS attack. Does any body knows such filter ?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31076
    
233

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DoS Attack Filter