From: Vitalii Serhiiovych Horbatov -X (vhorbato - SOFTSERVE INC at Cisco) Date: Wed, 12 Jul 2023 12:15:16 +0000 (+0000) Subject: Pull request #3905: binder: in case of a service change, remove flags indicating... X-Git-Tag: 3.1.66.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f070773b66409289f43b034738221001c5b417df;p=thirdparty%2Fsnort3.git Pull request #3905: binder: in case of a service change, remove flags indicating an abort of the direction Merge in SNORT/snort3 from ~VHORBATO/snort3:http_reasm_crash to master Squashed commit of the following: commit 83b52fa0fefd9cdf7d0687ba64804ee519225b6a Author: vhorbato Date: Mon Jul 10 11:37:53 2023 +0300 binder: in case of a service change, remove flags indicating an abort of the direction --- diff --git a/src/network_inspectors/binder/binder.cc b/src/network_inspectors/binder/binder.cc index c21abe124..ec9f82986 100644 --- a/src/network_inspectors/binder/binder.cc +++ b/src/network_inspectors/binder/binder.cc @@ -780,6 +780,7 @@ void Binder::handle_flow_service_change(Flow& flow) { flow.set_gadget(ins); flow.ssn_state.snort_protocol_id = ins->get_service(); + flow.clear_session_flags(SSNFLAG_ABORT_CLIENT | SSNFLAG_ABORT_SERVER); if (data and data != flow.data) { if (flow.data)