Code Monkey home page Code Monkey logo

anti-ddos's Introduction

Anti DDOS | BASH SCRIPT

anti-ddos bash-language

Programming Languages :

  • BASH

System :

Explanation :

Anti-DDOS project is an open source software project developed to protect against DOS and DDoS attacks. The project was written using bash programming language. By writing iptables rules into the Linux operating system. Takes the necessary defense configurations. And it only works on the linux operating system (or see Windows Installation for Windows). 100% compatible for Linux operating systems. It does not provide 100% security, it will only help you to take the necessary measures.

How to use ?

You need to set the config file according to your system architecture.

Windows Installation

This requires MSYS2 (winget install msys2).

msys2
git clone https://github.com/anti-ddos/Anti-DDOS
cd ~/Anti-DDOS
bash ./anti-ddos.sh

RUN

root@ismailtasdelen:~# bash ./anti-ddos.sh

Cloning an Existing Repository ( Clone with HTTPS )

root@ismailtasdelen:~# git clone https://github.com/ismailtasdelen/Anti-DDOS.git

Cloning an Existing Repository ( Clone with SSH )

root@ismailtasdelen:~# git clone [email protected]:ismailtasdelen/Anti-DDOS.git

About DOS and DDOS :

Published Website :

Contact :

anti-ddos's People

Contributors

hellresistor avatar rickbot-dot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anti-ddos's Issues

cannot connect to FTP / SSH

Hey! After running the shell, I cannot connect to SSH / FTP anymore. How can I accept connections again to my SSH / FTP?

Works a little too well

I have a reaspi4 running a sauerbraten server. People ddos from time to time so I thought I would give this script a go. I have the rpi set up with xdrp, see. As soon as I launched it, it closed the connection and won't let me reconnect. It also stopped the server it was running. How can I fix this?

Question regard rules!

Hi there!

The question is: If I have in other file some iptables rules running like open some port or permit just one IP to connect, etc, When I start this script, it will overlap my others rules? Or need I concat both?

Thanks.

PERMISSION DENIED

AFTER EXECUTING THE SCRIPT EVEN AS SUDO IT TELLS ME PERMISSION DENIED.

Wrong shebang in the anti-ddos.sh

In the README you declare that it is written in bash and you also suggest to run it as bash anti-ddos.sh. However, the script itself declare that it is a sh script (which will be executed by /bin/sh instead of /bin/bash). You should correct the shebang from #!/bin/sh to #!/bin/bash)

how to fix it

#bash ./anti-ddos.sh
./anti-ddos.sh: line 79: /proc/sys/net/ipv4/conf/all/mc_forwarding: Permission denied
./anti-ddos.sh: line 79: /proc/sys/net/ipv4/conf/default/mc_forwarding: Permission denied
./anti-ddos.sh: line 79: /proc/sys/net/ipv4/conf/eth0/mc_forwarding: Permission denied
./anti-ddos.sh: line 79: /proc/sys/net/ipv4/conf/lo/mc_forwarding: Permission denied

Stop it

How can i stop this ? Help me plz

[Enhancement] Add Shellcheck

Shellcheck is static analysis tool that could be used to avoir errors and improve the script overall.

Would that be something you would like for your project ?

Blocking IPV6?

Perhaps I'm confused, but how does this prevent protect against a denial of service attack?

Permission denied

I gave it execution permissions through chmod, and also using sudo. What else can I do?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.