Skip to content

Commit

Permalink
Merge pull request #11864 from Security-Onion-Solutions/import/suriin…
Browse files Browse the repository at this point in the history
…terface

suricata interface None if so-import
  • Loading branch information
m0duspwnens authored Nov 22, 2023
2 parents 0cfb8b0 + 1dc8878 commit 0fdaed9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions salt/suricata/afpacket.map.jinja
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
{% load_yaml as afpacket %}
af-packet:
- interface: {{ salt['pillar.get']('sensor:interface', 'bond0') }}
- interface: {{ None if grains.role == 'so-import' else salt['pillar.get']('sensor:interface', 'bond0') }}
cluster-id: 59
cluster-type: cluster_flow
defrag: yes
use-mmap: yes
threads: {{ salt['pillar.get']('sensor:suriprocs', salt['pillar.get']('sensor:suripins') | length) }}
tpacket-v3: yes
ring-size: {{ salt['pillar.get']('sensor:suriringsize', '5000') }}
- interface: default
#threads: auto
#use-mmap: no
#tpacket-v3: yes
{% endload %}

0 comments on commit 0fdaed9

Please sign in to comment.