LinuxQuestions.org
Visit Jeremy's Blog.
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 04-06-2008, 06:02 AM   #1
Lord Matt
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Rep: Reputation: 0
Arrow http spammer causing DDoS via Proxies resulting in dead server ... CLOSE_WAIT etc


What seems to be killing me is the number of child processes in such statuses as LAST_ACK, CLOSE_WAIT and TIME_WAIT - I need to be able to recycle those resources faster to keep up with the spammers resource sucking.

I've only been learning about these things these last few days (3 day DDoS from http comment/trackback spam on a dedicated server) and while I am unsure what LAST_ACK might be the huge number of CLOSE_WAIT from those proxy connections is choking the server.

Is there anything I can do about this?
 
Old 04-08-2008, 08:57 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Lord Matt View Post
What seems to be killing me is the number of child processes in such statuses as LAST_ACK, CLOSE_WAIT and TIME_WAIT
Search LQ, there's some threads about .*_WAIT state problems that talk about lowering values in net.ipv4.netfilter.ip_conntrack_tcp_timeout_* and net.ipv4.tcp_* sysctls, httpd.conf tuning and iptables modules. However most of it deals with remedying symptoms, not the cause.


Quote:
Originally Posted by Lord Matt View Post
I've only been learning about these things these last few days (3 day DDoS from http comment/trackback spam on a dedicated server)
Maybe it goes against your idea of what the 'net should provide (and captcha-reading bots could work around this) but maybe start by stopping the cause? Like denying anonymous commenting?
 
  


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
spammer on my mail server ckob Linux - Server 23 11-28-2007 03:51 PM
monodoc-http gives a http 500 internal server error ernesto_cgf Linux - Software 0 05-10-2007 03:48 PM
DDoS trough a VerliHub bug, apache is dead c00kie Linux - Security 46 04-10-2007 05:42 AM
Problems with Skype and ISA HTTP proxies TheOneKEA Linux - Software 1 08-30-2006 11:42 AM

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

All times are GMT -5. The time now is 08:31 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