Commit Graph

6 Commits (c4cf062a6f35bdfc34f4b6534cbf4dacaf31705d)

Author SHA1 Message Date
Philippe Antoine 1bb51d114c util: fix int warnings in unit tests
Ticket: 4516
5 years ago
Victor Julien cd40fcdea7 macset: adjust test to pass after fix 5 years ago
Eric Leblond 328bdf2c61 macset: fix memory size check 5 years ago
Philippe Antoine 8bf6530540 config: fix null dereference in MacSetRegisterFlowStorage
Crash happens with
--set outputs.eve-json.types.files.force-magic=yes
5 years ago
Victor Julien bc667a4a93 flow/storage: use dedicated 'id' type
Wrap the id in a new FlowStorageId struct to avoid id confusion with other
storage API calls.
6 years ago
Sascha Steinbiss 4e1a41a17d output-json: add MAC address output
This commit adds MAC address output to the EVE-JSON format. We follow the
remarks made in Redmine ticket #962: for packets, log MAC src/dst as a
scalar field in EVE; for flows, log MAC src/dst as lists in EVE. Field names
are different between flow and packet context to avoid type confusion
(src_mac vs. src_macs). Configuration approach and JSON representation is
taken from previous GitHub PR #2700.
6 years ago