]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/ipopts: Handle multiple ip options
authorJeff Lucovsky <jlucovsky@oisf.net>
Tue, 16 Apr 2024 12:34:42 +0000 (08:34 -0400)
committerVictor Julien <victor@inliniac.net>
Fri, 19 Apr 2024 08:42:25 +0000 (10:42 +0200)
commitf3a7b0ff287814d686626b9278c069606d7e24a4
tree6bdda724e7955b8b1cc7382c88c96b9b1efe4a5e
parent2100c346d1f5d8fdb61e6fcdd83ecdf9c493eadc
detect/ipopts: Handle multiple ip options

Issue: 6864

Multiple IP options were not handled properly as the value being OR'd
into the packet's ip option variable were enum values instead of bit
values.

(cherry picked from commit d7026b7b11e117cbaa99d2a56be3738a84c08d5c)
src/decode-ipv4.h
src/detect-ipopts.c