Add session_uuid and log_uuid to the log field

This commit is contained in:
fengweihao
2024-11-28 16:27:21 +08:00
parent 59e7f7a6a3
commit 15714b4ba3
7 changed files with 68 additions and 16 deletions

View File

@@ -1098,7 +1098,6 @@ static int handle_session_opening(struct metadata *meta, marsio_buff_t *rx_buff,
uint8_t hit_no_intercept = 0;
uint8_t is_session_id_only_key = 0;
uint16_t out_size = 0;
char stream_traceid[24] = {0};
char reason_no_intercept_param[] = "Hit No Intercept Policy";
char reason_invalid_intercept_param[] = "Invalid Intercept Param";
char reason_invalid_tcp_policy_param[] = "Invalid tcp policy Param";

View File

@@ -211,7 +211,7 @@ int tfe_scan_fqdn_tags(const struct tfe_stream *stream, uuid_t *result, struct m
{
memset(&objects, 0, sizeof(objects));
uuid_copy(objects.object_uuid, opt_val[i]);
scan_ret = scan_object(result, scan_mid, hit_cnt, objects, "TSG_OBJ_FQDN", "SERVER_FQDN");
scan_ret = scan_object(result, scan_mid, hit_cnt, objects, "TSG_OBJ_FQDN", "DESTINATION_FQDN");
if (scan_ret > 0)
{
char result_str[UUID_STRING_SIZE]={0};