diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-10-22 21:33:59 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-22 21:33:59 -0500 |
| commit | 2c10e1f1a579d1ac49a81e9a93764a81af1cbf36 (patch) | |
| tree | 8ec50383a4bb76b860b5e4620e3b0efb408fd807 | |
| parent | 76af9740010154588cd538bbabe2073e14b43a74 (diff) | |
| parent | fbb9b52121550a387b6923157487b5c165638b0b (diff) | |
| download | slskd-2c10e1f1a579d1ac49a81e9a93764a81af1cbf36.tar.gz | |
Merge pull request #984 from slskd/docs
Add docs for blacklist CIDRs
| -rw-r--r-- | docs/config.md | 18 |
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 |
