浏览代码

feat(docs): document checkip rate limit, fixes #550

Peter Thomassen 2 年之前
父节点
当前提交
2cae16b65b
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      docs/rate-limits.rst

+ 12 - 0
docs/rate-limits.rst

@@ -3,6 +3,9 @@
 Rate Limits
 Rate Limits
 -----------
 -----------
 
 
+API Request Throttling
+~~~~~~~~~~~~~~~~~~~~~~
+
 The API implements rate limits to prevent brute force attacks on passwords, to
 The API implements rate limits to prevent brute force attacks on passwords, to
 ensure that the system load remains manageable, to avoid update rejections due
 ensure that the system load remains manageable, to avoid update rejections due
 to concurrent DNS updates on the same domain etc.
 to concurrent DNS updates on the same domain etc.
@@ -53,3 +56,12 @@ the API.  When several rates are given, all are enforced at the same time.
 +-----------------------------------------+----------+-------------------------------------------------------------------------------------------+
 +-----------------------------------------+----------+-------------------------------------------------------------------------------------------+
 | ``user``                                | 2000/day | Any activity of a) authenticated users, b) unauthenticated users (by IP)                  |
 | ``user``                                | 2000/day | Any activity of a) authenticated users, b) unauthenticated users (by IP)                  |
 +-----------------------------------------+----------+-------------------------------------------------------------------------------------------+
 +-----------------------------------------+----------+-------------------------------------------------------------------------------------------+
+
+Throttling of Other Requests
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+There are also rate limits in place for requests that do not get processed by
+the API, but are answered directly by the webserver.
+
+Most notably, there is a rate limit of 3 requests per minute for the check IP
+services running at ``https://checkip{,v4,v6}.dedyn.io/``.