]> git.ipfire.org Git - thirdparty/suricata.git/commit
output: log tx only when there is a fresh app update
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 22 Feb 2024 08:42:41 +0000 (09:42 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 28 Feb 2024 13:24:03 +0000 (14:24 +0100)
commitc41540f8391b44bf4d91d32641cc608ebfecb19c
tree2587f1250ec0f0f724e4ae003dff7b765cdd078d
parentc283e8565a74e0ca05f5bd45567da4f87fe9e70b
output: log tx only when there is a fresh app update

Ticket: 6796

Similar to commit for detection
9240ae250cc369306803740279df2ab3eca6b54a

We only have more logging to do if the app update was fresh,
ie if p->app_update_direction != 0

If we have data acknowledged in one direction,
and then many packets in the other direction,
the APP_UPDATED flow flags did not get reset because we did not
run detection yet in this direction,
but there is nothing more to do after the first packet in the
other direction.
src/output-tx.c