Subsections

2.8 Dynamic Modules

Dynamically loadable modules were introduced with Snort 2.6. They can be loaded via directives in snort.conf or via command-line options.

2.8.1 Format

    <directive> <parameters>

2.8.2 Directives

Syntax Description
dynamicpreprocessor $[$ file $<$shared library path$>$ $\vert$ directory $<$directory of shared libraries$>$ $]$

Tells snort to load the dynamic preprocessor shared library (if file is used) or all dynamic preprocessor shared libraries (if directory is used). Specify file, followed by the full or relative path to the shared library. Or, specify directory, followed by the full or relative path to a directory of preprocessor shared libraries. (Same effect as -dynamic-preprocessor-lib or -dynamic-preprocessor-lib-dir options). See chapter [*] for more information on dynamic preprocessor libraries.

dynamicengine $[$ file $<$shared library path$>$ $\vert$ directory $<$directory of shared libraries$>$ $]$

Tells snort to load the dynamic engine shared library (if file is used) or all dynamic engine shared libraries (if directory is used). Specify file, followed by the full or relative path to the shared library. Or, specify directory, followed by the full or relative path to a directory of preprocessor shared libraries. (Same effect as -dynamic-engine-lib or -dynamic-preprocessor-lib-dir options). See chapter [*] for more information on dynamic engine libraries.

dynamicdetection $[$ file $<$shared library path$>$ $\vert$ directory $<$directory of shared libraries$>$ $]$

Tells snort to load the dynamic detection rules shared library (if file is used) or all dynamic detection rules shared libraries (if directory is used). Specify file, followed by the full or relative path to the shared library. Or, specify directory, followed by the full or relative path to a directory of detection rules shared libraries. (Same effect as -dynamic-detection-lib or -dynamic-detection-lib-dir options). See chapter [*] for more information on dynamic detection rules libraries.