mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-07 16:16:37 +08:00
feat(waf): UA 非正常不含爬虫,并支持自定义正则屏蔽
block_abnormal_ua 仅 Other/Unknown;新增 block_custom_ua 与 custom_ua_patterns。
This commit is contained in:
@@ -786,6 +786,8 @@ export interface UACheckConfig {
|
||||
match_mode: 'and' | 'or';
|
||||
block_common_bots: boolean;
|
||||
block_abnormal_ua: boolean;
|
||||
block_custom_ua: boolean;
|
||||
custom_ua_patterns: string[];
|
||||
}
|
||||
|
||||
export type WAFRuleNode =
|
||||
|
||||
Reference in New Issue
Block a user