Module retina_core::config
source · Expand description
Configuration options.
While applications that use Retina are free to define their own command line arguments, Retina requires a separate configuration file that defines runtime options for CPU and memory usage, network interface(s), logging, protocol-specific items, and more. The path to the configuration file itself will typically be a command line argument passed to the application.
Retina can run in either “online” mode (reading packets from a live network interface) or “offline” mode (reading packets from a capture file). See configs for examples.
Structs§
- Connection tracking options.
- Live statistics display options.
- Logging options.
- Memory pool options.
- Statistics logging and live monitoring operations.
- Offline traffic analysis options.
- Live traffic analysis options.
- Network interface options.
- Runtime configuration options.
- Sink core options.
Functions§
- Loads a default configuration file.
- Loads a configuration file from
path
.