[Open Source] Layer 7 I Developed a WAF for DDOS Attackers

zfc

Junior Member
Joined
Jul 23, 2022
Messages
187
Reaction score
73
Hello, it can prevent attacks without requiring Cloudflare by deploying on several servers, but if you use it with Cloudflare to avoid cost, it will prevent the attack on a single server.
I have added the custom Cloudflare settings to the readme.md file and I recommend using those settings.

The source of the Waf page is 1.16 KB in size and has only a few script tags.

Repo: https://github.com/zfcsoftware/ddos-firewall

NPMJS: https://www.npmjs.com/package/ddos-firewall

Demo: https://ddos-firewall-demo.zfc.com.tr/

Demo Source: https://github.com/zfcsoftware/ddos-firewall/tree/test

In the index.js file in the demo source code, if you write your site in the target variable where Google is reflected, it reflects your site. You can also give an IP Address. You must pass the traffic through this source code. Without using a reverse proxy like NGNIX, you can publish this project directly from port 80 of a server and connect a domain. It will prevent the attack. For very large attacks, I recommend using it with sites such as Google Cloud Run, Heroku, Vercel.

It is completely open source.
 
Back
Top