aboutsummaryrefslogtreecommitdiffstats
path: root/docs/config.md
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-03-11 21:42:13 -0500
committerGitHub <noreply@github.com>2024-03-11 21:42:13 -0500
commitd242a9bfeee2a87a9c982516edbb61192669fb02 (patch)
treeb3a2687d2f96f79e38bd4e1e343fc4b5afdb436f /docs/config.md
parente3fc5c61afb1c17018e6ea1474a84c7c2e500162 (diff)
parent01eb8baea79339ac7683d1a8b0078427e3be5c75 (diff)
downloadslskd-d242a9bfeee2a87a9c982516edbb61192669fb02.tar.gz
Merge pull request #1062 from gsuberland/blacklist-file
Add support for CIDR blacklist files
Diffstat (limited to 'docs/config.md')
-rw-r--r--docs/config.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index 924e4de9..265b3fd2 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -425,7 +425,7 @@ Blacklisted users are prevented from:
- Retrieving directory contents
- Enqueueing downloads
-Users can be blacklisted by adding their username to the `members` list. Additionally, users can be blacklisted by IP address, or range of addresses by adding a CIDR entry to the `cidrs` list.
+Users can be blacklisted by adding their username to the `members` list. Users can also be blacklisted by IP address, or range of addresses by adding a CIDR entry to the `cidrs` list. In addition, an external blacklist file containing CIDRs can be specified using `blacklistfile`, with each CIDR on its own line. Empty lines and lines starting with `#` are ignored.
Users added to the blacklist will be blocked from enqueueing any new files. Any existing active or queued transfers will need to be cancelled manually.
@@ -437,6 +437,7 @@ groups:
- <username to blacklist>
cidrs:
- <CIDR to blacklist, e.g. 255.255.255.255/32>
+ blacklistfile: 'D:\blacklist.txt'
```
## User Defined Groups