fix TSG-14832:Monitor SSH的策略,安全日志中有对应策略的日志,但策略详情页log count为0
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user