]> 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>
Tue, 5 Dec 2023 20:16:22 +0000 (21:16 +0100)
commit4f85d061926e870a48aeaf13bdbb4666ad7fc07e
tree9b0b7ff62855674f9c13fd7f9efb0b1d442ae2fd
parent1ac5d97259994f73e64533366d74e40f9fe22694
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
rust/src/pgsql/pgsql.rs