diff --git a/package/etc/go_templates/source_network.t b/package/etc/go_templates/source_network.t index a2ef26f..5c7e8b4 100644 --- a/package/etc/go_templates/source_network.t +++ b/package/etc/go_templates/source_network.t @@ -2,7 +2,7 @@ syslog ( transport("udp") so-reuseport(1) - persist-name("udp{{.instance}}") + persist-name("{{.port_id}}{{.instance}}") port({{ getenv (print "SC4S_LISTEN_" .port_id "_UDP_PORT") "514" }}) ip-protocol(4) so-rcvbuf({{getenv "SC4S_SOURCE_UDP_SO_RCVBUFF" "1703936"}}) diff --git a/tests/docker-compose-ci.yml b/tests/docker-compose-ci.yml index 3fe2010..e45bda0 100644 --- a/tests/docker-compose-ci.yml +++ b/tests/docker-compose-ci.yml @@ -48,6 +48,12 @@ services: - SC4S_LISTEN_JUNIPER_IDP_TCP_PORT=5004 - SC4S_LISTEN_PALOALTO_PANOS_TCP_PORT=5005 - SC4S_LISTEN_PFSENSE_TCP_PORT=5006 + - SC4S_LISTEN_CISCO_ASA_UDP_PORT=5001 + - SC4S_LISTEN_CISCO_IOS_UDP_PORT=5002 + - SC4S_LISTEN_CISCO_MERAKI_UDP_PORT=5003 + - SC4S_LISTEN_JUNIPER_IDP_UDP_PORT=5004 + - SC4S_LISTEN_PALOALTO_PANOS_UDP_PORT=5005 + - SC4S_LISTEN_PFSENSE_UDP_PORT=5006 - SC4S_ARCHIVE_GLOBAL=no splunk: build: diff --git a/tests/docker-compose.yml b/tests/docker-compose.yml index d893bae..643be05 100644 --- a/tests/docker-compose.yml +++ b/tests/docker-compose.yml @@ -38,6 +38,12 @@ services: - SC4S_LISTEN_JUNIPER_IDP_TCP_PORT=5004 - SC4S_LISTEN_PALOALTO_PANOS_TCP_PORT=5005 - SC4S_LISTEN_PFSENSE_TCP_PORT=5006 + - SC4S_LISTEN_CISCO_ASA_UDP_PORT=5001 + - SC4S_LISTEN_CISCO_IOS_UDP_PORT=5002 + - SC4S_LISTEN_CISCO_MERAKI_UDP_PORT=5003 + - SC4S_LISTEN_JUNIPER_IDP_UDP_PORT=5004 + - SC4S_LISTEN_PALOALTO_PANOS_UDP_PORT=5005 + - SC4S_LISTEN_PFSENSE_UDP_PORT=5006 - SC4S_ARCHIVE_GLOBAL=no - SC4S_SOURCE_STORE_RAWMSG=yes splunk: