Skip to content

iTransformers/ddos-servlet-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This is a simple servlet filet able to pull DDOS RTBH triggers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published