diff options
| author | fengweihao <[email protected]> | 2021-03-24 11:26:18 +0800 |
|---|---|---|
| committer | fengweihao <[email protected]> | 2021-03-24 11:26:18 +0800 |
| commit | 506d3d3bf4bea20e9a2ce7ad9758fa72bfc1a187 (patch) | |
| tree | e7c5db70a41e9e6dc9211954ffba1cd1b9b67eb4 | |
| parent | 9d7142e164b53e2de451d74a82cb4556032e8353 (diff) | |
SIP虚表表名变更修改
| -rw-r--r-- | platform/src/verify_policy.cpp | 4 | ||||
| -rw-r--r-- | resource/table_info_security.conf | 4 | ||||
| -rw-r--r-- | scan/src/policy_scan.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/platform/src/verify_policy.cpp b/platform/src/verify_policy.cpp index 85f120f..2c9e1d8 100644 --- a/platform/src/verify_policy.cpp +++ b/platform/src/verify_policy.cpp @@ -135,8 +135,8 @@ int protoco_field_type_str2idx(enum verify_policy_type type, const char *action_ table_name[PXY_SECURITY_FTP_URI] = "TSG_FIELD_FTP_URI"; table_name[PXY_SECURITY_FTP_CONTENT] = "TSG_FIELD_FTP_CONTENT"; table_name[PXY_SECURITY_FTP_ACCOUNT] = "TSG_FIELD_FTP_ACCOUNT"; - table_name[PXY_SECURITY_SIP_FROM]="TSG_FIELD_SIP_FROM"; - table_name[PXY_SECURITY_SIP_TO]="TSG_FIELD_SIP_TO"; + table_name[PXY_SECURITY_SIP_FROM]="TSG_FIELD_SIP_ORIGINATOR_DESCRIPTION"; + table_name[PXY_SECURITY_SIP_TO]="TSG_FIELD_SIP_RESPONDER_DESCRIPTION"; scan_table_max = PXY_SECURITY_SIP_TO; break; case PXY_TABLE_WANNAT: diff --git a/resource/table_info_security.conf b/resource/table_info_security.conf index 89f0282..8fd90d4 100644 --- a/resource/table_info_security.conf +++ b/resource/table_info_security.conf @@ -56,5 +56,5 @@ 45 TSG_SECURITY_DESTINATION_LOCATION virtual TSG_OBJ_GEO_LOCATION -- 46 TSG_FQDN_CATEGORY_BUILT_IN fqdn_plugin {"row_id":1,"is_suffix_match":4,"fqdn":3,"valid":5} -- 47 TSG_FQDN_CATEGORY_USER_DEFINED fqdn_plugin {"row_id":1,"is_suffix_match":4,"fqdn":3,"valid":5} -- -48 TSG_FIELD_SIP_FROM virtual TSG_OBJ_ACCOUNT -- -49 TSG_FIELD_SIP_TO virtual TSG_OBJ_ACCOUNT -- +48 TSG_FIELD_SIP_ORIGINATOR_DESCRIPTION virtual TSG_OBJ_ACCOUNT -- +49 TSG_FIELD_SIP_RESPONDER_DESCRIPTION virtual TSG_OBJ_ACCOUNT -- diff --git a/scan/src/policy_scan.cpp b/scan/src/policy_scan.cpp index 09ea376..4c032ac 100644 --- a/scan/src/policy_scan.cpp +++ b/scan/src/policy_scan.cpp @@ -1382,8 +1382,8 @@ int security_policy_init(struct verify_policy * verify, const char* profile_path table_name[PXY_SECURITY_IP_DST_ASN]="TSG_SECURITY_DESTINATION_ASN"; table_name[PXY_SECURITY_IP_SRC_LOCATION]="TSG_SECURITY_SOURCE_LOCATION"; table_name[PXY_SECURITY_IP_DST_LOCATION]="TSG_SECURITY_DESTINATION_LOCATION"; - table_name[PXY_SECURITY_SIP_FROM]="TSG_FIELD_SIP_FROM"; - table_name[PXY_SECURITY_SIP_TO]="TSG_FIELD_SIP_TO"; + table_name[PXY_SECURITY_SIP_FROM]="TSG_FIELD_SIP_ORIGINATOR_DESCRIPTION"; + table_name[PXY_SECURITY_SIP_TO]="TSG_FIELD_SIP_RESPONDER_DESCRIPTION"; for (int i = 0; i < __SECURITY_TABLE_MAX; i++) { |
