summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2023-04-11 09:48:21 +0800
committerluwenpeng <[email protected]>2023-04-21 18:31:36 +0800
commit0a3d06eed130c24557898b69f7565beb82f102c0 (patch)
tree6936313811f6a69d68ff5471e56c3f84244acfe8
parentf81209b225c2439e5e7d81af6702065599a72271 (diff)
TSG-14627 TFE适配Decryption Profile库表的变更
-rw-r--r--plugin/business/ssl-policy/src/ssl_policy.cpp4
-rw-r--r--resource/pangu/doh.json2
-rw-r--r--resource/pangu/pangu_http.json2
-rw-r--r--resource/pangu/table_info.conf2
4 files changed, 5 insertions, 5 deletions
diff --git a/plugin/business/ssl-policy/src/ssl_policy.cpp b/plugin/business/ssl-policy/src/ssl_policy.cpp
index 89858e4..e4299a2 100644
--- a/plugin/business/ssl-policy/src/ssl_policy.cpp
+++ b/plugin/business/ssl-policy/src/ssl_policy.cpp
@@ -324,7 +324,7 @@ struct ssl_policy_enforcer* ssl_policy_enforcer_create(void* logger)
enforcer->logger=logger;
enforcer->policy_table_id=maat_get_table_id(enforcer->maat, "TSG_SECURITY_COMPILE");
assert(enforcer->policy_table_id >= 0);
- enforcer->profile_table_id=maat_get_table_id(enforcer->maat, "TSG_PROFILE_DECRYPTION");
+ enforcer->profile_table_id=maat_get_table_id(enforcer->maat, "PXY_PROFILE_DECRYPTION");
assert(enforcer->profile_table_id >= 0);
UNUSED int ret=maat_plugin_table_ex_schema_register(enforcer->maat,
"TSG_SECURITY_COMPILE",
@@ -335,7 +335,7 @@ struct ssl_policy_enforcer* ssl_policy_enforcer_create(void* logger)
enforcer);
assert(ret==0);
ret=maat_plugin_table_ex_schema_register(enforcer->maat,
- "TSG_PROFILE_DECRYPTION",
+ "PXY_PROFILE_DECRYPTION",
profile_param_new_cb,
profile_param_free_cb,
profile_param_dup_cb,
diff --git a/resource/pangu/doh.json b/resource/pangu/doh.json
index a125794..e0bbb82 100644
--- a/resource/pangu/doh.json
+++ b/resource/pangu/doh.json
@@ -151,7 +151,7 @@
]
},
{
- "table_name": "TSG_PROFILE_DECRYPTION",
+ "table_name": "PXY_PROFILE_DECRYPTION",
"table_content": [
"0\ttest\t{\"dynamic_bypass\":{\"ev_cert\":0,\"cert_transparency\":0,\"mutual_authentication\":1,\"cert_pinning\":1,\"protocol_errors\":1,\"trusted_root_cert_is_not_installed_on_client\":1},\"protocol_version\":{\"min\":\"ssl3\",\"max\":\"ssl3\",\"mirror_client\":1,\"allow_http2\":1},\"certificate_checks\":{\"approach\":{\"cn\":1,\"issuer\":1,\"self-signed\":1,\"expiration\":0},\"fail_action\":\"pass-through\"}}\t1",
"3\ttest\t{\"dynamic_bypass\":{\"ev_cert\":1,\"cert_transparency\":1,\"mutual_authentication\":1,\"cert_pinning\":1,\"protocol_errors\":1,\"trusted_root_cert_is_not_installed_on_client\":0},\"protocol_version\":{\"min\":\"ssl3\",\"max\":\"tls13\",\"mirror_client\":1,\"allow_http2\":1},\"certificate_checks\":{\"approach\":{\"cn\":1,\"issuer\":1,\"self-signed\":1,\"expiration\":1},\"fail_action\":\"fail-close\"}}\t1",
diff --git a/resource/pangu/pangu_http.json b/resource/pangu/pangu_http.json
index 8719fcf..4ea4429 100644
--- a/resource/pangu/pangu_http.json
+++ b/resource/pangu/pangu_http.json
@@ -251,7 +251,7 @@
]
},
{
- "table_name": "TSG_PROFILE_DECRYPTION",
+ "table_name": "PXY_PROFILE_DECRYPTION",
"table_content": [
"0\ttest\t{\"dynamic_bypass\":{\"ev_cert\":0,\"cert_transparency\":0,\"mutual_authentication\":1,\"cert_pinning\":1,\"protocol_errors\":1,\"trusted_root_cert_is_not_installed_on_client\":1},\"protocol_version\":{\"min\":\"ssl3\",\"max\":\"ssl3\",\"mirror_client\":1,\"allow_http2\":1},\"certificate_checks\":{\"approach\":{\"cn\":1,\"issuer\":1,\"self-signed\":1,\"expiration\":0},\"fail_action\":\"pass-through\"}}\t1",
"3\ttest\t{\"dynamic_bypass\":{\"ev_cert\":1,\"cert_transparency\":1,\"mutual_authentication\":1,\"cert_pinning\":1,\"protocol_errors\":1,\"trusted_root_cert_is_not_installed_on_client\":0},\"protocol_version\":{\"min\":\"ssl3\",\"max\":\"tls13\",\"mirror_client\":1,\"allow_http2\":1},\"certificate_checks\":{\"approach\":{\"cn\":1,\"issuer\":1,\"self-signed\":1,\"expiration\":1},\"fail_action\":\"fail-close\"}}\t1",
diff --git a/resource/pangu/table_info.conf b/resource/pangu/table_info.conf
index 14e31d6..58d2e98 100644
--- a/resource/pangu/table_info.conf
+++ b/resource/pangu/table_info.conf
@@ -346,7 +346,7 @@
},
{
"table_id":31,
- "table_name":"TSG_PROFILE_DECRYPTION",
+ "table_name":"PXY_PROFILE_DECRYPTION",
"table_type":"plugin",
"valid_column":4,
"custom": {