]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: config keyword transaction logic fix 8458/head
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 25 Jul 2022 08:33:42 +0000 (10:33 +0200)
committerVictor Julien <vjulien@oisf.net>
Wed, 25 Jan 2023 21:38:48 +0000 (22:38 +0100)
commit4b2a59a4d9474b8d35cac4a51db873a75aee0072
treec6a5254078aeb20fe57dac1b9cc2e6ced7204cc7
parent6c7bdd7aca45e72fbe360c5e9146efd5e142e767
detect: config keyword transaction logic fix

When the keyword config:logging disable,type tx is used,
OutputTxLog checks a flag to skip the transaction without logging
it, but AppLayerParserTransactionsCleanup waits for the
transaction to be marked as logged to clean it.

So, OutputTxLog now marks the tx as logged, so that it can
get cleaned away.

Ticket: #5456
(cherry picked from commit 0c0fcc94111b183ae2953f659d14ab2f671fc019)
src/output-tx.c