]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ike: add TX orientation
authorEric Leblond <el@stamus-networks.com>
Mon, 23 Jan 2023 19:03:35 +0000 (20:03 +0100)
committerVictor Julien <vjulien@oisf.net>
Sat, 1 Apr 2023 05:07:33 +0000 (07:07 +0200)
Set no inspection in the opposite side of the transaction.

Ticket: #5799

rust/src/ikev2/ikev2.rs

index d032c997b8a77b645874fdcd3f6f0983e27b775b..c896c090c01577db3020072203774161afe3b142 100644 (file)
@@ -153,6 +153,7 @@ impl IKEV2State {
                 }
                 let mut tx = self.new_tx();
                 // use init_spi as transaction identifier
+               tx.tx_data.set_inspect_direction(direction);
                 tx.xid = hdr.init_spi;
                 tx.hdr = (*hdr).clone();
                 self.transactions.push(tx);