Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
default=null;# do not add to config unless specified
description=''
Engine statistics such as packet counters, memory use counters and others can be logged in several ways. A separate text log 'stats.log' and an EVE record type 'stats' are enabled by default.
'';
};
plugins=mkOption{
type=withtypes;nullOr(listOfpath);
default=null;
description=''
Plugins -- Experimental -- specify the filename for each plugin shared object
Plugins -- Experimental -- specify the filename for each plugin shared object.
'';
};
@@ -282,7 +363,7 @@ in
];
default="info";
description=''
Loglevel for logs written to the logfile
Loglevel for logs written to the logfile.
'';
};
@@ -290,7 +371,7 @@ in
type=types.str;
default="suricata.log";
description=''
Filename of the logfile
Filename of the logfile.
'';
};
@@ -298,7 +379,7 @@ in
type=types.nullOrtypes.str;
default=null;
description=''
Logformat for logs written to the logfile
Logformat for logs written to the logfile.
'';
};
@@ -306,7 +387,7 @@ in
type=types.nullOrtypes.str;
default=null;
description=''
Type of logfile
Type of logfile.
'';
};
};
@@ -317,7 +398,7 @@ in
type=types.str;
default="local5";
description=''
Facility to log to
Facility to log to.
'';
};
@@ -325,7 +406,7 @@ in
type=types.nullOrtypes.str;
default=null;
description=''
Logformat for logs send to syslog
Logformat for logs send to syslog.
'';
};
@@ -333,7 +414,7 @@ in
type=types.nullOrtypes.str;
default=null;
description=''
Type of logs send to syslog
Type of logs send to syslog.
'';
};
};
@@ -350,13 +431,16 @@ in
interface=mkOption{
type=types.str;
default=null;
description=''
af-packet capture interface, see [upstream docs reagrding tuning](https://docs.suricata.io/en/latest/performance/tuning-considerations.html#af-packet).
'';
};
};
})
);
default=null;
description=''
Linux high speed capture support
Linux high speed capture support.
'';
};
@@ -370,6 +454,9 @@ in
interface=mkOption{
type=types.str;
default=null;
description=''
af-xdp capture interface, see [upstream docs](https://docs.suricata.io/en/latest/capture-hardware/af-xdp.html).
dpdk eal-params.proc-type, see [data plane development kit docs](https://doc.dpdk.org/guides/linux_gsg/linux_eal_parameters.html#multiprocessing-related-options).
'';
};
interfaces=mkOption{
type=
@@ -400,18 +490,26 @@ in
interface=mkOption{
type=types.str;
default=null;
description=''
See upstream docs: [docs/capture-hardware/dpdk](https://docs.suricata.io/en/suricata-7.0.7/capture-hardware/dpdk.html) and [docs/configuration/suricata-yaml.html#data-plane-development-kit-dpdk](https://docs.suricata.io/en/suricata-7.0.7/configuration/suricata-yaml.html#data-plane-development-kit-dpdk).
'';
};
};
})
);
default=null;
description=''
See upstream docs: [docs/capture-hardware/dpdk](https://docs.suricata.io/en/suricata-7.0.7/capture-hardware/dpdk.html) and [docs/configuration/suricata-yaml.html#data-plane-development-kit-dpdk](https://docs.suricata.io/en/suricata-7.0.7/configuration/suricata-yaml.html#data-plane-development-kit-dpdk).
Data Plane Development Kit is a framework for fast packet processing in data plane applications running on a wide variety of CPU architectures. DPDK's Environment Abstraction Layer (EAL) provides a generic interface to low-level resources. It is a unique way how DPDK libraries access NICs. EAL creates an API for an application to access NIC resources from the userspace level. In DPDK, packets are not retrieved via interrupt handling. Instead, the application polls the NIC for newly received packets.
DPDK allows the user space application to directly access memory where the NIC stores the packets. As a result, neither DPDK nor the application copies the packets for the inspection. The application directly processes packets via passed packet descriptors.
See [docs/capture-hardware/dpdk](https://docs.suricata.io/en/suricata-7.0.7/capture-hardware/dpdk.html) and [docs/configuration/suricata-yaml.html#data-plane-development-kit-dpdk](https://docs.suricata.io/en/suricata-7.0.7/configuration/suricata-yaml.html#data-plane-development-kit-dpdk).
'';
};
@@ -425,13 +523,16 @@ in
interface=mkOption{
type=types.str;
default=null;
description=''
pcap capture interface, see [upstream docs](https://docs.suricata.io/en/latest/manpages/suricata.html).
'';
};
};
})
);
default=null;
description=''
Cross platform libpcap capture support
Cross platform libpcap capture support.
'';
};
@@ -448,7 +549,7 @@ in
- no: checksum validation is disabled
- auto: Suricata uses a statistical approach to detect when
checksum off-loading is used. (default)
Warning: 'checksum-validation' must be set to yes to have checksum tested
Warning: 'checksum-validation' must be set to yes to have checksum tested.
'';
};
@@ -498,22 +599,28 @@ in
})
);
default=null;
description=''
app-layer protocols, see [upstream docs](https://docs.suricata.io/en/latest/rules/app-layer.html).
'';
};
};
});
default=null;# do not add to config unless specified
description=''
app-layer configuration, see [upstream docs](https://docs.suricata.io/en/latest/rules/app-layer.html).
'';
};
"run-as"={
user=mkOption{
type=types.str;
default="suricata";
description="Run Suricata with a specific user-id";
description="Run Suricata with a specific user-id.";
};
group=mkOption{
type=types.str;
default="suricata";
description="Run Suricata with a specific group-id";
description="Run Suricata with a specific group-id.";
};
};
@@ -540,10 +647,16 @@ in
enabled=mkOption{
type=types.eithertypes.bool(types.enum["auto"]);
default="auto";
description=''
Enable unix-command socket.
'';
};
filename=mkOption{
type=types.path;
default="/run/suricata/suricata-command.socket";
description=''
Filename for unix-command socket.
'';
};
};
});
@@ -585,31 +698,33 @@ in
"default-rule-path"=mkOption{
type=types.path;
default="/var/lib/suricata/rules";
description="Path in which suricata-update managed rules are stored by default";
description="Path in which suricata-update managed rules are stored by default.";
};
"rule-files"=mkOption{
type=types.listOftypes.str;
default=["suricata.rules"];
description="Files to load suricata-update managed rules, relative to 'default-rule-path'";
description="Files to load suricata-update managed rules, relative to 'default-rule-path'.";