-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12561 from Security-Onion-Solutions/jppnocap
transitional pcap
- Loading branch information
Showing
5 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
{% import_yaml 'bpf/defaults.yaml' as BPFDEFAULTS %} | ||
{% set BPFMERGED = salt['pillar.get']('bpf', BPFDEFAULTS.bpf, merge=True) %} | ||
{% import 'bpf/macros.jinja' as MACROS %} | ||
|
||
{{ MACROS.remove_comments(BPFMERGED, 'pcap') }} | ||
|
||
{% set PCAPBPF = BPFMERGED.pcap %} | ||
{% from 'vars/globals.map.jinja' import GLOBALS %} | ||
{% if GLOBALS.pcap_engine == "TRANSITION" %} | ||
{% set PCAPBPF = ["ip and host 255.255.255.1 and port 1"] %} | ||
{% else %} | ||
{% import_yaml 'bpf/defaults.yaml' as BPFDEFAULTS %} | ||
{% set BPFMERGED = salt['pillar.get']('bpf', BPFDEFAULTS.bpf, merge=True) %} | ||
{% import 'bpf/macros.jinja' as MACROS %} | ||
{{ MACROS.remove_comments(BPFMERGED, 'pcap') }} | ||
{% set PCAPBPF = BPFMERGED.pcap %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters