Project

General

Profile

Actions

Bug #2134

closed

Config test (suricata -T) return non-zero exit code if config is correct

Added by Pavel Selivanov almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

# suricata -V
This is Suricata version 3.2.1 RELEASE

# suricata -c /etc/suricata/suricata.yaml -T -v                                                                       
7/6/2017 -- 14:21:57 - <Info> - Running suricata under test mode
7/6/2017 -- 14:21:57 - <Notice> - This is Suricata version 3.2.1 RELEASE
7/6/2017 -- 14:21:57 - <Info> - CPUs/cores online: 2

# echo $?
1

Suricata is installed official ubuntu ppa.


Files

suricata.yaml (48.1 KB) suricata.yaml Pavel Selivanov, 06/07/2017 04:56 PM
strace-suricata.22962 (92.6 KB) strace-suricata.22962 Pavel Selivanov, 06/08/2017 05:03 AM
ltrace-suricata (6.4 MB) ltrace-suricata Pavel Selivanov, 06/08/2017 05:03 AM
emerging-icmp.rules (8.38 KB) emerging-icmp.rules Pavel Selivanov, 06/28/2017 09:42 AM
suricata.yaml (3.21 KB) suricata.yaml Pavel Selivanov, 06/28/2017 09:43 AM
Actions

Also available in: Atom PDF