mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-29 16:07:53 +02:00
pcapout still used for extracts
This commit is contained in:
@@ -72,7 +72,7 @@ clean() {
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Clean up extracted pcaps from Steno
|
## Clean up extracted pcaps
|
||||||
PCAPS='/nsm/pcapout'
|
PCAPS='/nsm/pcapout'
|
||||||
OLDEST_PCAP=$(find $PCAPS -type f -printf '%T+ %p\n' | sort -n | head -n 1)
|
OLDEST_PCAP=$(find $PCAPS -type f -printf '%T+ %p\n' | sort -n | head -n 1)
|
||||||
if [ -z "$OLDEST_PCAP" -o "$OLDEST_PCAP" == ".." -o "$OLDEST_PCAP" == "." ]; then
|
if [ -z "$OLDEST_PCAP" -o "$OLDEST_PCAP" == ".." -o "$OLDEST_PCAP" == "." ]; then
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{% from 'suricata/map.jinja' import SURICATAMERGED %}
|
{% from 'suricata/map.jinja' import SURICATAMERGED %}
|
||||||
|
|
||||||
# This directory needs to exist regardless of whether SURIPCAP is enabled or not, in order for
|
# This directory needs to exist regardless of whether SURIPCAP is enabled or not, in order for
|
||||||
# Sensoroni to be able to look at old Suricata PCAP data
|
# Sensoroni to mount it
|
||||||
suripcapdir:
|
suripcapdir:
|
||||||
file.directory:
|
file.directory:
|
||||||
- name: /nsm/suripcap
|
- name: /nsm/suripcap
|
||||||
@@ -11,6 +11,13 @@ suripcapdir:
|
|||||||
- mode: 775
|
- mode: 775
|
||||||
- makedirs: True
|
- makedirs: True
|
||||||
|
|
||||||
|
pcapoutdir:
|
||||||
|
file.directory:
|
||||||
|
- name: /nsm/pcapout
|
||||||
|
- user: 939
|
||||||
|
- group: 939
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
{% if GLOBALS.pcap_engine in ["SURICATA"] %}
|
{% if GLOBALS.pcap_engine in ["SURICATA"] %}
|
||||||
|
|
||||||
{# there should only be 1 interface in af-packet so we can just reference the first list item #}
|
{# there should only be 1 interface in af-packet so we can just reference the first list item #}
|
||||||
|
|||||||
Reference in New Issue
Block a user