]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
napatech: configuration changes.
authorPhil Young <py@napatech.com>
Mon, 17 Jul 2017 14:11:26 +0000 (10:11 -0400)
committerVictor Julien <victor@inliniac.net>
Tue, 1 Aug 2017 08:13:54 +0000 (10:13 +0200)
Added comments describing parameter usage.
Changed example to use range formatting of streams.

suricata.yaml.in

index be2ba0c0fdf1225c8f4934779985991a38646b95..7e8a503d740cb6de5fd38b8ce6074ddc407a9cc1 100644 (file)
@@ -1667,6 +1667,8 @@ ipfw:
 napatech:
     # The Host Buffer Allowance for all streams
     # (-1 = OFF, 1 - 100 = percentage of the host buffer that can be held back)
+    # This may be enabled when sharing streams with another application.
+    # Otherwise, it should be turned off.
     hba: -1
 
     # use_all_streams set to "yes" will query the Napatech service for all configured
@@ -1674,8 +1676,11 @@ napatech:
     # will be used.
     use-all-streams: yes
 
-    # The streams to listen on
-    streams: [1, 2, 3]
+    # The streams to listen on.  This can be either:
+    #   a list of individual streams (e.g. streams: [0,1,2,3])
+    # or
+    #   a range of streams (e.g. streams: ["0-3"])
+    streams: ["0-3"]
 
 # Tilera mpipe configuration. for use on Tilera TILE-Gx.
 mpipe: