From 028ca40233063de6b2ff87fda4ead045f3bab131 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 16 Oct 2023 23:55:40 +0200 Subject: [PATCH] MT#58452 Add missing IPv4 listening addresses These services also listen on the localhost and any address. Add these explicitly as we might have other components relying on being able to access these services through them. Change-Id: I6d234620847ccc88f2c709a20692c6d5b7174229 --- templates/820_network-ports-debian.yaml.tt2 | 1 + templates/821_network-ports-ngcp.yaml.tt2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/820_network-ports-debian.yaml.tt2 b/templates/820_network-ports-debian.yaml.tt2 index 88f22c8..4a4073e 100644 --- a/templates/820_network-ports-debian.yaml.tt2 +++ b/templates/820_network-ports-debian.yaml.tt2 @@ -12,6 +12,7 @@ port: # NTP (systemd-timesyncd does not listen) udp:123: listening: [% ntp.backend == 'timesyncd' ? 'false' : 'true ' %] + ip: ["0.0.0.0", "127.0.0.1"] # Check for a closed port, nothing there. tcp:7777: diff --git a/templates/821_network-ports-ngcp.yaml.tt2 b/templates/821_network-ports-ngcp.yaml.tt2 index 36aaaed..cd4c629 100644 --- a/templates/821_network-ports-ngcp.yaml.tt2 +++ b/templates/821_network-ports-ngcp.yaml.tt2 @@ -197,7 +197,7 @@ port: # Redis tcp:6379: listening: true - ip: ["[% ha_int_ips.0 %]"] + ip: ["127.0.0.1", "[% ha_int_ips.0 %]"] [% END -%] [% IF is_rtp -%]