aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-10-22 20:53:21 -0500
committerJP Dillingham <jp@dillingham.me>2023-10-22 20:53:21 -0500
commitfbb9b52121550a387b6923157487b5c165638b0b (patch)
tree8ec50383a4bb76b860b5e4620e3b0efb408fd807 /docs
parent76af9740010154588cd538bbabe2073e14b43a74 (diff)
downloadslskd-fbb9b52121550a387b6923157487b5c165638b0b.tar.gz
add docs for blacklist cidrs
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/config.md b/docs/config.md
index 6102c5c1..c6325cfd 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -322,7 +322,7 @@ The `leechers` built-in group contains users that have not been explicitly added
The `privileged` built-in is used to prioritize users who have purchased privileges on the Soulseek network. This groups is not configurable, has a priority of 0 (the highest), a strategy of `FirstInFirstOut`, and can use any number of slots up to the global limit.
-It is impossible to explicitly assign users to built-in groups, but the priority, number of slots, speed, and queue strategy can be adjusted (excluding `privileged`).
+It is impossible to explicitly assign users to these built-in groups, but the priority, number of slots, speed, and queue strategy can be adjusted (excluding `privileged`).
#### **YAML**
```yaml
@@ -345,7 +345,8 @@ groups:
```
## Blacklist
-As of version `0.16.28` a blacklist group is available.
+
+A fourth built-in group, `blacklisted`, is used to disallow other users from various activities.
Blacklisted users are prevented from:
- Receiving search results
@@ -353,17 +354,16 @@ Blacklisted users are prevented from:
- Retrieving directory contents
- Enqueueing downloads
-Note:
-- Adding someone to the blacklist doesn't cancel transfers in flight; users will need to do that themselves.
-
-This could be expanded to ignore messages in chat rooms and private messages, but that's probably best done separately for now.
+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.
**YAML**
```yaml
groups:
- blacklisted:
- members:
- - <username to blacklist>
+ blacklisted:
+ members:
+ - <username to blacklist>
+ cidrs:
+ - <CIDR to blacklist, e.g. 255.255.255.255/32>
```
## User Defined Groups