"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.
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