]> git.ipfire.org Git - thirdparty/suricata.git/commit
eve: log tag packets as packet events
authorJason Ish <ish@unx.ca>
Mon, 1 Aug 2016 20:01:49 +0000 (14:01 -0600)
committerVictor Julien <victor@inliniac.net>
Mon, 29 Aug 2016 09:53:00 +0000 (11:53 +0200)
commit040660556eb1b4260c4998407baa48409e6f06df
treefa09b72d4206c4150e4e31d8d8c8e4d91964f654
parent305b1b90fd11b8684dbf85c44da5171abf6c3035
eve: log tag packets as packet events

Create a new eve event type, "packet" for logging packets that
are tagged as part of an event. The packet is still at the top
level to keep it consistent with alert event types.

In addition to the packet being logged, a packet_info object
is created to hold the linktype and any future meta data
we may want to add about the packet.
src/output-json-alert.c