mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
allow for mmap-locked to be configured
This commit is contained in:
@@ -30,6 +30,7 @@ suricata:
|
|||||||
cluster-type: cluster_flow
|
cluster-type: cluster_flow
|
||||||
defrag: "yes"
|
defrag: "yes"
|
||||||
use-mmap: "yes"
|
use-mmap: "yes"
|
||||||
|
mmap-locked: "yes"
|
||||||
threads: 1
|
threads: 1
|
||||||
tpacket-v3: "yes"
|
tpacket-v3: "yes"
|
||||||
ring-size: 5000
|
ring-size: 5000
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
cluster-type: {{ SURICATAMERGED.config['af-packet']['cluster-type'] }}
|
cluster-type: {{ SURICATAMERGED.config['af-packet']['cluster-type'] }}
|
||||||
defrag: "{{ SURICATAMERGED.config['af-packet'].defrag }}"
|
defrag: "{{ SURICATAMERGED.config['af-packet'].defrag }}"
|
||||||
use-mmap: "{{ SURICATAMERGED.config['af-packet']['use-mmap'] }}"
|
use-mmap: "{{ SURICATAMERGED.config['af-packet']['use-mmap'] }}"
|
||||||
|
mmap-locked: {{ SURICATAMERGED.config['af-packet']['mmap-locked'] }}
|
||||||
threads: {{ SURICATAMERGED.config['af-packet'].threads }}
|
threads: {{ SURICATAMERGED.config['af-packet'].threads }}
|
||||||
tpacket-v3: "{{ SURICATAMERGED.config['af-packet']['tpacket-v3'] }}"
|
tpacket-v3: "{{ SURICATAMERGED.config['af-packet']['tpacket-v3'] }}"
|
||||||
ring-size: {{ SURICATAMERGED.config['af-packet']['ring-size'] }}
|
ring-size: {{ SURICATAMERGED.config['af-packet']['ring-size'] }}
|
||||||
|
|||||||
@@ -83,6 +83,11 @@ suricata:
|
|||||||
use-mmap:
|
use-mmap:
|
||||||
advanced: True
|
advanced: True
|
||||||
readonly: True
|
readonly: True
|
||||||
|
mmap-locked:
|
||||||
|
description: Prevent swapping by locking the memory map.
|
||||||
|
advanced: True
|
||||||
|
regex: ^(yes|no)$
|
||||||
|
helpLink: suricata.html
|
||||||
threads:
|
threads:
|
||||||
description: The amount of worker threads.
|
description: The amount of worker threads.
|
||||||
helpLink: suricata.html
|
helpLink: suricata.html
|
||||||
|
|||||||
Reference in New Issue
Block a user