]> 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>
Sat, 9 Mar 2024 12:57:09 +0000 (13:57 +0100)
commit2c81fe138b483e7c0e7a1390220e16bcb8725ee6
tree3ad6fe1fd72eb8548382e43427232366365c0e89
parent2efde5b87fc3f3d8d003a1c6235428f6cdb9b324
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.

(cherry picked from commit c41540f8391b44bf4d91d32641cc608ebfecb19c)
src/output-tx.c