]> git.ipfire.org Git - people/ms/suricata.git/commit
ssh: handles incomplete record after banner
authorPhilippe Antoine <contact@catenacyber.fr>
Tue, 26 May 2020 06:46:24 +0000 (08:46 +0200)
committerVictor Julien <victor@inliniac.net>
Sat, 30 May 2020 18:39:34 +0000 (20:39 +0200)
commit6373071aa3a79579b45884a0bb21452d0641fbcf
treee7899997b575fb2e2d9d173fc71c4cb6cf95299b
parentae5650d443c77054623585d39d5f1e98d8a6bf24
ssh: handles incomplete record after banner

To signal incomplete data, we must return the number of
consumed bytes. When we get a banner and some records, we have
to take into account the number of bytes already consumed by
the banner parsing before reaching an incomplete record.
rust/src/ssh/ssh.rs