everything that is c++ basicaly doesnt work but the python part does
π‘οΈ Updated Documentation (v1.1.0) Protector Security Suite Hybrid Python Engine + C++ GUI Dashboard
A lightweight defensive system designed to protect local servers from request flooding. This version introduces a high-speed C++ interface to monitor the Python-based protection logic in real-time.
β¨ Key Features
IP-Based Rate Limiting (Python): Controls the flow of incoming requests based on configurable time windows.
Automated IP Blocking (Python): Temporarily restricts abusive IP addresses.
Native Dashboard (C++): A high-performance GUI built with Qt for real-time monitoring.
Centralized Configuration: All security thresholds (request limits, block duration) are managed in config.py.
Detailed Logging: Tracks all security events to security_log.txt.
π Updated Project Structure This layout keeps your "brain" (Python) and "face" (C++) separated for a professional look.
Plaintext
ddos-protection-python/ β βββ protector/ (Python Core) β βββ init.py # Package entry point β βββ rate_limiter.py # Request frequency logic β βββ ip_blocker.py # Blocking mechanism β βββ logger.py # Event recording β βββ gui_cpp/ (C++ Dashboard) β βββ src/ β β βββ main.cpp # Qt GUI logic β βββ CMakeLists.txt # Build configuration β βββ example_server.py # Local HTTP server test βββ config.py # Global settings βββ README.md # Project documentation βββ LICENSE # MIT License