Default the netblock and AS number anomaly thresholds (closes #410) #484

Merged
clawbot merged 3 commits from issue-410-anomaly-net-asn-defaults into next 2026-11-20 06:42:26 +01:00
Showing only changes of commit 7b8d2b9d38 - Show all commits
+3 -1
View File
@@ -412,7 +412,9 @@ alert only on obvious abuse:
at the default rate limits;
- `BYTES_PER_HOUR` `50G`, one client at the default byte limit per hour;
- `BYTES_PER_MINUTE` `5G`, a tenth of that.
- per AS number, five times those: `6000`, `75000`, `25G` and `250G`.
- per AS number, five times those: `REQUESTS_PER_MINUTE` `6000`,
`REQUESTS_PER_HOUR` `75000`, `BYTES_PER_HOUR` `250G` and `BYTES_PER_MINUTE`
`25G`.
While `SWW_WAF_LOOKUP_SOURCE` is `off`, no request has an AS number, so the
thresholds per AS number are `off` by default. Setting one then stops the start.