[GH-ISSUE #43] cc防护要一分钟才能防护? #164

Closed
opened 2026-03-13 16:41:46 +03:00 by kerem · 1 comment
Owner

Originally created by @opcache on GitHub (May 26, 2021).
Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/43

CC 防御参数,1000 每分钟请求次数上限,超出上限后封禁对应 ip 60 分钟。
waf_cc_deny rate=1000r/m duration=60m;
能不能配置10秒 100次请求上限?
或者10秒300次请求上线?
觉得一分钟有点久,或者20秒,30秒??如何配置?

Originally created by @opcache on GitHub (May 26, 2021). Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/43 CC 防御参数,1000 每分钟请求次数上限,超出上限后封禁对应 ip 60 分钟。 waf_cc_deny rate=1000r/m duration=60m; 能不能配置10秒 100次请求上限? 或者10秒300次请求上线? 觉得一分钟有点久,或者20秒,30秒??如何配置?
kerem 2026-03-13 16:41:46 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@ADD-SP commented on GitHub (May 26, 2021):

本模块目前仅支持设置每分钟的请求次数上限,不能更加细化。

为什么要把拦截频率如此细化呢?本模块并不是每分钟集中检查一次访问频率,是一旦某次访问超出了限制就自动封禁了。

<!-- gh-comment-id:848692851 --> @ADD-SP commented on GitHub (May 26, 2021): 本模块目前仅支持设置每分钟的请求次数上限,不能更加细化。 为什么要把拦截频率如此细化呢?本模块并不是每分钟集中检查一次访问频率,是一旦某次访问超出了限制就自动封禁了。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ngx_waf#164
No description provided.