From bd97b759b03d70c82022cbb143a30c4df042fbde Mon Sep 17 00:00:00 2001 From: Eugene Burkov Date: Tue, 27 Apr 2021 18:56:53 +0300 Subject: [PATCH] Pull request: 2826 auth block Merge in DNS/adguard-home-wiki from 2826-auth-block to master Squashed commit of the following: commit 6c6584c8711139726c93fee4a602c47bbd8b61b7 Author: Eugene Burkov Date: Tue Apr 27 16:01:11 2021 +0300 Configuration: authratelimiter settings --- Configuration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Configuration.md b/Configuration.md index 908356a..5fac5d4 100644 --- a/Configuration.md +++ b/Configuration.md @@ -139,6 +139,11 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib - `users` — Web users info - `name` — User name - `password` — BCrypt-encrypted password +- `auth_attempts` (**after v0.106.0**) – Maximum number of failed login attempts + a user can do before being blocked. The entire blocking logic is disabled if + it equals to 0. +- `block_auth_min` (**after v0.106.0**) – The duration of blocking period. The + entire blocking logic is disabled if it equals to 0. - `http_proxy` — proxy URL for HTTP client (e.g. "http://user:password@server:port/"). Supports "http", "https" and "socks5" scheme. - `web_session_ttl` — Web session TTL (in hours) - a web user will stay signed in for this amount of time. - `rlimit_nofile` — Limit on the maximum number of open files for server process (Linux and macOS). Set to 0 to use the system default value.