> For the complete documentation index, see [llms.txt](https://docs.usableprivacy.com/dns/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.usableprivacy.com/dns/incidents/2020-09-21-dos-from-turkmenistan.md).

# 2020-09-21 DoS from Turkmenistan

On the 21th of September of 2020, our adfree DoH service faced an immediate spike in requests with **a peak of 800K requests per hour** (26 times our average request load at this time). The amount of requests led to service interruptions of several hours and our public adfree services became unresponsive during the attack. An adhoc analysis and mitigation showed that our DoH service where potentially hit by a DDoS attack from Turkmenistan.

![](/files/-MLw6kJZFkaGA8a45ZA4)

### Request rates per unique IPv4 address <a href="#request-rates-per-unique-ipv4-address" id="request-rates-per-unique-ipv4-address"></a>

The mean request rate for a representative set of 3,9 million DoH requests we analyzed, showed that clients had a **mean rate of 2.6 DoH requests per second**. We observed request rates **up to 571 requests per second** from the attackers network range.

```
Analyzed 3911891.0 requests.

requests_per_sec  mean      2.6
                  std       4.9
                  min       0.0
                  25%       1.0
                  50%       2.0
                  75%       2.0
                  max     571.0
```

### Requests rate per class-c network / country <a href="#requests-rate-per-class-c-network-country" id="requests-rate-per-class-c-network-country"></a>

For a split second one might have thought that the Usable Privacy DNS services all of a sudden became popular in Turkmenistan (maybe the "slashdot" effect, who knows ...). It however became clear that the source of the steep surge in requests originated from handful of class-c network ranges. e.g. **one particular class-c network from Turkmenistan was responsible for almost 1,200 requests per second**. Requests per class-c network for all other countries than Turkmenistan were below 255 requests per second.

![](/files/-MLw9Z0Bh2wPtPISe3ls)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.usableprivacy.com/dns/incidents/2020-09-21-dos-from-turkmenistan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
