mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
FIX: so-suricata-testrule should disable pcap logging #14685
This commit is contained in:
@@ -26,7 +26,6 @@ echo "Running all.rules and $TESTRULE against the following pcap: $TESTPCAP"
|
|||||||
echo ""
|
echo ""
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
|
|
||||||
rm -rf /tmp/nids-testing/output
|
rm -rf /tmp/nids-testing/output
|
||||||
mkdir -p /tmp/nids-testing/output
|
mkdir -p /tmp/nids-testing/output
|
||||||
chown suricata:socore /tmp/nids-testing/output
|
chown suricata:socore /tmp/nids-testing/output
|
||||||
@@ -45,7 +44,7 @@ echo "==== Begin Suricata Output ==="
|
|||||||
-v /opt/so/conf/suricata/bpf:/etc/suricata/bpf:ro \
|
-v /opt/so/conf/suricata/bpf:/etc/suricata/bpf:ro \
|
||||||
-v /tmp/nids-testing/output/:/nsm/:rw \
|
-v /tmp/nids-testing/output/:/nsm/:rw \
|
||||||
{{ MANAGER }}:5000/{{ IMAGEREPO }}/so-suricata:{{ VERSION }} \
|
{{ MANAGER }}:5000/{{ IMAGEREPO }}/so-suricata:{{ VERSION }} \
|
||||||
--runmode single -v -k none -r /input.pcap -l /tmp --init-errors-fatal
|
--runmode single -v -k none -r /input.pcap -l /tmp --init-errors-fatal --set outputs.6.pcap-log.enabled=no
|
||||||
echo "==== End Suricata Output ==="
|
echo "==== End Suricata Output ==="
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user