Table of Contents
This project is based on C++ which focus on limiting the number of HTTP requests sent to linux server in a window time. Bad players could send enormous amount of requests to a linux server to stop the system from servering its normal clients. To prevent this kind of attack (DoS) from happening a this project is created to hel you host you website in linux servers. This project is framework independant (Depends only on linux) so you can attach this to any of your stack easily.
If you take a look at this image after a paticular request limit inside the window time the application blocks the client's access to the linux server.
./crequest port-number window-time request-limit
Building The Project From Scratch
chmod +x blacklist
make
./crequest 8080 10 5
- make
- g++ (10.2.1-6 >= )
- linux system (Which supports iptables-legacy)
chmod +x blacklist
make
./crequest 8080 10 5
mv ./crequest ~/.local/bin
./crequest port-number window-time request-limit
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GPL2 License. See LICENSE.txt
for more information.
-
Muthu Palaniyappan OL - @iampalaniyappan - mail me
-
Edumba Vannia Raja T
-
Srinikethan S
Project Link: https://github.com/Muthu-Palaniyappan-OL/crequest