]> git.ipfire.org Git - people/ms/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>
Fri, 4 Mar 2022 15:50:54 +0000 (16:50 +0100)
commit2341f47755c616f9ee3249cd28372eab45889e0d
tree73bb6adc4472110b76952e049ad32ccc5c00230f
parent09e2d3b216218eaed471b3ddb496873223744cf8
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.
rust/src/smb/events.rs
rust/src/smb/smb.rs
rust/src/smb/smb2_records.rs