2018-09-18 14:02:39 +08:00
|
|
|
{
|
2018-11-11 13:03:54 +08:00
|
|
|
"compile_table": "PXY_CTRL_COMPILE",
|
|
|
|
|
"group_table": "PXY_CTRL_GROUP",
|
2018-09-18 14:02:39 +08:00
|
|
|
"rules": [
|
|
|
|
|
{
|
|
|
|
|
"compile_id": 125,
|
|
|
|
|
"service": 1,
|
|
|
|
|
"action": 48,
|
|
|
|
|
"do_blacklist": 1,
|
|
|
|
|
"do_log": 1,
|
|
|
|
|
"effective_range": 0,
|
|
|
|
|
"user_region": "code=302;url=http://news.baidu.com",
|
|
|
|
|
"is_valid": "yes",
|
|
|
|
|
"groups": [
|
|
|
|
|
{
|
|
|
|
|
"regions": [
|
|
|
|
|
{
|
|
|
|
|
"table_name": "PXY_CTRL_HTTP_URL",
|
|
|
|
|
"table_type": "string",
|
|
|
|
|
"table_content": {
|
|
|
|
|
"keywords": "kernel-3.10.0-327.el7.src.rpm",
|
|
|
|
|
"expr_type": "regex",
|
|
|
|
|
"match_method": "sub",
|
|
|
|
|
"format": "uncase plain"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"compile_id": 128,
|
|
|
|
|
"service": 1,
|
|
|
|
|
"action": 16,
|
|
|
|
|
"do_blacklist": 1,
|
|
|
|
|
"do_log": 1,
|
|
|
|
|
"effective_range": 0,
|
|
|
|
|
"user_region": "code=302;url=http://news.baidu.com",
|
|
|
|
|
"is_valid": "yes",
|
|
|
|
|
"groups": [
|
|
|
|
|
{
|
|
|
|
|
"regions": [
|
|
|
|
|
{
|
|
|
|
|
"table_name": "PXY_CTRL_HTTP_RES_BODY",
|
|
|
|
|
"table_type": "string",
|
|
|
|
|
"table_content": {
|
|
|
|
|
"keywords": "hello=world",
|
|
|
|
|
"expr_type": "regex",
|
|
|
|
|
"match_method": "sub",
|
|
|
|
|
"format": "uncase plain"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2018-11-11 13:03:54 +08:00
|
|
|
{
|
2018-09-18 14:02:39 +08:00
|
|
|
"compile_id": 127,
|
|
|
|
|
"service": 1,
|
|
|
|
|
"action": 80,
|
|
|
|
|
"do_blacklist": 1,
|
|
|
|
|
"do_log": 1,
|
|
|
|
|
"effective_range": 0,
|
|
|
|
|
"user_region": "zone=http_resp_body;regex=/house.qq.com/www.renren.com",
|
|
|
|
|
"is_valid": "yes",
|
|
|
|
|
"groups": [
|
|
|
|
|
{
|
|
|
|
|
"regions": [
|
|
|
|
|
{
|
|
|
|
|
"table_name": "PXY_CTRL_HTTP_URL",
|
|
|
|
|
"table_type": "string",
|
|
|
|
|
"table_content": {
|
|
|
|
|
"keywords": "www.qq.com",
|
|
|
|
|
"expr_type": "none",
|
|
|
|
|
"match_method": "left",
|
|
|
|
|
"format": "uncase plain"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
2018-11-11 13:03:54 +08:00
|
|
|
},
|
2018-09-18 14:02:39 +08:00
|
|
|
{
|
|
|
|
|
"compile_id": 130,
|
|
|
|
|
"service": 1,
|
|
|
|
|
"action": 48,
|
|
|
|
|
"do_blacklist": 1,
|
|
|
|
|
"do_log": 1,
|
|
|
|
|
"effective_range": 0,
|
|
|
|
|
"user_region": "code=404;content=",
|
|
|
|
|
"is_valid": "yes",
|
|
|
|
|
"groups": [
|
|
|
|
|
{
|
|
|
|
|
"regions": [
|
|
|
|
|
{
|
|
|
|
|
"table_name": "PXY_CTRL_HTTP_URL",
|
|
|
|
|
"table_type": "string",
|
|
|
|
|
"table_content": {
|
|
|
|
|
"keywords": "www.google.com",
|
|
|
|
|
"expr_type": "none",
|
|
|
|
|
"match_method": "sub",
|
|
|
|
|
"format": "uncase plain"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
2018-11-11 13:03:54 +08:00
|
|
|
},
|
2018-09-18 14:02:39 +08:00
|
|
|
{
|
|
|
|
|
"compile_id": 131,
|
|
|
|
|
"service": 1,
|
|
|
|
|
"action": 48,
|
|
|
|
|
"do_blacklist": 1,
|
|
|
|
|
"do_log": 1,
|
|
|
|
|
"effective_range": 0,
|
|
|
|
|
"user_region": "code=404;content=",
|
|
|
|
|
"is_valid": "yes",
|
|
|
|
|
"groups": [
|
|
|
|
|
{
|
|
|
|
|
"regions": [
|
|
|
|
|
{
|
|
|
|
|
"table_name": "PXY_CTRL_HTTP_RES_BODY",
|
|
|
|
|
"table_type": "string",
|
|
|
|
|
"table_content": {
|
|
|
|
|
"keywords": "动物世界",
|
|
|
|
|
"expr_type": "none",
|
|
|
|
|
"match_method": "sub",
|
|
|
|
|
"format": "uncase plain"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
2018-11-11 13:03:54 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"compile_id": 133,
|
|
|
|
|
"service": 1,
|
|
|
|
|
"action": 48,
|
|
|
|
|
"do_blacklist": 1,
|
|
|
|
|
"do_log": 1,
|
|
|
|
|
"effective_range": 0,
|
|
|
|
|
"user_region": "{\"cache_key\":{\"ignore_qs\":[\"sqp\",\"rs\"],\"cookie\":\"jsession_id\"},\"no_revalidate\":0,\"cache_dyn_url\":1,\"cache_cookied_cont\":1,\"ignore_srv_nocache\":1,\"ignore_cli_nocache\":1,\"force_caching\":1,\"min_use\":1,\"pinning_time\":\"60m\",\"max_cache_size\":\"1t\",\"inactive_time\":\"1h\"}",
|
|
|
|
|
"is_valid": "yes",
|
|
|
|
|
"table_name":"PXY_CACHE_COMPILE",
|
|
|
|
|
"groups": [
|
|
|
|
|
{
|
|
|
|
|
"regions": [
|
|
|
|
|
{
|
|
|
|
|
"table_name": "PXY_CACHE_HTTP_URL",
|
|
|
|
|
"table_type": "string",
|
|
|
|
|
"table_content": {
|
|
|
|
|
"keywords": "i.ytimg.com",
|
|
|
|
|
"expr_type": "none",
|
|
|
|
|
"match_method": "sub",
|
|
|
|
|
"format": "uncase plain"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"compile_id": 134,
|
|
|
|
|
"service": 1,
|
|
|
|
|
"action": 128,
|
|
|
|
|
"do_blacklist": 1,
|
|
|
|
|
"do_log": 1,
|
|
|
|
|
"effective_range": 0,
|
|
|
|
|
"user_region": "{}",
|
|
|
|
|
"is_valid": "yes",
|
|
|
|
|
"table_name":"PXY_CACHE_COMPILE",
|
|
|
|
|
"groups": [
|
|
|
|
|
{
|
|
|
|
|
"regions": [
|
|
|
|
|
{
|
|
|
|
|
"table_name": "PXY_CACHE_HTTP_URL",
|
|
|
|
|
"table_type": "string",
|
|
|
|
|
"table_content": {
|
2018-11-11 17:14:45 +08:00
|
|
|
"keywords": "mesalab.cn",
|
2018-11-11 13:03:54 +08:00
|
|
|
"expr_type": "none",
|
|
|
|
|
"match_method": "sub",
|
|
|
|
|
"format": "uncase plain"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"compile_id": 135,
|
|
|
|
|
"service": 1,
|
|
|
|
|
"action": 48,
|
|
|
|
|
"do_blacklist": 1,
|
|
|
|
|
"do_log": 1,
|
|
|
|
|
"effective_range": 0,
|
|
|
|
|
"user_region": "{\"cache_key\":{\"cookie\":\"MUID\"},\"cache_dyn_url\":1,\"cache_cookied_cont\":1}",
|
|
|
|
|
"is_valid": "yes",
|
|
|
|
|
"table_name":"PXY_CACHE_COMPILE",
|
|
|
|
|
"groups": [
|
|
|
|
|
{
|
|
|
|
|
"regions": [
|
|
|
|
|
{
|
|
|
|
|
"table_name": "PXY_CACHE_HTTP_URL",
|
|
|
|
|
"table_type": "string",
|
|
|
|
|
"table_content": {
|
|
|
|
|
"keywords": "cn.bing.com",
|
|
|
|
|
"expr_type": "none",
|
|
|
|
|
"match_method": "sub",
|
|
|
|
|
"format": "uncase plain"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"plugin_table": [
|
|
|
|
|
{
|
|
|
|
|
"table_name": "PXY_OBJ_TRUSTED_CA_CERT",
|
|
|
|
|
"table_content": [
|
|
|
|
|
"1\tDigiCertSHA2SecureServerCA\t./pangu_files/DigiCertSHA2SecureServerCA.pem\t1"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"table_name": "PXY_OBJ_TRUSTED_CA_CRL",
|
|
|
|
|
"table_content": [
|
|
|
|
|
"1\t1\t./pangu_files/ssca-sha2-g5.crl\t1"
|
|
|
|
|
]
|
2018-09-18 14:02:39 +08:00
|
|
|
}
|
2018-11-11 13:03:54 +08:00
|
|
|
]
|
2018-09-18 14:02:39 +08:00
|
|
|
}
|