修复基础协议管控RST动作不生效的问题,使用MESA_rst_tcp函数需指定RST包方向

修复重构后FQDN分类不命中的BUG
This commit is contained in:
liuxueli
2021-03-08 11:19:17 +08:00
parent 16ef0cde92
commit d265be9687
2 changed files with 4 additions and 3 deletions

View File

@@ -1165,7 +1165,8 @@ extern "C" char TSG_MASTER_TCP_ENTRY(struct streaminfo *a_tcp, void **pme, int t
rst_paras.signature_seed2=13;
rst_paras.th_flags=4;
rst_paras.__pad_no_use=0;
MESA_rst_tcp(a_tcp, &rst_paras, sizeof(rst_paras));
rst_paras.dir=DIR_DOUBLE;
ret=MESA_rst_tcp(a_tcp, &rst_paras, sizeof(rst_paras));
opt_value=1;
MESA_set_stream_opt(a_tcp, MSO_TCP_RST_REMEDY, (void *)&opt_value, sizeof(opt_value));

View File

@@ -1585,8 +1585,8 @@ int tsg_scan_shared_policy(Maat_feather_t maat_feather, struct streaminfo *a_str
);
}
ret=project_req_add_struct(a_stream, g_tsg_para.internal_project_id, (const void *)attribute_label);
if(ret>0)
attribute_label=(struct _session_attribute_label_t *)project_req_get_struct(a_stream, g_tsg_para.internal_project_id);
if(attribute_label!=NULL)
{
attribute_label->fqdn_category_id_num=tsg_get_fqdn_category_id(g_tsg_maat_feather,
identify_info->domain,