]> git.ipfire.org Git - thirdparty/suricata.git/commit
af-packet: use tpacket v3 by default for ids mode
authorJason Ish <jason.ish@oisf.net>
Wed, 19 Feb 2025 05:07:40 +0000 (23:07 -0600)
committerVictor Julien <victor@inliniac.net>
Sat, 22 Mar 2025 06:11:59 +0000 (07:11 +0100)
commit7fdb08b7c759324dc37865c5c791d867392b529d
tree7e9bd5fbe761b9158783d83c93ca4815eb46ed06
parent374762d202daebde9c6cea5892e1a18b1261eae3
af-packet: use tpacket v3 by default for ids mode

If "tpacket-v3" is not present in the configuration file, and we are
in IDS mode, default to "tpacket-v3".

Required moving the check for tpacket-v3 after the copy-mode
configuration, so the warning about tpacket-v3 in active modes has
been moved as well.

Ticket: #4798
src/runmode-af-packet.c
suricata.yaml.in