This is a simple servlet filet able to pull DDOS RTBH triggers.
Java Groovy
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
pom.xml

README.md

DDOS Servlet Filter

The time of static applications that just wait to be hit by a massive number of requests has gone.

This piece of code is an example of a Self-Protective servlet filter able to defend itself against DDOS by utilizing the Remotely Triggered Black Holling technique.

DDOS servlet filter is able to apply a remotely triggered black holing as per RFC 5635.

The servlet filter will track the number of requests comming from certain prefix. alt tag

If certain threashold is triggered will pull the RTBH trigger and will put it in quarantine.

alt tag

Eventually the trigger route will be redistributed in the network and the attacker will be blocked for certain preconfigured period of time. alt tag

There is also a quarantineController initialized in the init method of the servlet filter that check for prefixes with expired quarantine period. For those the trigger route will be deleted.

Note that in order that servlet filter to be useful for you you will have to have access to the infrastructure of your provider. It is a simple example on how enterprise java applications could benefit from RTBH and how powerful the integration between application and environment could be.

Current build status

Codeship Status for iTransformers/ddos-servlet-filter

Questions?

Community forum

Issues?

Issue tracker