feature:TSG-14522:适配tsg_master修改
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#define MAX_STRING_LEN 32
|
||||
|
||||
#define TSG_DIAGNOSE_POLICY_CNT 32
|
||||
#define MAX_DOMAIN_LEN 2048
|
||||
|
||||
|
||||
enum intercept_error{
|
||||
@@ -101,7 +102,7 @@ struct pme_info{
|
||||
char stream_addr[KNI_ADDR_MAX];
|
||||
int do_log;
|
||||
int policy_id;
|
||||
tsg_protocol_t protocol;
|
||||
enum TSG_PROTOCOL protocol;
|
||||
enum kni_action action;
|
||||
int service;
|
||||
struct kni_tcpopt_info client_tcpopt;
|
||||
@@ -126,8 +127,9 @@ struct pme_info{
|
||||
//kafka log
|
||||
struct TLD_handle_t *tld_handle;
|
||||
const struct streaminfo *stream;
|
||||
int maat_result_num;
|
||||
Maat_rule_t maat_result;
|
||||
//int maat_result_num;
|
||||
int n_maat_rule;
|
||||
struct maat_rule maat_rule;
|
||||
//from tfe, kafka log
|
||||
uint64_t ssl_intercept_state;
|
||||
uint64_t ssl_pinningst; //defalut 0
|
||||
@@ -151,7 +153,7 @@ struct pme_info{
|
||||
//for proxy tcp option
|
||||
struct proxy_tcp_option pxy_tcp_option;
|
||||
int pxy_tcp_option_is_scan;
|
||||
struct session_attribute_label *session_attribute;
|
||||
struct session_runtime_attribute *session_attribute;
|
||||
//for ssl passthrough reason
|
||||
char ssl_passthrough_reason[KNI_SYMBOL_MAX];
|
||||
};
|
||||
@@ -243,7 +245,7 @@ struct kni_handle{
|
||||
char maat_table_name[TABLE_MAX][_MAX_MAAT_TABLE_NAME_LEN]; // for proxy tcp option maat name
|
||||
int maat_table_id[TABLE_MAX];
|
||||
struct proxy_tcp_option pxy_tcp_option;
|
||||
int session_attribute_id;
|
||||
// int session_attribute_id;
|
||||
int log_level;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user