A simple Intrusion Detection System that monitors network traffic for potential Denial of Service attacks by tracking request counts per IP address and banning suspicious activity.
To install the required dependencies, run:
The basic usage of the tool is as follows:
Argument | Description | Default |
---|---|---|
--help | Display help information | - |
--threshold | Max requests per minute per IP | 50 |
--ban-time | Ban duration in seconds | 300 |
--interface | Network interface to monitor | All interfaces |
If you encounter permission errors, especially with network tools like IDS or Packet Sniffer, make sure to run the script with administrator privileges (sudo on Linux/macOS).
If you encounter import errors, ensure all required dependencies are installed:
This tool is provided for educational and legitimate security testing purposes only. Always ensure you have proper authorization before using security tools on any network or system.
Contributions are welcome! Please feel free to submit a Pull Request.