Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Tutorials
[How To] Securely setup Xampp
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JayC" data-source="post: 314426" data-attributes="member: 36373"><p>Sorry you don't believe this is the best tutorial. I also found this to help secure your Apache:</p><p>There is an Apache module that was created to prevent a DDoS attack, although it's probably not installed by default. Follow these steps to install the module.</p><p></p><p>1. Open your terminal window.</p><p></p><p>2. Issue the command <em>sudo apt-get -y install libapache2-mod-evasive</em>.</p><p></p><p>3. Issue the command <em>sudo mkdir -p /var/log/apache2/evasive</em>.</p><p></p><p>4. Issue the command <em>sudo chown -R www-data:root /var/log/apache2/evasive</em>.</p><p></p><p>5. Open the /etc/apache2/mods-available/mod-evasive.load file (using sudo and your favorite text editor) and append the following to the bottom of that file (this is one configuration per line):</p><p></p><p></p><p></p><p>DOSHashTableSize 2048</p><p>DOSPageCount 20 # maximum number of requests for the same page</p><p>DOSSiteCount 300 # total number of requests for any object by the same client IP on the same listener</p><p>DOSPageInterval 1.0 # interval for the page count threshold</p><p>DOSSiteInterval 1.0 # interval for the site count threshold</p><p>DOSBlockingPeriod 10.0 # time that a client IP will be blocked for</p><p>DOSLogDir “/var/log/apache2/evasive”</p><p>DOSEmailNotify <a href="mailto:admin@domain.com">admin@domain.com</a></p><p></p><p></p><p>6. Save the file and restart Apache.</p><p></p><p>You should now be better protected from DDoS attacks.</p></blockquote><p></p>
[QUOTE="JayC, post: 314426, member: 36373"] Sorry you don't believe this is the best tutorial. I also found this to help secure your Apache: There is an Apache module that was created to prevent a DDoS attack, although it's probably not installed by default. Follow these steps to install the module. 1. Open your terminal window. 2. Issue the command [I]sudo apt-get -y install libapache2-mod-evasive[/I]. 3. Issue the command [I]sudo mkdir -p /var/log/apache2/evasive[/I]. 4. Issue the command [I]sudo chown -R www-data:root /var/log/apache2/evasive[/I]. 5. Open the /etc/apache2/mods-available/mod-evasive.load file (using sudo and your favorite text editor) and append the following to the bottom of that file (this is one configuration per line): DOSHashTableSize 2048 DOSPageCount 20 # maximum number of requests for the same page DOSSiteCount 300 # total number of requests for any object by the same client IP on the same listener DOSPageInterval 1.0 # interval for the page count threshold DOSSiteInterval 1.0 # interval for the site count threshold DOSBlockingPeriod 10.0 # time that a client IP will be blocked for DOSLogDir “/var/log/apache2/evasive” DOSEmailNotify [email]admin@domain.com[/email] 6. Save the file and restart Apache. You should now be better protected from DDoS attacks. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
[How To] Securely setup Xampp
Top