29.6. Upgrading
29.6.1. Upgrading 8.0 to 9.0
29.6.1.1. Alert Logging
Alert logging is done by iterating the PacketAlert entries in Packet::alerts. In 9.0 it is important to check the PacketAlert::action field for the ACTION_ALERT flag. If this flag is not set, no alert should be generated. This is to support the pass-rule usecase better.
29.6.2. Upgrading 7.0 to 8.0
29.6.2.1. EVE File Types
The
ThreadInitfunction will now be called when in threaded and non-threaded modes. This simplifies the initialization for EVE filetypes as they can use the same flow of execution for both modes. To upgrade, either remove the call toThreadInitfromInit, or move per-thread setup code fromInittoThreadInit.Many of the function arguments to the callbacks have been made
constwhere it made sense.
Please see the latest example EVE filetype plugin for an up to date example.