Server's getting attacked, httpd doesn't stop! (restarts itself after a few seconds)
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Server's getting attacked, httpd doesn't stop! (restarts itself after a few seconds)
Hello;
Something is attacking my server from httpd, 80 port. CPU was not overloaded while attacked, but always 500kbyte - 1mbyte per second data sent from server for hours.
When I entered "service httpd stop" console says stopped but after 20-30 seconds it starts again.
I'm using Centos 5, I also removed it from "setup - services" console menu.
But started again. I rebooted server, started again...
I don't know what's happening. I've renamed /usr/sbin/httpd to httpd2 and now it is not starting, finally.
But how can it be possible?
And I want to restart server but what should I do before restarting to prevent attack?
Last edited by Seregwethrin; 05-23-2009 at 09:51 PM.
If you have Cpanel installed on your server, it will restart httpd whenever it crashes.
I suspect other control panels will do too.
As for the attack, you can ask the host of your server to protect you against DDOS attacks, or you could do it yourself if you know how to configure iptables.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.