summaryrefslogtreecommitdiff
path: root/resource
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2024-10-25 17:00:57 +0800
committerfengweihao <[email protected]>2024-10-25 17:00:57 +0800
commitedd0209fcd2efe2ebb45719b6facc3f4de74467f (patch)
tree261f33b827a5edf254d44507cc831b621200d814 /resource
parentccf1186058ca4a10cc69eb22cbe72f965522c5a6 (diff)
TSG-22751 Adaptation of Proxy Manipulation Policy actions and changes to action parameters.v4.10.5-20241025
Diffstat (limited to 'resource')
-rw-r--r--resource/pangu/doh.json2
-rw-r--r--resource/pangu/pangu_http.json6
-rw-r--r--resource/pangu/table_info.conf26
3 files changed, 22 insertions, 12 deletions
diff --git a/resource/pangu/doh.json b/resource/pangu/doh.json
index 2fa0870..1927492 100644
--- a/resource/pangu/doh.json
+++ b/resource/pangu/doh.json
@@ -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",
diff --git a/resource/pangu/pangu_http.json b/resource/pangu/pangu_http.json
index 1ab7205..6ab23cb 100644
--- a/resource/pangu/pangu_http.json
+++ b/resource/pangu/pangu_http.json
@@ -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"}
]
diff --git a/resource/pangu/table_info.conf b/resource/pangu/table_info.conf
index 4a378be..33551ef 100644
--- a/resource/pangu/table_info.conf
+++ b/resource/pangu/table_info.conf
@@ -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,9 @@
"foreign_names": ["path"]
}
},
- {
+ {
"table_id":18,
- "table_name":"PROXY_INJECT_SCRIPT",
+ "table_name":"PROXY_JS_FILE",
"table_type":"plugin",
"custom": {
"key_name":"uuid",
@@ -133,8 +133,18 @@
"foreign_names": ["path"]
}
},
- {
+ {
"table_id":19,
+ "table_name":"PROXY_CSS_FILE",
+ "table_type":"plugin",
+ "custom": {
+ "key_name":"uuid",
+ "key_type":"pointer",
+ "foreign_names": ["path"]
+ }
+ },
+ {
+ "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",