Frontend Labs
⋯
🗓️

Week 13: DDoS Detection & Mitigation (Days 91–98)

Phase 4 Goal: Add the final security layers — DDoS mitigation and bot detection — to the production security proxy built in Phases 1–3.

10 chapters · 19 min of reading

Why this week matters: DDoS attacks are the most common attack against internet-facing services. Understanding the mechanics lets you evaluate DDoS vendors (Cloudflare, AWS Shield, Akamai), configure existing defenses correctly, and architect a first line of defense using nothing but the Go standard library.


Background in this wiki: TCP/IP guide Ch 21 (SYN floods and SYN cookies), Ch 52 (SYN and accept queues, overflowed on purpose), Ch 20 (UDP); HTTPS guide Ch 19 (Slowloris, measured), Ch 21 (rate limiting), Ch 23 (burn-rate alerting). Security in Depth: Chapter 40B (rate limiting in depth) and Chapter 28 (resilience as a security property).

Contents

10 chapters, one page each. Prefer one long page? Read the whole book on one page.

  1. Day 91 — DDoS Taxonomy & Attack Simulation3 min
  2. Day 92 — Rate Limiting Algorithms Deep Dive3 min
  3. Day 93 — Per-IP Rate Limiting with CIDR Awareness2 min
  4. Day 94 — SYN Flood Defense2 min
  5. Day 95 — Slowloris Detection & Defense2 min
  6. Day 96 — Traffic Anomaly Detection (Z-Score + EMA)2 min
  7. Day 97 — IP Blocking & Proof-of-Work Challenges3 min
  8. Day 98 — UDP Amplification Defense2 min
  9. Week 13 Mini Project: DDoS Mitigation Layer1 min
  10. Week 13 Review1 min

Generated from week13.md · 8 Oct 2026 16:36