[GH-ISSUE #124] 能否支持根据cpu负载来开关验证码(或其他cc防御等)? #95

Open
opened 2026-03-04 12:18:53 +03:00 by kerem · 1 comment
Owner

Originally created by @xwlcn on GitHub (May 21, 2023).
Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/124

如题,类似Cloudflare的一个检测脚本:https://github.com/Machou/Cloudflare-Block

目前能想到的就是模仿上面的方法,写个定时检测的脚本,负载过高就修改nginx配置文件然后重启,但这种方法需要reload Nginx,感觉不够优雅,是否能够在模块内置该功能,目前只看到访问频率过高时开启验证码的配置方法。

Originally created by @xwlcn on GitHub (May 21, 2023). Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/124 如题,类似`Cloudflare`的一个检测脚本:https://github.com/Machou/Cloudflare-Block 目前能想到的就是模仿上面的方法,写个定时检测的脚本,负载过高就修改`nginx`配置文件然后重启,但这种方法需要`reload Nginx`,感觉不够优雅,是否能够在模块内置该功能,目前只看到`访问频率过高时开启验证码`的配置方法。
Author
Owner

@ADD-SP commented on GitHub (Oct 3, 2023):

实际上这个功能已经在开发分支上了,但是那个分支上的新 feature 太多,bug 很多,所以一直没有 release。

<!-- gh-comment-id:1744481268 --> @ADD-SP commented on GitHub (Oct 3, 2023): 实际上这个功能已经在开发分支上了,但是那个分支上的新 feature 太多,bug 很多,所以一直没有 release。
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#95
No description provided.