January 4, 2020 in Technical Problems
A very simple attack happened the other day, thousands of "GET /search/?q=1" (or 2...9) requests from different IP, mysql reply "too many connections".
Do you want to return the minimum request length limit?
If you're using Elasticsearch, why did you end up with a MySQL "Too many connections" error exactly?
Yes, search result from elastic server, but all other data for page render from mysql.
It sounds like a general DOS/DDOS and your best bet would be to place a firewall in front of your site.
Come on, really?
*.*.*.* - [02/Jan/2020:21:12:36 +0100] "GET /search/?q=1 HTTP/1.1", 20-30 rps, attacks from thousands different IP's, сan you tell me rule for iptables?
I added a line and the attack stopped killing the server.
if (!\IPS\Member::loggedIn()->member_id AND \strlen(\IPS\Request::i()->q) <= 2 ) die();
This topic is now archived and is closed to further replies.
Started 2 hours ago
Started Yesterday at 01:29 AM
Started Wednesday at 05:56 PM