fix TSG-14832:Monitor SSH的策略,安全日志中有对应策略的日志,但策略详情页log count为0

This commit is contained in:
杨玉波
2023-04-24 01:42:18 +00:00
committed by 杨威
parent 8c355a3c93
commit ecd1177511

View File

@@ -1441,6 +1441,12 @@ static unsigned char matched_security_rules_deal(const struct streaminfo *a_stre
{
break;
}
if (srt_process_context->proto == PROTO_SSH)
{
tsg_set_policy_flow(a_stream, p_rule, a_stream->threadnum);
}
session_packet_capture_notify(a_stream, security_rules, n_security_rules, a_stream->threadnum);
session_matched_rules_notify(a_stream, TSG_SERVICE_SECURITY, security_rules, n_security_rules, a_stream->threadnum);
break;