README: add info about configuring access lists

This commit is contained in:
Joakim Frostegård 2021-10-17 21:57:40 +02:00
parent f3487d4749
commit 0281de9187

View file

@ -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`.