[][src]Struct suricata_ipc::prelude::Config

pub struct Config {
    pub enable_stats: bool,
    pub enable_flows: bool,
    pub enable_http: bool,
    pub enable_dns: bool,
    pub enable_smtp: bool,
    pub enable_tls: bool,
    pub enable_community_id: bool,
    pub materialize_config_to: PathBuf,
    pub exe_path: PathBuf,
    pub alerts: AlertConfiguration,
    pub rule_path: PathBuf,
    pub suriata_config_path: PathBuf,
    pub internal_ips: InternalIps,
    pub max_pending_packets: u16,
}

Configuration options for suricata

Fields

enable_stats: bool

Whether statistics should be enabled (output) for suricata

enable_flows: bool

Whether flows should be enabled (output) for suricata

enable_http: bool

Whether http should be enabled (output) for suricata

enable_dns: bool

Whether dns should be enabled (output) for suricata

enable_smtp: bool

Whether smtp should be enabled (output) for suricata

enable_tls: bool

Whether tls should be enabled (output) for suricata

enable_community_id: bool

Whether community id should be enabled

materialize_config_to: PathBuf

Path where config will be materialized to

exe_path: PathBuf

Path where the suricata executable lives

alerts: AlertConfiguration

Configuration for alerts

rule_path: PathBuf

Path where the rules reside at

suriata_config_path: PathBuf

Path where suricata config resides at (e.g. threshold config)

internal_ips: InternalIps

Internal ips to use for HOME_NET

max_pending_packets: u16

Max pending packets before suricata will block on incoming packets

Implementations

impl Config[src]

pub fn materialize(&self) -> Result<(), Error>[src]

Trait Implementations

impl Default for Config[src]

Auto Trait Implementations

impl RefUnwindSafe for Config

impl Send for Config

impl Sync for Config

impl Unpin for Config

impl UnwindSafe for Config

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,