]> git.ipfire.org Git - thirdparty/suricata.git/commit
smb/dce_iface: use DCERPC_TYPE_REQUEST
authorEloy Pérez González <zer1t0ps@protonmail.com>
Fri, 22 Oct 2021 11:52:14 +0000 (13:52 +0200)
committerVictor Julien <vjulien@oisf.net>
Mon, 24 Jan 2022 14:37:54 +0000 (15:37 +0100)
commit1ae22fd5de3155c356c1191759cb7c066498a93e
tree0f99db1049950cbfbbdaa6be5f6792386de20416
parent333db3b3852899885f1c2a251b4643b124e3cb18
smb/dce_iface: use DCERPC_TYPE_REQUEST

The smb dce_iface keyword must match for all those dcerpc requests and
responses sent in the context of the given interface. They are not
matching because in rs_smb_tx_get_dce_iface, x.req_cmd is erroneously
compared with 1. Fix this by comparing with DCERPC_TYPE_REQUEST instead.

Ticket: 4767
rust/src/smb/detect.rs