]> git.ipfire.org Git - thirdparty/suricata.git/commit
ftp: FTPGetAlstateProgress for done port commands
authorPhilippe Antoine <contact@catenacyber.fr>
Mon, 16 Mar 2020 13:48:40 +0000 (14:48 +0100)
committerJeff Lucovsky <jeff@lucovsky.org>
Wed, 22 Apr 2020 11:53:28 +0000 (07:53 -0400)
commitb557972fb646c5a9edccc2a4fad81150f782c23e
tree9c68a57c46fbf62929673e818f1a00ef8704193e
parent75c7b3e0c2acf55686891c28935a68f01a7a3e9e
ftp: FTPGetAlstateProgress for done port commands

For a done transaction with command PORT,
we expect FTP_STATE_FINISHED
and we got FTP_STATE_PORT_DONE instead
which prevented logging of these transactions

We change the order of the evaluations to get the right result

(cherry picked from commit 6f36403219687b1bbcb667078a57c1c9d4aed185)
src/app-layer-ftp.c