Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having a self hosted game server hosted on google cloud using Ubuntu 14.04 everything was working fine but since last week a "Dos" attempt is made on gameserver or might be on VPS during which the cpu usage jumps to 100% and I see the rise in cpu usage due to the process "ksoftirq" also the ssh becomes unresponsive and server too. After 2-3 minutes or after restarting the server everything goes to normal. I can say its a DoS attempt because in google cloud monitoring I see rise in Incoming packets. I have upgraded the CPU to dual core and also RAM to 2 Gb but the issue cannot be solved. Tell me how can this dos attempt can be mitigated using Iptables or and script or how can I log the attackers IP to block it from panel.
Last edited by dexter2486; 06-24-2018 at 06:40 AM.
There's not much you can do to prevent others from launching a DDoS attack at your server. Nevertheless, a web search for "mitigate ddos attack" will turn up a number of articles that you should find useful.
The main thing that people generally fail to consider is that dealing with DDoS attacks on server "Oh, I've an IPTABLES firewall" is generally not particularly effective. If the connections are being made to the point that your on-server firewall is having to deal with it then your connection is likely to be swamped anyway.
External traffic filtering DDoS mitigation is highly effective and can generally handle pretty much any size of attack.
Having used Incapsula at a previous job I can recommend them and their mitigation is easy to implement.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.