From 3e9f0aa73044c39f6f5583e3c4c4f7c5c66cb9ab Mon Sep 17 00:00:00 2001 From: Yang Yubo Date: Wed, 12 Apr 2023 18:34:17 +0800 Subject: [PATCH] =?UTF-8?q?fix=20TSG-14676:Drop=20After=20N=20Packets?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=B8=BA=E9=9D=9E0=E5=80=BC=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=AE=89=E5=85=A8=E6=97=A5=E5=BF=97=E4=B8=AD=E6=9C=89?= =?UTF-8?q?=E5=AF=B9=E5=BA=94=E7=AD=96=E7=95=A5=E7=9A=84=E6=97=A5=E5=BF=97?= =?UTF-8?q?=EF=BC=8C=E4=BD=86=E7=AD=96=E7=95=A5=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E6=98=BE=E7=A4=BALog=20Count=E4=B8=BA0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_entry.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index 310147b..e03f538 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -1419,6 +1419,7 @@ static unsigned char matched_security_rules_deal(const struct streaminfo *a_stre if(is_deny_after_N_packets(p_rule)) { + tsg_set_policy_flow(a_stream, p_rule, a_stream->threadnum); session_matched_rules_notify(a_stream, TSG_SERVICE_SECURITY, p_rule, 1, a_stream->threadnum); if(a_stream->type==STREAM_TYPE_TCP) {