aboutsummaryrefslogtreecommitdiffstats
path: root/docs/config.md
diff options
context:
space:
mode:
authorGraham Sutherland <gsuberland@users.noreply.github.com>2024-01-26 22:33:26 +0000
committerGitHub <noreply@github.com>2024-01-26 22:33:26 +0000
commit106e318d896c521b90b27f438bf7225ffd276b8b (patch)
tree5101d9b8ddcab597a2be597174453fba9a97c1ce /docs/config.md
parent0b194f1922f1eedf0e4cf7d9dce59b47e7f5389a (diff)
downloadslskd-106e318d896c521b90b27f438bf7225ffd276b8b.tar.gz
Document blacklistfile
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 15a4c817..f46f581f 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -359,7 +359,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.
@@ -371,6 +371,7 @@ groups:
- <username to blacklist>
cidrs:
- <CIDR to blacklist, e.g. 255.255.255.255/32>
+ blacklistfile: 'D:\blacklist.txt'
```
## User Defined Groups