From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] suricata.yaml: Fix bug13646 - Adjust the include syntax to use array format
Date: Tue, 10 Dec 2024 14:18:33 +0000 [thread overview]
Message-ID: <4121CC15-CCAF-4831-A190-FE1BEB4684B8@ipfire.org> (raw)
In-Reply-To: <20241210132355.3397037-1-adolf.belka@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 1947 bytes --]
Reviewed-by: Michael Tremer <michael.tremer(a)ipfire.org>
Looks good for me. Thank you for taking care of this!
> On 10 Dec 2024, at 13:23, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
>
> - 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 flags 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 the logs you
> can see that all the include files were taken on board and the derprecation message
> is no longer shown.
> - This change can be implemented with Suricata-7.x and will make sure that IPFire has
> the include syntax that Suricata-8.x will require.
>
> Fixes: Bug13646
> Tested-by: Adolf Belka <adolf.belka(a)ipfire.org>
> Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
> ---
> 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 @@
>
> 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
>
> EXTERNAL_NET: "any"
>
> --
> 2.47.1
>
prev parent reply other threads:[~2024-12-10 14:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-10 13:23 Adolf Belka
2024-12-10 14:18 ` Michael Tremer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4121CC15-CCAF-4831-A190-FE1BEB4684B8@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox