Tag Archives: linux server

Recommended Linux-server

Web Server Hack – How to Use DDoS Deflate to Protect Against DoS Flooding!

I have been using DDoS Deflate, which is a simple script that will automatically help you against DoS attacks on your server.  Basically it works by killing any HTTPD processes/banning IPs that reach more than set number of TCP connections.

It’s a great script since it’s free, simple, and works well against DoS attacks.  Yes, forget paying that extra hundred dollars to your server company, who’s going to probably install this script anyways.

The real gem of the DDoS Deflate script lies in configuration.  De

Click Here to Read Full Article

5 Comments

Web Server Hack – How To Auto Restart HTTPD service script!

Here’s a simple script I made up that will auto restart your HTTPD service if it reaches a high load.

The script will actually stop your HTTPD server when your load is higher than the maximum load settings and will re-start when the load is back to zero.

If you are on a server that’s overloaded, this script can help you “temporarily” get by instead of your web server dying and you manually rebooting your web server.

There’s also an extra “mail” feature that will email you whenever the server is stopped or restarted. (Code after

Click Here to Read Full Article

10 Comments

Linux Server Hack – How to setup a Shell Script to Auto Restart Apache Httpd Server!

Well, I have been struggling with one of my dedicated servers and just found this cool script that will auto-restart the Apache httpd server if it goes out.

Save the following as restart.sh:

#!/bin/bash # Apache Process Monitor # Restart Apache Web Server When It Goes Down # ------------------------------------------------------------------------- # Copyright (c) 2003 nixCraft project <http://cyberciti.biz/fb/> # This script is licensed under GNU GPL version 2.0 or above # ------------------------------------------------------------------------- # This script is par

Click Here to Read Full Article

Leave a comment