pakogah
9th July 2008, 17:42
it happen lately these days, my user complain can't access his site, and when I check I can't also, tried ssh to server can't, but I can the server properly, no time out..
and then after I can login to server via ssh, I just stay there and doing netstat randomly while opening the site on my browser.. and when the time I can't access the site, I tried to check how many connection opened (netstat -an) it has slow response, and result were displayed later. and when the result came up, I found many connection thru port 80 from the same IP but already close_wait... (see below)
my question, am I being DDoS-ed?? if so how do I prevent it.
ps: I have installed Blockhost..
thank before.
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:66.249.70.92:55089 CLOSE_WAIT 15781/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:39846 CLOSE_WAIT 15782/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:66.249.70.92:39190 CLOSE_WAIT 15990/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:60557 CLOSE_WAIT 15786/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:46049 CLOSE_WAIT 15995/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:66.249.70.92:56390 CLOSE_WAIT 15992/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:48077 CLOSE_WAIT 6252/httpd
tcp 0 0 ::ffff:10.10.48.232:22 ::ffff:10.10.105.181:4480 ESTALISHED 18532/0
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:10.10.105.181:4517 CLOSE_WAIT 25432/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:52498 CLOSE_WAIT 15788/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:66.249.70.92:40852 CLOSE_WAIT 15994/httpd
tcp 0 0 ::ffff:10.10.48.232:80 ::ffff:10.10.105.181:4524 ESTALISHED 15783/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:10.10.105.181:4521 CLOSE_WAIT 15965/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:37391 CLOSE_WAIT 20978/httpd
tcp 0 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:40554 CLOSE_WAIT 15969/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:44626 CLOSE_WAIT 16006/httpd
tcp 279 0 ::ffff:10.10.48.232:80 ::ffff:66.249.70.92:58074 ESTALISHED -
and then after I can login to server via ssh, I just stay there and doing netstat randomly while opening the site on my browser.. and when the time I can't access the site, I tried to check how many connection opened (netstat -an) it has slow response, and result were displayed later. and when the result came up, I found many connection thru port 80 from the same IP but already close_wait... (see below)
my question, am I being DDoS-ed?? if so how do I prevent it.
ps: I have installed Blockhost..
thank before.
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:66.249.70.92:55089 CLOSE_WAIT 15781/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:39846 CLOSE_WAIT 15782/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:66.249.70.92:39190 CLOSE_WAIT 15990/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:60557 CLOSE_WAIT 15786/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:46049 CLOSE_WAIT 15995/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:66.249.70.92:56390 CLOSE_WAIT 15992/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:48077 CLOSE_WAIT 6252/httpd
tcp 0 0 ::ffff:10.10.48.232:22 ::ffff:10.10.105.181:4480 ESTALISHED 18532/0
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:10.10.105.181:4517 CLOSE_WAIT 25432/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:52498 CLOSE_WAIT 15788/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:66.249.70.92:40852 CLOSE_WAIT 15994/httpd
tcp 0 0 ::ffff:10.10.48.232:80 ::ffff:10.10.105.181:4524 ESTALISHED 15783/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:10.10.105.181:4521 CLOSE_WAIT 15965/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:37391 CLOSE_WAIT 20978/httpd
tcp 0 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:40554 CLOSE_WAIT 15969/httpd
tcp 1 0 ::ffff:10.10.48.232:80 ::ffff:74.6.8.106:44626 CLOSE_WAIT 16006/httpd
tcp 279 0 ::ffff:10.10.48.232:80 ::ffff:66.249.70.92:58074 ESTALISHED -