]> git.ipfire.org Git - thirdparty/suricata.git/commit
ips: check for livedev.use-for-tracking 10922/head 10927/head
authorVictor Julien <vjulien@oisf.net>
Tue, 16 Apr 2024 13:07:46 +0000 (15:07 +0200)
committerVictor Julien <vjulien@oisf.net>
Sat, 20 Apr 2024 06:53:13 +0000 (08:53 +0200)
commit04b8a7abbe06967680dc929412502d8a9f4114e6
treef8c5266146e2cbf835882e8e014c056b669e4075
parentb8739ea13fa9c3735df6f6cfc3d76e1ab1fe0c60
ips: check for livedev.use-for-tracking

For the capture methods that support livedev and IPS,
livedev.use-for-tracking is not supported.

This setting causes major flow tracking issues, as both sides of
a flow would be tracked in different flows.

This patch disables the livedev.use-for-tracking setting if it
is set to true. A warning will be issued.

Ticket: #6726.
(cherry picked from commit 08841f27ffc1b0e06d2d08d9336a73032261c78c)
src/runmodes.c