]> git.ipfire.org Git - thirdparty/suricata.git/commit
flow: flag packets as established for async
authorVictor Julien <victor@inliniac.net>
Tue, 7 Aug 2018 11:28:55 +0000 (13:28 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 1 Nov 2018 14:46:10 +0000 (15:46 +0100)
commit8f32fad935e825f0a7e759ea9d3998fef091f597
treefc4f431d3a98af12b536486d49283a22e55c9c36
parentd036374749e830977d209302bd4fda9e88d963ef
flow: flag packets as established for async

If a stream is async we see only on side of the traffic. This would
lead to the flow engine not flagging packets as 'established' even
if the flow state was in fact established. The flow was tagged as
such by the TCP engine.

This patch considers the flow state for setting the packet flag.

Bug #2491.
src/flow.c