{"id":19922670,"url":"https://github.com/lasvegascoder/anti-ddos-script","last_synced_at":"2025-05-03T07:30:51.301Z","repository":{"id":141255341,"uuid":"98830648","full_name":"LasVegasCoder/Anti-DDOS-Script","owner":"LasVegasCoder","description":"Anti DDOS Protection that will stop DDOS from taking down your Linux Server","archived":false,"fork":false,"pushed_at":"2020-03-19T12:23:33.000Z","size":19,"stargazers_count":73,"open_issues_count":0,"forks_count":38,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-07T13:05:25.764Z","etag":null,"topics":["anti","anti-ddos","anti-ddos-protection","anti-ddos-script","ddos","ddos-protection","firewall","firewall-configuration","firewall-management","firewall-rule","firewall-rules","firewall-script","firewall-template","firewalls","protection","webserver"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LasVegasCoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-30T23:27:27.000Z","updated_at":"2025-03-03T03:36:35.000Z","dependencies_parsed_at":"2024-06-14T16:03:37.211Z","dependency_job_id":null,"html_url":"https://github.com/LasVegasCoder/Anti-DDOS-Script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasVegasCoder%2FAnti-DDOS-Script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasVegasCoder%2FAnti-DDOS-Script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasVegasCoder%2FAnti-DDOS-Script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasVegasCoder%2FAnti-DDOS-Script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LasVegasCoder","download_url":"https://codeload.github.com/LasVegasCoder/Anti-DDOS-Script/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252156769,"owners_count":21703348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anti","anti-ddos","anti-ddos-protection","anti-ddos-script","ddos","ddos-protection","firewall","firewall-configuration","firewall-management","firewall-rule","firewall-rules","firewall-script","firewall-template","firewalls","protection","webserver"],"created_at":"2024-11-12T22:11:51.001Z","updated_at":"2025-05-03T07:30:51.295Z","avatar_url":"https://github.com/LasVegasCoder.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/292a5c16020747c89409ab06af1f48d0)](https://app.codacy.com/manual/LasVegasCoder/Anti-DDOS-Script?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=LasVegasCoder/Anti-DDOS-Script\u0026utm_campaign=Badge_Grade_Dashboard)\n\nFirewall and Network Monitoring script handy for both beginners and advanced Network Engineer\n\n\tSimple Anti DDOS Bash Script\n\tThis scrip provide basic protection for server unix/linux server or devices.\n\t\nLet me demonstrate a basic protection usage:\n\t\n\tOnly port 80, 443 are allowed by default to your server, \n\tthis allows web traffic to reach your server on both port 80(http) or 443(https)\n\t\n\tManagement port 2200 is whitelisted and allowed connection to the server, for managing purpose.\n\t\n\tAll other connection are blocked.  \n\t\n\tThis also make you invincible to many script kiddies, since your server will not respond to\n\tany ping from outsite the world.\n\t\nStep #1 Download Simple-Anti-DDOS to your system.\n\t\n\twget https://raw.githubusercontent.com/LasVegasCoder/Anti-DDOS-Script/master/Simple-Anti-DDOS.sh\n\t\nStep #2 Make it executable\n\tchmod +x Simple-Anti-DDOS.sh\n\t\n\tchmod +x Simple-Anti-DDOS.sh\n\t\nStep #3 Run it\n\t./Simple-Anti-DDOS.sh\n\t\n\t./Simple-Anti-DDOS.sh\n\tYou're protected!\n\t\n\t\nTry to ping your server from another computer.\nping domain.com\n\t\n\tYou will get 'Request timed out.'\n\t\n\t\n\tAdvance Anti DDOS Protection Script\n\tThis Advanced Anti DDOS Protection script provide more protections than basic.  \n\tSome filtering were added to provide more protection for attacks that basic protection may\n\tnot have missed.\n\t\n\tReplace the WAN and LAN infterface with your interface name if not the same.\n\t\nStep #1 Download Simple-Anti-DDOS to your system.\n\t\n\twget https://github.com/LasVegasCoder/Anti-DDOS-Script/blob/master/advanced-anti-ddos.sh\n\t\nStep #2 Make it executable\n\tchmod +x advanced-anti-ddos.sh\n\t\nStep #3 Run it.\n\t./advanced-anti-ddos.sh\n\t\n\tYou're protected!\t\n\t\n\t\n\tPrince Server Guard script is a private script written not only protect server, but to also\n\tlog each predefined attempt and labeled them such as SYN-FLOOD, SPAMMER, HACKER, SCRIPTER.\n\tThis way it bans SPAMMER, HACKER on auto by add their IP to the BLOCKED-DATA.\n\t\n\tIt also update the BLOCKED-DATA by downloading BLACKLIST ip address from spamhaus and \n\tadds it to the local BLOCKED-DATA.  This way if any IP is black listed, it will be blocked on my system.\n\t\nStep #1 Download Prince Guard Script to your system.\n\t\n\twget https://github.com/LasVegasCoder/Anti-DDOS-Script/blob/master/prince-server-guard.ipt\n\t\nStep #2 Make it executable\n\tchmod +x prince-server-guard.ipt\n\t\nStep #3 Run it.\n\t./prince-server-guard.ipt\n\t\n\tYou're protected!\n\nIf you want to undo to the previous firewall rule before this was executed.\t\nThere is a back up of your current firewall rule (if any) located where this\nwas executed.\n\ncurrent-firewall-backup-of-2017-10-10.log #dated file.\n\nRestore with :\n\tiptables-restore \u003c current-firewall-backup-of-2017-10-10.log\n\t\n\tAnd you are back to previous security.\n\n\nNOTE: The script requires root privileges to run smoothly, thus do:\n\n\tuser@hostname# sudo -i \t\n\tPassword: \n\troot@hostname# \t\n\n\nShowIT display data in ASCII as it moves accross your network.\n\n\tShowIT display data in ASCII as it moves accross your network.   \n\tUse this script ONLY on network that you own, or with permission from owner for troubleshooting purposes.\n\t\n\tThis script will display both non vital and vital inforamtion as on your network in realtime.\n\t\n\tInformation such as USERNAME, PASSWORD and other is displayed on your console \n\tas users types in from their devices \n\t\n\tStep #1 Download Prince Guard Script to your system.\n\t\t\n\twget hhttps://raw.githubusercontent.com/LasVegasCoder/Anti-DDOS-Script/master/showit\n\t\n\tStep #2 Make it executable\n\t\tchmod +x showit\n\t\t\n\tStep #3 Run it.\n\t\t./showit\n\t\t\n\tWATCH DATA DISPLAYING ON YOUR CONSOLE!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasvegascoder%2Fanti-ddos-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flasvegascoder%2Fanti-ddos-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasvegascoder%2Fanti-ddos-script/lists"}