Jump to content

Prevent and Stop DoS or DDoS Attacks on Web Server (D)DOS-Deflate


Zake

Recommended Posts

All web servers been connected to the Internet subjected to DoS (Denial of Service) or DDoS (Distrubuted Denial of Service) attacks in some kind or another, where hackers or attackers launch large amount connections consistently and persistently to the server, and in advanced stage, distributed from multiple IP addresses or sources, in the hope to bring down the server or use up all network bandwidth and system resources to deny web pages serving or website not responding to legitimate visitors.

 

There are plenty of ways to prevent, stop, fight and kill off DDoS attack, such as using firewall. A low cost, and probably free method is by using software based firewall or filtering service. (D)DoS-Deflate is a free open source Unix/Linux script by MediaLayer that automatically mitigate (D)DoS attacks. It claims to be the best, free, open source solution to protect servers against some of the most excruciating DDoS attacks.

 

(D)DoS-Deflate script basically monitors and tracks the IP addresses are sending and establishing large amount of TCP network connections such as mass emailing, DoS pings, HTTP requests) by using “netstat” command, which is the symptom of a denial of service attack. When it detects number of connections from a single node that exceeds certain preset limit, the script will automatically uses APF or IPTABLES to ban and block the IPs. Depending on the configuration, the banned IP addresses would be unbanned using APF or IPTABLES (only works on APF v 0.96 or better).

 

Installation and setup of (D)DOS-Deflate on the server is extremely easy. Simply login as root by open SSH secure shell access to the server, and run the the following commands one by one:

 

wget http://www.inetbase.com/scripts/ddos/install.sh

chmod 0700 install.sh

./install.sh

 

To uninstall the (D)DOS-Deflate, run the following commands one by one instead:

 

wget http://www.inetbase.com/scripts/ddos/uninstall.ddos

chmod 0700 uninstall.ddos

./uninstall.ddos

 

The configuration file for (D)DOS-Deflate is ddos.conf, and by default it will have the following values:

 

FREQ=1

NO_OF_CONNECTIONS=50

APF_BAN=1

KILL=1

EMAIL_TO=”root”

BAN_PERIOD=600

 

Users can change any of these settings to suit the different need or usage pattern of different servers. It’s also possible to whitelist and permanently unblock (never ban) IP addresses by listing them in /usr/local/ddos/ignore.ip.list file. If you plan to execute and run the script interactively, users can set KILL=0 so that any bad IPs detected are not banned.

Link to comment
Share on other sites

It is addressed to Linux operating systems.

ofc .. because of .SH link ..

 

btw .. this really looks nice, and you just say for WEB SERVER .. couldn't be used on dedicated servers ?

Link to comment
Share on other sites

its only for web server?? or i can do it and for dedicate servers? tell me..

I didn't check this, its tested on webservers for sure, give it a try on a dedicate one, then post here.

Also something is missing, its tested only in Linux[more specificly in Ubuntu 10.10 (Maverick Meerkat)]  i don't know about windows or any other os.

Link to comment
Share on other sites

I didn't check this, its tested on webservers for sure, give it a try on a dedicate one, then post here.

Also something is missing, its tested only in Linux[more specificly in Ubuntu 10.10 (Maverick Meerkat)]  i don't know about windows or any other os.

ok thanks for the informations.. i will test it and i will give a feedback.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • CLIENT: CLASSIC INTERLUDE - P110  Gameplay   "Unleash Your Potential"     • Birth Of A New Character A new character spawns in the basement of Ivory Tower and starts with full NO Grade gear and a newbie supply box. There, you can buff yourself via AIO buffer and then teleport to a low level zone for xp. • AIO NPC Buffer There are AIO npc Buffers spawned in every town. The buffs’ duration is 1hour and are free of charge. The only buffs that are not included in the list are summoner’s buffs, third class dances, third class songs, Noblesse Blessing and resists. • Class Transfer When you hit level 20, 40 and 76, you can seek for the Class Changer Carola in Aden or Castle Town in order to perform your 1st , 2nd and 3rd class change. There are no further quests required. • Boosted Buffers & Summoners In order to boost Prophets, Bladedancers and Swordsingers for PvP action and Olympiad games, they have been given special self-buffs. All of these classes are gifted with higher level buffs which they can be casted on themselves only. Also, summoner classes are boosted since they can buff their pets with more than usual servitor’s buffs. Server Rates   "Balanced Progression"   Experience: x45 Skill Points: x45 Adena: x1 Drop: x1 Spoil: x1 Quest: x1 Enchant Rates   "Fortune and Power"   Safe Enchant: +3 Max Enchant: +21 Normal Scroll: 70% Blessed Scroll: 70% Refine   "Perfect Your Gear"   • Refining S grade Armors / Jewels Any S grade armor can be refined via Mantra Manager Wilbrand. S grade armors and Tateossian jewels start at 55% and they can both be upgraded all the way up to 100% in order to gain extra P.def or M.def. Once your armor reach 100%, you can transform it into Apella and gain extra stats (Jewels cannot be further refined). In addition, Apella armors start at 55% and can be upgraded up to 100% too. Then, you can transform your Apella into Dynasty Armor (which can also be refined up to 100%). • Refining Epic Jewels (Core and Orfen) There is an option to refine Ring of Core and Earring of Orfen via Mantra Manager Wilbert. If you have two Rings of Core, you can combine them and receive an Enchanted Ring of Core. Then, you can combine two Enchanted Rings of Core in order to create a Refined Ring of Core (4 Rings of Core in total). The same procedure can be applied to Earring of Orfen, in order to create Enchanted Earring of Orfen or Refined Earring of Orfen. In this case, the enchantment of the ring/earring will be reset, so do not enchant those epic jewels before refining. Weapons & Shields   "Arsenal of Power" L2Halcyon weapons are S grade weapons with a unique SA. There are also three unique L2Halcyon shields. Both of them can be dropped only by Raid Bosses. Remember you can check the possible drops of any Raid Boss by pressing Shift+left click. Find bellow more details regarding L2Halcyon items. Duals: - Crokian blade*Crokian blade: Increases Critical Attack by 95 and Accuracy by 6 - Doll knife*Doll knife: Increases Atk. speed by 7% and Accuracy by 6 Swords: - Crokian Blade: Increases Atk. speed by 7% and Accuracy by 6 - Sword of Apostle: Increases Accuracy by 6 and maximum HP by 25% Mage Weapons: - Lady’s Fan: Increases Casting Spd. by 17.5% - Dusk Staff: Increases Casting Spd. by 17.5% - Dusk Sword: Increases M. Atk. by 15% Polearms: - Dreadbane: 360° hit rate, increases hit number from 4 to 8 and Accuracy by 6 - Axe of Ketra: Increases Accuracy by 6 and P. Atk. by 265 during a critical attack Daggers: - Doll Knife: Increases Critical Attack by 95 and P. Atk. by 265 during a critical attack - Giant Trident: Increases Evasion by 3 and P. Atk. by 265 during a critical attack 2-Handed Sword: - Sword of Vampire: Increases Critical Attack by 95 and maximum HP by 25% Blunt: - Cudgel: Increases Critical Attack by 95 and Atk. speed by 7% Bow: - Bow of Halisha: Increases Critical Attack by 95 and Accuracy by 6 Shields: - Shield of Reflect: Reflect magic debuffs and shield damage reflect - Shield of Evasion: No evasion penalty and Speed +7 - Dusk Shield: Bow resistance Ancient Weapons   "Relics of the Past" Ancient L2Halcyon weapons can be obtained by killing Raid Bosses and Grand B osses. Raidboss Jewels "Gems of Glory"   Necklace of Hekaton: MP +42 and +15% max CP Necklace of Brakki: MP +42 and +60% resistance to most of the debuffs Necklace of Naga: MP +42 and +15% max HP Ring of Horuth: MP +21 and +10% P.Def. Ring of Mos: MP +21 and +10% M.Def. Ring of Shadith: MP +31, +10% bow resistance and +7 speed Ring of Tayr: MP +21 and +100 Bow Range Earring of Garacsia: MP +31, +10% bow resistance and +7 speed Earring of Ipos: MP +31, +10% dagger resistance and +7 speed Earring of Kandra: MP +31, +20% wind resistance and +7 speed Earring of Von Helman: MP +31, +20% dark resistance and +7 speed Earring of Vermilion: MP +31, +20% fire resistance and +7 speed Earring of Falston: MP +31, +20% water resistance and +7 speed   [Top Tier Armors are Dynasty (100%) , in case you got bored of it for some extra Enrias you can obtain Ancient Apella , has the exact same amounts just visually is changed.   [Events] Good vs Evil TvT Siege TvT Squash Watermelon Unbearable Heat Dark Invasion Hight Rate   ** ALL EVENTS ARE AUTO**     Grand Opening Date: 21 December 2024, 19:00 GMT +2 Website <-   Discord <-
    • Hello! Sorry for the wait, delivered the code in DM!
    • Hello I had an invitation problem. works again discord : https://discord.gg/EXhScSUG3h
    • hahaha you are big mate !!! 😄 i really appriciate 
  • Topics

×
×
  • Create New...