From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] suricata.yaml: Fix bug13646 - Adjust the include syntax to use array format Date: Tue, 10 Dec 2024 14:23:55 +0100 Message-ID: <20241210132355.3397037-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6415553938460251350==" List-Id: --===============6415553938460251350== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - Suricata-8.x will only accept include statements in array format and not in= multiple single lines. Suricata-7.x still accepts the multiple single lines but fla= gs up that the format is deprecated and will be removed in suricata-8.x - This patch adjusts the address-groups include into the array format. - This change has been tested out on my vm and the IPS started up and from th= e logs you can see that all the include files were taken on board and the derprecatio= n message is no longer shown. - This change can be implemented with Suricata-7.x and will make sure that IP= Fire has the include syntax that Suricata-8.x will require. Fixes: Bug13646 Tested-by: Adolf Belka Signed-off-by: Adolf Belka --- config/suricata/suricata.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/suricata/suricata.yaml b/config/suricata/suricata.yaml index faa1aa71d..443b8e19e 100644 --- a/config/suricata/suricata.yaml +++ b/config/suricata/suricata.yaml @@ -8,11 +8,11 @@ =20 vars: address-groups: - # Include HOME_NET declaration from external file. - include: /var/ipfire/suricata/suricata-homenet.yaml - - # Include DNS_SERVERS declaration from external file. - include: /var/ipfire/suricata/suricata-dns-servers.yaml + include: + # Include HOME_NET declaration from external file. + - /var/ipfire/suricata/suricata-homenet.yaml + # Include DNS_SERVERS declaration from external file. + - /var/ipfire/suricata/suricata-dns-servers.yaml =20 EXTERNAL_NET: "any" =20 --=20 2.47.1 --===============6415553938460251350==--