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 4c20caf593 - Show all commits
+1 -1
View File
@@ -405,7 +405,7 @@ func (rq *request) addToHistory() {
// SWW_WAF_RATE_LIMIT_EXEMPT_NETS, and one for a path in
// SWW_WAF_RATE_LIMIT_EXEMPT_PATHS are counted too. It is counted for its
// client's AS number when answerAtTheEnd gives one. With every anomaly
// threshold off, the default, it does nothing.
// threshold off, it does nothing.
func (rq *request) countAnomalies() {
if !anomalyThresholdsSet(rq.h.config) {
return