next up previous contents
Next: Examples Up: Required Functions Previous: Detection Engine   Contents

Rules

Each dynamic rules library must define the following functions. Examples are defined in the file sfnort_dynamic_detection_lib.c. The metadata and setup function for the preprocessor should be defined in sfsnort_dynamic_detection_lib.h.

The sample code provided with Snort predefines those functions and uses the following data within the dynamic rules library.



Eugene Misnik 2013-05-08