mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
IDH - UDP vs TCP support
This commit is contained in:
@@ -114,8 +114,13 @@ firewall:
|
|||||||
|
|
||||||
{% if idh_services is defined %}
|
{% if idh_services is defined %}
|
||||||
{% for service in idh_services %}
|
{% for service in idh_services %}
|
||||||
|
{% if service in ["smnp","ntp", "tftp"] %}
|
||||||
|
{% set proto = 'udp' %}
|
||||||
|
{% else %}
|
||||||
|
{% set proto = 'tcp' %}
|
||||||
|
{% endif %}
|
||||||
idh_{{service}}:
|
idh_{{service}}:
|
||||||
tcp:
|
{{proto}}:
|
||||||
- {{ OPENCANARYCONFIG[service~'.port'] }}
|
- {{ OPENCANARYCONFIG[service~'.port'] }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user