Bonum Certa Men Certa

How We Defeated DDoS Attacks

posted by Roy Schestowitz on May 19, 2025,
updated May 19, 2025

Parking violation offender booted

One of the main reasons we went static 3 years ago, starting with Tux Machines, was the DDoS attacks it had long been subjected to by bots misusing the back end and overwhelming the database. We needed to write and run programs to mitigate, as manual intervention was not possible while sleeping or away from home. I remember having to leave the gym early and literally run home to 'fix' Tux Machines. Those were unpleasant times. Then there's the recovery effort, which sometimes meant working overnight to re-add pages.

I sacrificed my health to keep Tux Machines online. This went on for about 5 years.

The moment Tux Machines was purely (also old pages) on the Static Site Generator (SSG) these issues were resolved overnight. Tux Machines has since then been working OK about 99.99% of the time (reboots don't take long).

That site is very active and adding new pages doesn't take as long as before (with Drupal everything was slow and felt 'heavy').

Yesterday we saw this BSD site stating: "The amount of bot traffic has increased significantly, I assume to find content for AI, and ignoring robots.txt and copyright. I don't think people realize the scale of this. Its causing a denial of service attack in server resources and developer time."

Identifying rogue bots isn't easy. It's possible, but it takes a lot of effort. It's a moving target.

One of the best things one can do is migrate to an SSG.

Update: Hours ago Mageia reported experiencing the same issues:

An avalanche of AI bots is repeatedly taking parts of our website down

We have always had bots visiting our website. They were mostly kind bots, like the crawlers that keep the databases of search engines up-to-date. Those kind bots start by looking at our robots.txt files before doing anything, and respect the restrictions that are set in those files.

However, things have changed. Like other websites, for instance Wikipedia, we are more and more being visited by AI scrapers, bots that scrape the Internet for anything they can find to train AI applications. They are usually extremely hungry for information, so they download much, much more than an ordinary user would do. Moreover, many of them are impolite: they don’t respect the rules set in our robots.txt files, they hide who they really are, they don’t put a little pause in between requests – on the contrary, they hammer our servers with requests from lots and lots of different IP addresses at the same time. The result is that parts of mageia.org, like our Bugzilla, Wiki and Forums, become unreachable.

Other Recent Techrights' Posts

Corporate Media: Blame the People Who Enter the Abandoned IBM Buildings, Not IBM for Abandoning Workers in Pursuit of IT Sweatshops
When the media spreads falsehoods stocks can go up (a lot higher), but at whose expense and how long for?
SUEPO Munich Report on the Recent EPO Demonstration and Rolling Strikes That Continue to Grow
"increasing registrations for the 'rolling strikes' running until autumn"
Gemini Links 11/07/2026: Old Computer challenge, Poems, Antenna, and More
Links for the day
 
Increasing Output by Focusing on Originals
It's probably more important to carry on with these than it is to keep abreast of non-crucial news
Amid Strikes and Industrial Actions, Young Professionals at the European Patent Office (EPO) Kept on 'Short Leash', According to the Local Staff Committee The Hague
Issues affecting Young Professionals
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, July 11, 2026
IRC logs for Saturday, July 11, 2026
Blogs May be Making a Comeback (They're Not Fediverse, They Are Joined by RSS Feeds)
Don't fake expansion where none existed
ChromeOS and GNU/Linux in the United Kingdom Reach 11%
the UK shows signs of digital maturity
Canonical is Selling Microsoft, It Pays The Register MS to Sell Microsoft
It's all about money to them. And they call this journalism.
When Red Hat's HR Becomes the Same as IBM's HR (Bluewashing)
Red Hat keeps sacking very experienced engineers and adding temporary interns
GNU/Linux Growing in East Asia
Assuming this is more or less accurate, we could use a plausible explanation
Over a Week After Microsoft Discontinued Some XBox Models It Apparently Exits Some Markets Altogether
We seem to be witnessing the end of XBox
Links 11/07/2026: "Trademark wars of Influencer Culture", Xinuos Uses Copyrights Versus UNIX
Links for the day
North America: GNU/Linux Measured at 10%
To better understand what contributes to the gains
Following Corrections and Adjustments statCounter Sees GNU/Linux at 7.1%, an All-Time High
There is a lot of layoffs at Microsoft this month
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, July 10, 2026
IRC logs for Friday, July 10, 2026
Links 11/07/2026: Wednesday-Saturday News Catch-up
Links for the day
Prioritising High-Importance News
In order to fully catch up with news we'll not publish many new articles until next week
The Register MS: "AI" More Than 80 Times in One Article. But It's Not an Article, It's Sponsored Keyword-stuffed Page.
The Register MS is being paid to actively promoted this scheme
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, July 09, 2026
IRC logs for Thursday, July 09, 2026
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, July 08, 2026
IRC logs for Wednesday, July 08, 2026