Home - starjun/starjun.github.io GitHub Wiki

Welcome to the starjun.github.io wiki!

规则使用

[基础配置说明]

 base.json

 此处主要配置WAF的基础规则,如一些路径,开关等配置

自定义拦截页面(状态码/html内容)配置

 denyMsg  denyMsg.json

SETP 0 配置获取用户真实ip

 realIpFrom_Mod realIpFrom_Mod.json

支持ip,ip列表,ip段(cidr)

SETP 1 IP规则模块

 ip_Mod ip_Mod.json

SETP 2 host,method规则模块

 host_method_Mod] host_method_Mod.json

SETP 3 rewrite跳转规则模块

 rewrite_Mod rewrite_Mod.json

SETP 4 host独立规则模块

 host_Mod host_Mod/*.json

SETP 5 自定义规则(组)模块

 app_Mod app_Mod.json

SETP 6 referer独立规则模块

 referer_Mod referer_Mod.json

SETP 7 uri规则模块

 uri_Mod uri_Mod.json

SETP 8 header头规则模块

 header_Mod header_Mod.json

SETP 9 useragent规则模块

 useragent_Mod useragent_Mod.json

SETP 10 cookie规则模块

 cookie_Mod cookie_Mod.json

SETP 11 GET请求参数规则模块

 args_Mod args_Mod.json

SETP 12 POST请求参数规则模块

 post_Mod post_Mod.json

SETP 13 频率限制规则模块

 network_Mod network_Mod.json

SETP 14 response内容替换规则模块

 replace_Mod replace_Mod.json

内部防护流程图

openstar