LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-16-2006, 06:31 PM   #1
felosi
LQ Newbie
 
Registered: Jan 2006
Location: USA
Distribution: CentOS for servers and Ubuntu for desktop
Posts: 25

Rep: Reputation: 15
Question Preventing Socket Floods


Ok, I have searched, I have tried all kinds of different things but I cannot prevent a simple lil socket flood on my debian server. I installed mod-evasive, didnt work. Installed apf and enabled the dos protection didnt work, seems to block syn floods only.
I am using apache 2 and now I wish I didnt go debian because the mod config is all different.
Does anyone know how I can simply prevent a user from connection over 35 socks to my server at a time? Or know of a way to run a cron to check netstat for an ip thats on there too much and write it to iptables. I have seen the netstat cron done before but never was able to get ahold of the script.
Im not having a problem with dos now but Im doing hosting and I know I will run into it sooner or later, Please help
Thanks
 
Old 05-17-2006, 04:03 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608
Have a look at Netfilter's iptables modules like limit, hashlimit or IP sets if there's something in it for you. Note the last two probably need a kernel and iptables rebuild because of their Patch-O-Matic status.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
My postfix box is sending UDP FLOODS! graystarr Linux - Security 1 02-22-2005 07:19 PM
how to protect from floods on port 80 (web)? NuLLiFiEd Linux - Security 3 08-18-2004 04:50 PM
Blocking TTY terminal text floods ??? khermans Linux - General 1 10-01-2003 07:12 AM
Blocking local TTY terminal text floods ??? khermans Linux - Security 6 10-01-2003 03:30 AM
Need help! Prism2 wireless card stops working, floods terminal with errors Electrode Linux - Wireless Networking 6 02-05-2003 10:37 PM

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

All times are GMT -5. The time now is 03:01 AM.

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