Commit Graph

20 Commits

Author SHA1 Message Date
Adolf Belka
2054306c63 update.sh: Fixes Bug#13137 - Existing n2n client connection created with openssl-1.1.1x fails to start with openssl-3.x
- This modification will check if ovpnconfig exists and is not empty. If so then it will
   check for all n2n connections and if they are Client configs will check if
   "providers legacy default" is not already present and if so will add it.

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>
2023-06-05 14:49:51 +00:00
Michael Tremer
70ccbf30f3 Revert "update.sh: Adds code to update an existing ovpnconfig with pass or no-pass"
This reverts commit 9cac1034bc.

https://lists.ipfire.org/pipermail/development/2023-May/015952.html

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-05-24 10:02:00 +00:00
Peter Müller
de5d9c9b47 Core Update 175: Merely reload firewall engine, instead of restart it
The latter will not work until a reboot due to the Core Update featuring
a new kernel, and will instead result in the following error:

modprobe: FATAL: Module nf_log_ipv4 not found in directory /lib/modules/6.1.27-ipfire

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-05-18 10:01:39 +00:00
Adolf Belka
9cac1034bc update.sh: Adds code to update an existing ovpnconfig with pass or no-pass
- The code checks first if ovpnconfig exists and is not empty.
- Then it makes all net2net connections no-pass since they do not use encryption
- Then it cycles through all .p12 files and checks with openssl if a password exists or not.
   If a password is present then pass is added to index 41 and if not then no-pass is added
   to index 41
- This code should be left in update.sh for future Core Updates in case people don't update
   with Core Update 175 but leave it till later. This code works fine on code that already
   has pass or no-pass entered into index 41 in ovpnconfig

Fixes: Bug#11048
Suggested-by: Erik Kapfer <ummeegge@ipfire.org>
Suggested-by: Adolf Belka <adolf.belka@ipfire.org>
Tested-by: Erik Kapfer <ummeegge@ipfire.org>
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2023-05-18 09:51:09 +00:00
Peter Müller
94d883abe7 Core Update 175: Remove any dropped add-ons, if installed
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-05-18 09:37:00 +00:00
Peter Müller
30b904fb80 Core Update 175: Remove orphaned qpdf libraries, if present
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-05-11 20:29:21 +00:00
Peter Müller
cef4daddf7 Core Update 175: Remove orphaned lvmetad initscript
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-05-11 20:09:23 +00:00
Peter Müller
9a671e7ae4 Core Update 175: Ship and restart Squid
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-05-11 20:06:06 +00:00
Peter Müller
a475adc183 Core Update 175: Ship and restart Suricata
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-05-11 20:02:12 +00:00
Peter Müller
905a77279b Core Update 175: Fix file permissions of /var/log/pakfire.log on existing installations
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-04-24 18:57:05 +00:00
Peter Müller
2739210a03 Core Update 175: Ship firewall initscript and restart firewall
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-04-24 18:45:53 +00:00
Peter Müller
1b85b0195f Core Update 175: Ship and restart Apache
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-04-24 18:41:09 +00:00
Peter Müller
20d7057fb7 Core Update 175: Remove powertop add-on, if installed
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-04-24 18:38:13 +00:00
Peter Müller
3274424ad9 Core Update 175: Ship relevant changes of linux-firmware
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-04-19 13:46:59 +00:00
Peter Müller
0179bff8ea Core Update 175: Ship kernel and regenerate initial ramdisks locally
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-04-19 10:21:34 +00:00
Peter Müller
8cffa30021 Core Update 175: Remove any orphaned menue files on existing installations
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-04-18 21:23:50 +00:00
Peter Müller
ed0d38cf62 Core Update 175: Ship aprutil and restart Apache
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-04-18 21:18:30 +00:00
Peter Müller
dc93dd9d19 Core Update 175: Ship and restart OpenSSH
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-04-18 21:14:06 +00:00
Peter Müller
ab63449460 Core Update 175: Ship bind
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-04-18 20:58:36 +00:00
Peter Müller
89e25656af Start Core Update 175
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-04-17 08:48:39 +00:00