TSG-22751 Adaptation of Proxy Manipulation Policy actions and changes to action parameters.

This commit is contained in:
fengweihao
2024-10-25 17:00:57 +08:00
parent ccf1186058
commit edd0209fcd
5 changed files with 215 additions and 127 deletions

View File

@@ -1,6 +1,6 @@
{
"rule_table": "PXY_CTRL_RULE",
"object2object_table": "OBJECT_GROUP",
"object_group_table": "OBJECT_GROUP",
"rules": [
{
"uuid": "40c9c6a7-70a9-48ae-9fba-ec7966edd3c6",

View File

@@ -1,6 +1,6 @@
{
"rule_table": "PXY_CTRL_RULE",
"object2object_table": "OBJECT_GROUP",
"object_group_table": "OBJECT_GROUP",
"rules": [
{
"uuid": "00001021-0000-0000-0000-000000000000",
@@ -153,13 +153,13 @@
]
},
{
"table_name": "PROXY_HIJACK_FILE",
"table_name": "PROXY_REPLACEMENT_FILE",
"table_content": [
{"uuid":"00000201-0000-0000-0000-000000000000","profile_name":"chakanqi","content_name":"chakanqi-947KB.exe","content_type":"application/x-msdos-program","path":"./resource/pangu/policy_file/chakanqi-947KB.exe","is_valid":1,"modified_time":"1716531859000000"}
]
},
{
"table_name": "PROXY_INJECT_SCRIPT",
"table_name": "PROXY_JS_FILE",
"table_content": [
{"uuid":"00000301-0000-0000-0000-000000000000","profile_name":"time","format":"js","insert_on":"before_page_load","path":"./resource/pangu/policy_file/time.js","is_valid":1,"modified_time":"1716531859000000"}
]

View File

@@ -24,7 +24,7 @@
{
"table_id":3,
"table_name":"OBJECT_GROUP",
"table_type":"object2object"
"table_type":"object_group"
},
{
"table_id":4,
@@ -115,7 +115,7 @@
},
{
"table_id":17,
"table_name":"PROXY_HIJACK_FILE",
"table_name":"PROXY_REPLACEMENT_FILE",
"table_type":"plugin",
"custom": {
"key_name":"uuid",
@@ -123,9 +123,19 @@
"foreign_names": ["path"]
}
},
{
{
"table_id":18,
"table_name":"PROXY_INJECT_SCRIPT",
"table_name":"PROXY_JS_FILE",
"table_type":"plugin",
"custom": {
"key_name":"uuid",
"key_type":"pointer",
"foreign_names": ["path"]
}
},
{
"table_id":19,
"table_name":"PROXY_CSS_FILE",
"table_type":"plugin",
"custom": {
"key_name":"uuid",
@@ -134,7 +144,7 @@
}
},
{
"table_id":19,
"table_id":20,
"table_name":"PXY_INTERCEPT_RULE",
"table_type":"plugin",
"custom": {
@@ -143,7 +153,7 @@
}
},
{
"table_id":20,
"table_id":21,
"table_name":"TRAFFIC_MIRRORING_PROFILE",
"table_type":"plugin",
"custom": {
@@ -152,7 +162,7 @@
}
},
{
"table_id":21,
"table_id":22,
"table_name":"DECRYPTION_PROFILE",
"table_type":"plugin",
"custom": {
@@ -162,7 +172,7 @@
},
{
"table_id":23,
"table_name":"HTTP_MANIPULATION_SCRIPT",
"table_name":"PROXY_LUA_SCRIPT",
"table_type":"plugin",
"custom": {
"key_type":"pointer",