mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
README: add info about configuring access lists
This commit is contained in:
parent
f3487d4749
commit
0281de9187
1 changed files with 8 additions and 0 deletions
|
|
@ -65,6 +65,14 @@ The configuration file values you will most likely want to adjust are
|
|||
`address` under the `network` section (listening address). This goes for all
|
||||
three protocols.
|
||||
|
||||
Access control by info hash is supported for all protocols:
|
||||
|
||||
```toml
|
||||
[access_list]
|
||||
mode = 'off' # Change to 'black' (blacklist) or 'white' (whitelist)
|
||||
path = '' # Path to text file with newline-delimited hex-encoded info hashes
|
||||
```
|
||||
|
||||
Some documentation of the various options might be available under
|
||||
`src/lib/config.rs` in crates `aquatic_udp`, `aquatic_http`, `aquatic_ws`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue