From 0a3d06eed130c24557898b69f7565beb82f102c0 Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Tue, 11 Apr 2023 09:48:21 +0800 Subject: [PATCH] =?UTF-8?q?TSG-14627=20TFE=E9=80=82=E9=85=8DDecryption=20P?= =?UTF-8?q?rofile=E5=BA=93=E8=A1=A8=E7=9A=84=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/ssl-policy/src/ssl_policy.cpp | 4 ++-- resource/pangu/doh.json | 2 +- resource/pangu/pangu_http.json | 2 +- resource/pangu/table_info.conf | 2 +- 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": {