antiddos is a high-performance, visually enhanced bash tool designed to protect Linux servers from Distributed Denial of Service (DDoS) attacks. It provides a clean CLI interface to manage complex iptables rules.
- ๐ Advanced Protection:
- SYN, UDP, and ICMP Flood mitigation.
- Port scan detection and prevention.
- Invalid packet and fragmentation filtering.
- ๐ฅ๏ธ Monitoring Dashboard:
- Real-time view of dropped packets and server connections.
- ๐ ๏ธ Management Tools:
- Whitelisting/Blacklisting: Easily manage trusted and blocked IPs.
- Persistence: Save rules to apply automatically on system reboot.
- ๐จ Modern CLI:
- Stylish ASCII banner and colored feedback with clear icons.
-
Clone the repository:
git clone https://github.com/ismailtsdln/antiddos.git cd antiddos -
Make the script executable:
chmod +x antiddos.sh
Run with root privileges:
| Command | Description |
|---|---|
sudo ./antiddos.sh start |
Apply all Anti-DDoS protection rules |
sudo ./antiddos.sh stop |
Remove all rules and revert to defaults |
sudo ./antiddos.sh status |
View current protection and rule status |
sudo ./antiddos.sh monitor |
Launch real-time monitoring dashboard |
sudo ./antiddos.sh whitelist <IP> |
Add an IP address to the whitelist |
sudo ./antiddos.sh blacklist <IP> |
Block a specific IP address |
sudo ./antiddos.sh save |
Make current rules persistent across reboots |
sudo ./antiddos.sh clear |
Flush all iptables rules |
iptables(Core firewall)iptables-persistent(Optional, required forsavecommand)ssornetstat(For monitoring dashboard)
MIT License. Designed with โค๏ธ for server security.