]> git.ipfire.org Git - thirdparty/suricata.git/commit
pgsql: fix probing functions
authorJuliana Fajardini <jufajardini@oisf.net>
Thu, 23 Nov 2023 11:14:24 +0000 (08:14 -0300)
committerVictor Julien <victor@inliniac.net>
Fri, 8 Dec 2023 20:15:42 +0000 (21:15 +0100)
commitc35057a9ed013179f78e248f7414dd740900cca3
treefe44ad9e17b953ebd04998d8b4daa756de97350b
parent7e39a9f4a96efa076edecfd3d4e262f281c3b221
pgsql: fix probing functions

Some non-pgsql traffic seen by Suricata is mistankenly identified as
pgsql, as the probing function is too generic. Now, if the parser sees
an unknown message type, even if it looks like pgsql, it will fail.

Bug #6080

(cherry picked from commit 4f85d061926e870a48aeaf13bdbb4666ad7fc07e)
rust/src/pgsql/pgsql.rs