diff --git a/rust/src/dcerpc/dcerpc.rs b/rust/src/dcerpc/dcerpc.rs index 9ac3b6ba2c..d755f256c6 100644 --- a/rust/src/dcerpc/dcerpc.rs +++ b/rust/src/dcerpc/dcerpc.rs @@ -515,12 +515,18 @@ impl DCERPCState { if found { match dir { Direction::ToServer => { + if tx.req_done || tx.req_lost { + continue; + } let resp_cmd = get_resp_type_for_req(cmd); if resp_cmd != tx.resp_cmd { continue; } } Direction::ToClient => { + if tx.resp_done || tx.resp_lost { + continue; + } let req_cmd = get_req_type_for_resp(cmd); if req_cmd != tx.req_cmd { continue;