]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc/manpage: improve intro, add examples 5110/head
authorVictor Julien <victor@inliniac.net>
Sun, 14 Jun 2020 08:56:43 +0000 (10:56 +0200)
committerVictor Julien <victor@inliniac.net>
Sun, 28 Jun 2020 13:20:56 +0000 (15:20 +0200)
doc/userguide/manpages/suricata.rst

index 2cc213969da439b586660af3c8137827a81106fe..fe4a0fd1f2e0581db17ae2fb4e5029990103e088 100644 (file)
@@ -9,10 +9,17 @@ SYNOPSIS
 DESCRIPTION
 -----------
 
-Suricata is a high performance Network IDS, IPS and Network Security
+**suricata** is a high performance Network IDS, IPS and Network Security
 Monitoring engine. Open Source and owned by a community run non-profit
 foundation, the Open Information Security Foundation (OISF).
 
+**suricata** can be used to analyze live traffic and pcap files. It can
+generate alerts based on rules. **suricata** will generate traffic logs.
+
+When used with live traffic **suricata** can be passive or active. Active
+modes are: inline in a L2 bridge setup, inline with L3 integration with
+host filewall (NFQ, IPFW, WinDivert), or out of band using active responses.
+
 OPTIONS
 --------------
 
@@ -29,9 +36,11 @@ SIGNALS
 Suricata will respond to the following signals:
 
 SIGUSR2
+
     Causes Suricata to perform a live rule reload.
 
 SIGHUP
+
     Causes Suricata to close and re-open all log files. This can be
     used to re-open log files after they may have been moved away by
     log rotation utilities.
@@ -45,6 +54,25 @@ FILES AND DIRECTORIES
 |localstatedir|/log/suricata
     Default Suricata log directory.
 
+EXAMPLES
+--------
+
+To capture live traffic from interface `eno1`::
+
+    suricata -i eno1
+
+To analyze a pcap file and output logs to the CWD::
+
+    suricata -r /path/to/capture.pcap
+
+To capture using `AF_PACKET` and override the flow memcap setting from the `suricata.yaml`::
+
+    suricata --af-packet --set flow.memcap=1gb
+
+To analyze a pcap file with a custom rule file::
+
+    suricata -r /pcap/to/capture.pcap -S /path/to/custom.rules
+
 BUGS
 ----