I staged a DDoS on mysql?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/code-flow.club/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
8 views
Hello.
Sharply increased load, although online permanent not so big. But then immediately began to rise. Screenshots.

5c027884d6eb7595670122.png5c0278ef806d7235852712.png

Is there any way via console to check the number of connections and requests in real time? And how to eliminate DDoS?
by | 8 views

5 Answers

0 like 0 dislike
Themselves could it hold ?
Check if 404 error You have such a database query is not generated ?
by
0 like 0 dislike
View using mytop
by
0 like 0 dislike
You can Telegraph to throw in influxdb - tincture in 5 minutes. And there dashboards in graphane draw. Of course it is better to do before the load is rolled. Probably just changed the ratio of insert select and the cache became ineffective, or index somewhere in there, where were often requests to go (the plan is necessary to look).
by
0 like 0 dislike
...
netstat -planet |grep ESTAB | grep 3306 | wc-l

Look at the connections.
Then watch zaprositi in the database
Then stick in a firewall and blokish everything except the desired port.
See logs - there is one way or another it will be seen that as a Yes.
Well, it is - blokish the database connections from a certain host. all.
If you want to play with the firewall - fail2ban - smoke this way.
Load growth is not always associated with DDoS, MB disks degraded, or somewhere that neopilina.. well this is the place to check)
by
0 like 0 dislike
Obviously the hole you have somewhere access to the base has received and requests throw. The web site is? Seen on lines that the game server.Then you will not understand. You need to watch all of the connection strings to the database from outside and how it is implemented.
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
4 answers
0 like 0 dislike
4 answers
0 like 0 dislike
4 answers
0 like 0 dislike
4 answers
110,608 questions
257,186 answers
0 comments
24,781 users