Skip to content

Commit

Permalink
Suricata config: add support to listen of several interfaces
Browse files Browse the repository at this point in the history
Signed-off-by: KheOps <kheops@ceops.eu>
  • Loading branch information
kheops2713 committed Mar 16, 2015
1 parent a67c82d commit 24164f7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions roles/common/templates/suricata.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,16 @@ outputs:
magic-file: /usr/share/file/magic

af-packet:
- interface: {{ monitored_interface }}
{% set clusterid = 99 %}
{% for ifcap in monitored_interfaces %}
- interface: {{ ifcap }}
threads: 1
cluster-id: 99
cluster-id: {{ clusterid }}
cluster-type: cluster_flow
defrag: yes
use-mmap: yes
{% set clusterid = clusterid - 1 %}
{% endfor %}

legacy:
uricontent: enabled
Expand Down

0 comments on commit 24164f7

Please sign in to comment.