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

The Old Ways of Computing Were Objectively Better
Not as fast, but certainly much better
 
Pursuing Facts in an Age of Lies and 'Hallucinations' (Falsehoods Without Anyone Accountable, They Try Calling Computer-Generated Lies or Forgeries "Intelligence").
Our aim is to relay information while bypassing gossip networks like social control media and slop in "search" clothing
Computer-Generated Legal Filings Get You Reported to the Solicitors Regulation Authority (SRA)
We'll write a lot more about this in the future
EPO "Cocaine Communication Manager" - Part XII - In the Second-Largest Institution in Europe One Can Take Paid 'Sick Leave' for Doing Cocaine, Then Come Back
Cocaine addicts in the management were bullying colleagues. They're still in charge.
Sites in Their Twenties
We currently run concurrently a handful of series and have a lot more in the backlog
SLAPP Censorship - Part 88 Out of 200: Brett Wilson LLP is Defaming Trans People in America Because Garrett Pays Hired Guns to Silence Them
Garrett is scoring many own goals this year
Sloppy "Resource Action," (RA) or IBM Layoff, Leads to Another IBM Lawsuit, Alleging IBM Tries to Pass Liability to Algorithms
IBM is meanwhile resorting to slop to gaslight its remaining shareholders
The Latest IBM Layoff Rumours
What has happened to the company that invented so much of modern computing?
Holy See Recognises the Threat of GAFAM and Slop
Will the Holy See move away from GAFAM?
Social Control Media is a Giant Waste of Time (and There Are No Future Remedies for This)
Social Control Media is considered unhealthy to young people, but it is also collectively unhealthy to nations and nation-building
Codecs and Software Patents - Part X - Florian Müller Still Muddying the Waters for FOSS, Using Software Patents
Some things never change...
Gemini Links 26/05/2026: Slop Bug Reports and Crawlers Considered Evil
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, May 25, 2026
IRC logs for Monday, May 25, 2026
Slop Causes Global Warming
in some parts of the world people die from overheat (heat strokes) as temperatures reach almost 50 degrees as early as May in the northern hemisphere
Vatican Speaks Out Against Slop, Promoting Instead "Truth, Dignity of Work, Social Justice, and Peace."
Religion (no matter which) does not oppose machines, but LLMs aren't useful machines
SLAPP Censorship - Part 87 Out of 200: Access to Justice
this part will be short
A Promise IBM/Red Hat Could Not Keep
"all about control, not so much optics."
Links 25/05/2026: Russia Lobbing Oreshnik Ballistic Missile Again, Slop Comes Under More Fire
Links for the day
Gemini Links 25/05/2026: Injury in Gym and Abusive LLMs DDoSing Software Developers While Misusing Their Code
Links for the day
A 'Bank Holiday' When National Debt Doubles in a Decade
Maybe it's time to rename "Bank Holidays"
Links 25/05/2026: Lingering Environmental Concerns and Domain Registrars Targeted for Unmasking
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, May 24, 2026
IRC logs for Sunday, May 24, 2026
Gemini Links 24/05/2026: Impressions of Auckland, the Age of Left or Right Extremism, and .zim files
Links for the day
Microsoft's 'Hiring Freeze' (Layoffs) and Salary Freeze (While Inflation Approaches Double-Digit Rates)
If they get replaced by anyone, it'll be low-paid folks in low-salary regions [...] workers' stress levels shoot up, compensation goes down
Slop Will Not End Humanity, The Pushers of It Do (Artificial Scarcities and Global Warming)
Causing hunger and poverty in the name of "computation"
How Can the 'Broligarchs' Love Us When They Don't Even Love Themselves?
Their SLAPPs have their limits
Death at IBM Due to Overwork
Dying for IBM is never worth it
We Publish Less, We Get More Exposure
UbuntuPit is coming to realise that quantity isn't what comes to matter or truly "count", especially when quantity comes at expense of authenticity
Codecs and Software Patents - Part IX - GNU Project Has Chosen to Adopt AV1 for Its Videos, Conversion and Additions Underway
One of our readers is working to help GNU through the maze of software patents and maze of patent lawsuits, which aren't the same thing but are somewhat overlapping issues
SLAPP Censorship - Part 86 Out of 200: The Position of Courts on Computer-Generated Lawsuits and Filings From Another Continent (Made by Two Men Who Work for Slop Companies)
Lawsuits by proxy from California
Links 24/05/2026: SoftBank CEO Getting Conned by Scam Altman, Hotter 2026 and El Nino With Growing Impact
Links for the day
Links 24/05/2026: Ebola Outbreak and "Journalists Identify Murder Victims Of Trump’s Boat Strike Program"
Links for the day
IAM Magazine is in Effect Dead, It's Now Fused Into Microsoft's Patent Troll (Which It Has Promoted All Along)
Microsoft-connected patent trolls in Europe [...] Now, in his new job, Wild can use his 'expertise' to help guide blackmail/extortion to better harm Europe's industry
A Huge Proportion of 'Articles' in The Register MS Are Actually Paid Spam of the Communist Party of China, Selling Compromised (for Wiretapping) Technology
The Register MS is having a go at becoming a marketing company or "B2B"
Top Officials Have Just Left Microsoft, Layoffs in Anything But Name
Microsoft's debt is very fast-growing
Local Staff Committee The Hague (LSCTH) Meets "Alicante Mafia" at the European Patent Office (EPO)
Report on meeting with VP1 and his team on 21 April 2026
UbuntuPit (ubuntupit.com) Has Deleted Slop Pages, Its Slopfarm Experiment Has Failed (Like Always!)
Turning one's site into a slopfarm is a death knell
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, May 23, 2026
IRC logs for Saturday, May 23, 2026