• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Anti-DDoS [Apache]

ragal

Member
Joined
Nov 29, 2007
Messages
735
Reaction score
19
Location
Germany - Berlin
Now you to make your Apache 100% safe against DDoS-Attacks!

What This can Do?:

No DDos more and No Mass PINGS!!!!
#CONFIGURATION#

Step 1Download the dosevasive.rar

Step 2 Put the 2 Files (mod_dosevasive22.dll-mod_dosevasive22.c) in
Code:
\xampp\apache\modules\

Be sure u must first Close Apache when u doing THIS!!

Step 3 Open:
Code:
\xampp\apache\Conf\httpd.conf
With notepad


Step 4 Under
Code:
LoadModule autoindex_color_module modules/mod_autoindex_color.so

ADD:

Code:
LoadModule dosevasive22_module modules/mod_dosevasive22.dll
~~~~

At the bottom

under:
Code:
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

ADD:

Code:
<IfModule dosevasive22_module>

DOSHashTableSize 3097
DOSPageCount 20
DOSSiteCount 50
DOSPageInterval 1

DOSSiteInterval 1

DOSBlockingPeriod 300

</IfModule>


Code:
Credits by me


DOSHashTableSize 1024 = defines the hash table size
DOSPageCount 10 = define the number of requests for the same page
DOSSiteCount 150 = Set number of requests for any object by the same client,if the interval has been exceeded the client IP address is added to the blocking list.
DOSBlockingPeriod 600 = 10 minutes blocking if anyone DDoS

Step 5 Done!

I Prefer you to use this one:

<IfModule dosevasive22_module>

DOSHashTableSize 3097
DOSPageCount 20
DOSSiteCount 50
DOSPageInterval 1

DOSSiteInterval 1

DOSBlockingPeriod 300

</IfModule>




Rep++ ME!



100% by me
 

Attachments

Last edited:
im getting Access forbidden! when i click 2 times, whats the rpoblem?:S
Yea thats the Protection, u can set it in:

Code:
<IfModule dosevasive22_module>

[B]DOSHashTableSize[/B] 3097
[B]DOSPageCount[/B] 20
[B]DOSSiteCount[/B] 50
DOSPageInterval 1

DOSSiteInterval 1
[B]
DOSBlockingPeriod[/B] 300 = 5 Minutes

</IfModule>
 
How can i unblock localhost?

HElp me? how can i unblock localhost..
 
Last edited by a moderator:
This only prevent ddos against xampp, not the computer or server right?
 
This ddos protection sucks, you can click like 2 times then you get blocked... wtf man help us
 
Already use this module a few years ;)

PHP:
#Protection angaint DOS atacks
<IfModule dosevasive22_module>
    DOSHashTableSize        3097
    DOSPageCount            2
    DOSSiteCount            50
    DOSPageInterval         1
    DOSSiteInterval         1
    DOSBlockingPeriod       10
    DOSSystemCommand        none
    DOSWhitelist            none
</IfModule

PHP:
DOSWhitelist            localhost, 127.0.0.1
 
Back
Top