mirror of
https://github.com/telemt/telemt.git
synced 2026-05-23 04:01:44 +03:00
Harden overload auth scans and masking safeguards
This commit is contained in:
@@ -1807,8 +1807,7 @@ This document lists all configuration keys accepted by `config.toml`.
|
||||
```
|
||||
## proxy_protocol_trusted_cidrs
|
||||
- **Constraints / validation**: `IpNetwork[]`.
|
||||
- If omitted, defaults to trust-all CIDRs (`0.0.0.0/0` and `::/0`).
|
||||
> In production behind HAProxy/nginx, prefer setting explicit trusted CIDRs instead of relying on this fallback.
|
||||
- If omitted, defaults to an empty list and incoming PROXY headers are rejected.
|
||||
- If explicitly set to an empty array, all PROXY headers are rejected.
|
||||
- **Description**: Trusted source CIDRs allowed to provide PROXY protocol headers (security control).
|
||||
- **Example**:
|
||||
@@ -3063,5 +3062,3 @@ If your backend or network is very bandwidth-constrained, reduce cap first. If p
|
||||
username = "alice"
|
||||
password = "secret"
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user