Hi guys, im new here many people recommended this forum to me. I am a newbie on linux and its management, im learning. I have a server and i think that my server is under Ddos attack. i see that server is not having much load and only few process runs but my site opens very slow. i executed the following command on my ssh: netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n | tail and as i result i got following output: root@server [~]# netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n | tail 4 110.225.237.32 4 203.88.10.130 4 27.248.94.106 6 182.156.5.157 7 203.88.11.129 8 182.16.156.122 9 10 117.206.66.79 12 64.255.180.229 28 0.0.0.0 root@server [~]# Code (markup): please tell me if these IPs are doing any kind of attacks.. also tell me what steps should i take to stop Ddos on my server.
thanks for replying. my server is not slow but the site opens slow. also my load average is below 0.2. this server is not doing anything only hosting a few small sites. site opens slow, but when i reboot the httpd it starts to load instantly for 5 mins then after that it starts to load slow. damn slow. any ideas. and how can i optimise my server. please help me DP members.
Its a dedicated server with follwing cpu specs: Core2Quad 9300 1TB SATA HDD 8GB DDR2 RAM apache 2.2+ cpanel/WHM + mysql + php
You've not provided too many details about your site, but if it is database driven, you may want to just call a image directly: http://www.domain.com/image.jpng Put in your domain and an image of course. This will see how quickly your site loads static content. If it is fast, then perhaps your web application has an issue. You can then put up a php info page with: (? phpinfo() ?> Code (markup): And call that page. If that loads quickly, then it is not likely in your apache/php configuration but a application specific problem. Without looking at your logs and setup, I really cannot provide many more pointers, but in a DOS attack, you will see many more network connections (100's or 1000's).