From mboxrd@z Thu Jan  1 00:00:00 1970
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] backup-exclude: Add suricata ruleset-sources to backup
 exclude file
Date: Wed, 15 Jan 2025 11:42:39 +0000
Message-ID: <610F4E4D-CC79-4E74-89F5-6BA3EC75AF2F@ipfire.org>
In-Reply-To: <20250113122442.55641-1-adolf.belka@ipfire.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3945512493504588053=="
List-Id: <development.lists.ipfire.org>

--===============3945512493504588053==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Reviewed-by: Michael Tremer <michael.tremer(a)ipfire.org>

> On 13 Jan 2025, at 12:24, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
>=20
> - This will ensure that an old version will no longer be restored back onto=
 a users
>   system.
> - The suricata ruleset-sources file should also be shipped in the CU that t=
his will be
>   applied to make sure that all usders have the correct version installed, =
in case they
>   have done a restore from an old backup after doing a fresh install.
> - Tested on my vm testbed system and after making the change, the ruleset-s=
ources file
>   is no longer added to the backup set but also it is excluded from the res=
tore if it
>   is included in an old backup.
>=20
> Tested-by: Adolf Belka <adolf.belka(a)ipfire.org>
> Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
> ---
> config/backup/exclude | 1 +
> 1 file changed, 1 insertion(+)
>=20
> diff --git a/config/backup/exclude b/config/backup/exclude
> index 0131a87fd..4dc1607a2 100644
> --- a/config/backup/exclude
> +++ b/config/backup/exclude
> @@ -7,4 +7,5 @@ var/ipfire/ovpn/openssl/*
> var/ipfire/proxy/calamaris/bin/*
> var/ipfire/qos/bin/qos.pl
> var/ipfire/suricata/oinkmaster.conf
> +var/ipfire/suricata/ruleset-sources
> var/ipfire/urlfilter/blacklists/*/*.db
> --=20
> 2.47.1
>=20


--===============3945512493504588053==--