]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
backup.pl: Fixes Bug#13137 - Existing n2n client connection created with openssl...
authorAdolf Belka <adolf.belka@ipfire.org>
Mon, 5 Jun 2023 11:55:29 +0000 (13:55 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 5 Jun 2023 14:50:18 +0000 (14:50 +0000)
commit9eb2086e0f3b6feb6e52d01c7faf5d79791650ea
tree3337eb28448c662b3a4e72e3fb24c772b1bebe87
parent2054306c632046c052e67eee1220abef42c34b5d
backup.pl: Fixes Bug#13137 - Existing n2n client connection created with openssl-1.1.1x fails to start with openssl-3.x

- This code adds the "providers legacy default" line into OpenVPN N2N Client config files
   when restoring them in case it is missing from a backup earlier than CU175.
   Only adds the line if it is not already present.
- Tested out on my vm testbed system

Fixes: Bug#13137
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
config/backup/backup.pl