summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2022-09-09 14:52:05 +0800
committerliuxueli <[email protected]>2022-09-09 14:53:07 +0800
commit2ad75bc41ca6865ce7fad63803f1e8e2e8707d06 (patch)
tree920be23fc0f32838d7648ed82c08311ca5f8cfa2 /bin
parent3db9fad79cf6843af8643344ef48e973809cdc19 (diff)
TSG-11860 - 支持匹配Tunnel Object作为策略条件,以及输出Tunnel Object信息至安全日志和过渡日志
Diffstat (limited to 'bin')
-rw-r--r--bin/tsg_log_field.conf15
-rw-r--r--bin/tsg_static_tableinfo.conf6
2 files changed, 14 insertions, 7 deletions
diff --git a/bin/tsg_log_field.conf b/bin/tsg_log_field.conf
index 3e08018..a0dba78 100644
--- a/bin/tsg_log_field.conf
+++ b/bin/tsg_log_field.conf
@@ -63,12 +63,12 @@ STRING sip_from 50
STRING sip_to 51
STRING common_tunnels 52
STRING tunnels_schema_type 53
-STRING gtp_sgw_ip 54
-STRING gtp_pgw_ip 55
-STRING gtp_sgw_port 56
-STRING gtp_pgw_port 57
-STRING gtp_uplink_teid 58
-STRING gtp_downlink_teid 59
+STRING gtp_endpoint_a_ip 54
+STRING gtp_endpoint_b_ip 55
+STRING gtp_endpoint_a_port 56
+STRING gtp_endpoint_b_port 57
+STRING gtp_a2b_teid 58
+STRING gtp_b2a_teid 59
STRING mpls_c2s_direction_label 60
STRING mpls_s2c_direction_label 61
STRING vlan_c2s_direction_id 62
@@ -116,3 +116,6 @@ STRING http_request_body 103
STRING http_response_body 104
STRING mail_eml_file 105
STRING common_vsys_id 106
+STRING dtls_sni 107
+STRING common_tunnel_endpoint_a_desc 108
+STRING common_tunnel_endpoint_b_desc 109 \ No newline at end of file
diff --git a/bin/tsg_static_tableinfo.conf b/bin/tsg_static_tableinfo.conf
index 2d9ce82..8b83051 100644
--- a/bin/tsg_static_tableinfo.conf
+++ b/bin/tsg_static_tableinfo.conf
@@ -83,4 +83,8 @@
71 TSG_DYN_SUBSCRIBER_IP plugin {"key":3,"valid":5} --
72 TSG_PROFILE_TRAFFIC_MIRROR plugin {"key":1,"valid":4} --
73 TSG_DYN_MOBILE_IDENTITY_APN_TEID plugin {"key":2,"valid":7} --
-74 TSG_FIELD_DTLS_SNI virtual ["TSG_OBJ_FQDN","TSG_OBJ_FQDN_CAT"] -- \ No newline at end of file
+74 TSG_FIELD_DTLS_SNI virtual ["TSG_OBJ_FQDN","TSG_OBJ_FQDN_CAT"] --
+75 TSG_OBJ_TUNNEL_ID intval UTF8 UTF8 yes 0
+76 TSG_TUNNEL_CATALOG bool_plugin {"row_id":1,"bool_expr":4,"valid":5} --
+77 TSG_TUNNEL_ENDPOINT plugin {"key":2,"valid":4} --
+78 TSG_TUNNEL_LABEL plugin {"key":2,"valid":3} -- \ No newline at end of file