Ticket #9 (accepted Task)
Creating a Broccoli event from raw pointers
| Reported by: | matthias | Owned by: | kreibich |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Broccoli | Version: | 1.5.2 |
| Keywords: | Cc: |
Description
In the Broccoli event callback, it is possible to obtain a raw version of an event by copying the memory range from the ev_start and ev_end pointers in the BroEvMeta struct.
However, there is currently no way to create an event from a raw byte stream. It would be great to have a simple interface that creates a Broccoli event given a pointer pair to contiguous memory range with the raw event.
Attachments
Change History
comment:4 Changed 3 years ago by kreibich
It'd help if I could get some stored serializations of complex events for testing. Matthias, do you have any such files sitting around?
comment:5 Changed 3 years ago by matthias
I attached a the raw binary version of two events (packet_contents and connection_EOF). If you need more examples, let me know.
Note: See
TracTickets for help on using
tickets.
