Awesome Open Source
Awesome Open Source

Bad Zone-AntiDDoS (Stop bad ASN attack your server)

Little bash script, for block ip/subnet of bad ASN (What using Stressers)

Friendly for Forks!

Beta version are not accurate

  • Blocked stresser's ASN Zone

  • Firewall Protocol Authorization in BETA only

  • Firewall Request Reason in BETA only

  • Firewall SSDP Protocol killer

  • Firewall UDP Resolver

  • Firewall ICMP Request control

  • Spookey Ports

  • Some hotfixes (IMAP, Bad packets, bad query) in OLD/Legacy only [EOL]

Supported OS: | Status | Name | | ------- | ----- | | | Red Hat 8.X [Recommended] | | Debian 7 and lower | | Debian 8 | | Debian 10 | | Ubuntu 14.04 and lower | | Ubuntu 16.04 | | Ubuntu 18.04 | | Ubuntu 20.04 | | Centos6 and lower | | Centos7 | | Centos8

  • Full support/tested
  • Requires additional packages
  • Doesn't work at all

Installation

  1. Download script_antistresser.sh
  2. Give +x permissions for bash script
  3. Start script

Installation in commands - 1 Step [wget/curl]

  1. curl -s https://raw.githubusercontent.com/Rezanans-wow/antiddos/main/script_antistresser.sh | bash

1.1 wget -qO - https://raw.githubusercontent.com/Rezanans-wow/antiddos/main/script_antistresser.sh | bash

Installation in commands Classic

  1. (Can use curl, yum) wget https://raw.githubusercontent.com/Rezanans-wow/antiddos/main/script_antistresser.sh
  2. chmod +x script_antistresser.sh
  3. ./script_antistresser.sh

Installation if have issues

  1. Download safemode_antistresser.sh
  2. Give +x permissions for bash script
  3. Start script

Best work with CrowdSec

At the moment, this mini-script is not a way to protect against DDoS attacks. And only a way to block the "Bad" ASN providers, which are used by ip stressers

Bash Shell made-with-bash Maintenance Linux

Version: GitHub release

Hits


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Shell (232,179
Bash (6,994
Firewall (621
Ddos (302
Protection (230
Related Projects