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