4
Hello,
I have a server that is suffering DOS attack, I used the command:
watch -n1 'attackers'
in SSH to see the attacks. Basically it has an IP that makes some 380 connections, and makes the server fall in a few minutes.
I block the IP through the firewall, but it’s 30 minutes later and the funny boy changes his IP address and does the process again.
This has been going on for 5 days, and the Host support team can’t find a way.
I put my server sites on Cloudflare, but it didn’t even stop. I was told that it is a DDOS Layer 7..
Every time I get on the stand, I get a different way or they need time to do something there.
Someone has already gone through this and want to suggest some possible solution? I’m considering changing HOST.. But if I can do something better and avoid less hassle.
The server is LINUX. And the company I work for is Hostgator. Dedicated Pro.
Yes, and there are several ways to protect yourself. One of them is by configuring the WAF AWS in Cloudfront. This is something I also need to do on a site here.... to studying. But it is possible to do via application a control of requests.
– Karl Zillner
sorry, I thought Cloudfare was from Amazon.... you’re in an environment I don’t know
– Karl Zillner
Right friend. Thanks anyway for trying.
– Ale
Which http server are you using? Apache?
– Karl Zillner
Yes! It’s a Dedicated Pro plan from Hostgator, including great affection for the service.. I expected better support for the price. They serve well, but it’s that it takes 5 days to solve a DDOS problem that I believe even an 8-year-old learns and does is complicated, even more than it is in Layer 7, which I believe are server requests that are leaving the CPU 100% and dropping..
– Ale
quick way to solve, develop a shell script, which counts the amount of IP’s from the same source making attempts to access, for ips with large number of attempts apply a drop rule with iptables, put your script in crontab to run every 1 minute...
– ederwander
install and configure the fail2ban that tbm will help you
– ederwander
Hello, @ederwander , if you need me to do that too. I’ll do what my friend Karl recommended, then I can measure what has been effective, right? Thanks too. And by the visa will close my topic. (, part.
– Ale