mirror of
https://github.com/ADD-SP/ngx_waf.git
synced 2026-04-26 14:05:52 +03:00
[GH-ISSUE #43] cc防护要一分钟才能防护? #164
Labels
No labels
MacOS
Nginx
OpenResty
Tengine
bug
documentation
enhancement
needs-investigation
pull-request
question
stale
stale
stale
timeout
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ngx_waf#164
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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秒??如何配置?
@ADD-SP commented on GitHub (May 26, 2021):
本模块目前仅支持设置每分钟的请求次数上限,不能更加细化。
为什么要把拦截频率如此细化呢?本模块并不是每分钟集中检查一次访问频率,是一旦某次访问超出了限制就自动封禁了。