Andhramania Forum

Andhramania Forum
It is currently Sun May 24, 2015 8:40 pm

All times are UTC + 5:30 hours


Error: Embedded data could not be displayed. 1 2 3 4


Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Prevent DOS Attack by CSF Firewall
PostPosted: Fri Nov 12, 2010 12:28 am 
User avatar

Joined: Wed Dec 30, 2009 10:24 am
Posts: 44550
This is pretty cool

Step 1 : Open the CSF configuration file /etc/csf/csf.conf

Step 2 : In that search for option called CT_LIMIT, by default it will be like CT_LIMIT=0 , change this to CT_LIMIT=90 ,here 90 is the max no.of connections from an IP to your server ( choose this value according to your server usage )

Step 3: Now search for option called CT_PORTS.This option is used to specify the port for which you want prevent DOS attack.Since our aim is to prevent the DOS attck to apache – port 80 , change CT_PORTS = “” to CT_PORTS = “80″

---------------------------------------------------

Prevent DDOS Attack

(D)DoS-Deflate script monitors and tracks the IP addresses that are sending and establishing large amount of TCP network connections. When it detects number of connections from a single IP that exceeds certain preset limit, the script automatically uses APF or IPTABLES to ban and block the IPs.

Installation:






Code



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


UnInstall:






Code



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


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Related topics
 Topics   Author   Replies   Views   Last post 
No new posts How to prevent your PEN drive from VIRUS

JamalaReddy

0

554

Sat Jan 30, 2010 6:05 am

JamalaReddy View the latest post

No new posts How to prevent your PEN drive from VIRUS

ShalzShalini

0

451

Mon Feb 01, 2010 1:42 pm

ShalzShalini View the latest post

No new posts How to prevent your pen drive from getting infected with Virus ?

GoudGr8inworld

0

483

Sat Jan 30, 2010 6:05 am

GoudGr8inworld View the latest post

No new posts Ddos attack

NandamuriNataSimham

0

652

Thu Jul 29, 2010 12:23 am

NandamuriNataSimham View the latest post

No new posts Hack Attack : Install Leopard On your PC in Just One Step

JamalaReddy

0

722

Mon Feb 01, 2010 7:44 pm

JamalaReddy View the latest post

 


All times are UTC + 5:30 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO
Not able to open ./cache/data_global.php