]> git.ipfire.org Git - thirdparty/suricata.git/commit
smb: handle records in the wrong direction
authorJason Ish <jason.ish@oisf.net>
Fri, 18 Feb 2022 04:57:30 +0000 (22:57 -0600)
committerVictor Julien <vjulien@oisf.net>
Tue, 19 Apr 2022 18:53:40 +0000 (20:53 +0200)
commitb6df4564338d43c1cac7b1290b3a02a496b2d7a4
tree6557a7b571cc46ca9f57d80d16bafab27e645077
parent2d8dcc02f9086bb5b0786ab66d417891230c66e9
smb: handle records in the wrong direction

If an SMB record is seen in the wrong direction, set an event on the PDU
frame and don't process the record in the state.

No error is returned, so the next record will be processed.

(cherry picked from commit 2341f47755c616f9ee3249cd28372eab45889e0d)
rust/src/smb/events.rs
rust/src/smb/smb.rs
rust/src/smb/smb2_records.rs