]> git.ipfire.org Git - thirdparty/suricata.git/commit
decode/tunnel: improve tunnel handling
authorVictor Julien <vjulien@oisf.net>
Sun, 3 Dec 2023 18:37:31 +0000 (19:37 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 13 Mar 2024 05:35:29 +0000 (06:35 +0100)
commit6066c4d6e7c0f2e207c8e5204e5198fd2cde4117
tree0b02da94bc7332d1506599a43bbc350a5d772418
parent9bc42e3b34e6ba75fd71a6ddf0af412b70367a61
decode/tunnel: improve tunnel handling

Give each packet explicit tunnel type `ttype`: none, root, child.

Assigning happens when a (tunnel) packet is set up and is thread
safe.
16 files changed:
src/decode.c
src/decode.h
src/defrag.c
src/detect-mark.c
src/log-pcap.c
src/output-json-alert.c
src/packet.c
src/respond-reject.c
src/source-af-packet.c
src/source-ipfw.c
src/source-nfq.c
src/source-pfring.c
src/source-windivert.c
src/stream-tcp-list.c
src/tmqh-packetpool.c
src/util-profiling.c