LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-04-2005, 08:12 AM   #1
htmlcoder
LQ Newbie
 
Registered: Feb 2005
Posts: 9

Rep: Reputation: 0
Useful commands to detect a flood or DOS?


Hi:
For the linux gurus here, just wondering, what are some useful commands to detect in real time a possible mini Apache flood or DOS? I see big bandwidth spikes at times throughout the day. One useful command I type is:

netstat -apn|grep :80|awk '{print $5}'|sort

to see the # of connections open by a particular IP. Any other useful commands? Thanks,
 
Old 03-04-2005, 08:54 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
You could use a iptables logging rule to notify you when a certain threshold rate of incoming packets or new connections is reached. You might also want to checkout something like mod_dosevasive.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is dos ?and how to detect ?and avoid ? my-unix-dream Linux - Security 2 06-09-2005 02:50 AM
Dos Commands under linux? Radiomaan Linux - General 7 02-17-2005 04:49 PM
Syn Flood Attack Detect synaptical Linux - Security 2 07-25-2004 01:48 PM
Nice: DOS commands equiv for Linux FireIsMyFlag Linux - Newbie 3 06-18-2003 07:52 PM
linux <> dos commands? ReSync Linux - Newbie 4 06-21-2002 11:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration