Commit Graph

5 Commits (db0f9ddc697eff5d6f5bc1f2f0d06f7307a62750)

Author SHA1 Message Date
Victor Julien a8e2399ea9 eve/metadata: create preformatted json string at start up
Avoid runtime overhead of assembling metadata json string by
pre-creating it at rule parsing time.
6 years ago
Eric Leblond 9864552484 detect-metadata: add a string storage to de_ctx
To avoid to have a lot of string allocations, we use a hash table
stored in de_ctx to point to existing string instead of duplicating
them.
9 years ago
Eric Leblond 474fc60671 detect-metadata: store metadata key value pairs
This patch updates the Signature structure so it contains the
metadata under a key value form.
Later patch will make that dictionary available in the events.
9 years ago
William Metcalf ce01927515 Import of GPLv2 Header 050410 16 years ago
Victor Julien bab4b62376 Initial add of the files. 17 years ago