Skip to content

cos301-2019-se/Defendr

Repository files navigation

UP logo

COS 301: Software Engineering

Capstone Project

Dark nITes


"Technology breeds crime and we are trying... to stay one step ahead of the person trying to use it negatively." - Frank Abagnale

Defendr is designed to detect, and deflect DoS attacks and provide network load-balancing services to various backend applications and ensure their accessibility. The DoS protection subsystem makes use of XDP and eBPF to monitor and discriminate network traffic to the backend applications. Offending packets/IPs are dropped/blacklisted, whereas legal traffic is balanced. Balancing will be governed by algorithms, e.g. (weighted) round-robin. Defendr will be situated between the end-user and applications, with Direct Server Return being used to handle responses.

Instructions:

If installation is required:

  • Download the repository, and navigate to it's root
  • Run ./installcommands.sh in terminal. Ensure the script has the requisite permission with chmod +x installcommands.sh
  • On the first window that appears, please insert include /usr/local/lib, save and exit
  • If you see the error bash: ./installcommands.sh: /bin/bash^M: bad interpreter: No such file or directory. Run the command sed -i -e 's/\r$//' installcommands.sh in terminal, thereafter return to the previous step.

If the system is already installed:

  • Navigate to Defendr/src/Interfaces_v2/
  • Run the terminal command sudo python3 main.py

Links


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published