Commit Graph

19027 Commits

Author SHA1 Message Date
Peter Müller
f653df852a Start Core Update 170
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-25 11:07:09 +00:00
Peter Müller
617bb64f63 Core Update 169: Ship general-functions.pl
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-25 09:15:17 +00:00
Adolf Belka
0b4618f9a3 general-functions.pl: Fix for bug #12865 - Static IP address pools - Add network - Name wit>
- The fix for bug #12428 removed spaces from the validhostname subroutine as hostnames are
   not supposed to have spaces
- This resulted in spaces no longer being allowed for the Static IP Address Pools names
- New subroutine created called validccdname. This allows letters, upper and lower case,
   numbers, spaces and dashes

Fixes: Bug #12865
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 09:14:22 +00:00
Adolf Belka
dcc2f7e0f2 ovpnmain.cgi: Fix for bug #12865 - Static IP address pools - Add network - Name with space
- The fix for bug #12428 removed spaces from the validhostname subroutine as hostnames are
   not supposed to have spaces
- This resulted in spaces no longer being allowed for the Static IP Address Pools names
- New subroutine created called validccdname in general-functions.pl

Fixes: Bug #12865
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 09:14:22 +00:00
Adolf Belka
de6ef4d40a python3-msgpack: Required for build and execution of borgbackup 1.2.0
- New python module required for borgbackup. In borgbackup version 1.1.18 or 1.1.19
   the old bundled msgpack in borgbackup was removed and a specified version range
   of python3-msgpack required.
- This patch adds the lfs and rootfiles for this module

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 09:11:58 +00:00
Adolf Belka
006309eaaf python3-packaging: Moved to rootfiles/packages/ directory
- Required for borgbackup execution

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 09:11:58 +00:00
Adolf Belka
c9336f7a1f borgbackup: Fix bug #12884 - borgbackup 1.2.0 crashes on running any borg command
- When borgbackup was upgraded from version 1.1.17 to 1.2.0 the build was sucessfully
   completed but there was no testing feedback till after full release. It turned out
   that it did not successfully run.
- python3-packaging which had been installed for the build of borgbackup needed to also
   be available for the execution.
- When borgbackup was upgraded to 1.2.0 it was noticed that the old python3-msgpack was
   no longer needed as borgbackup used its own bundled msgpack since around version 1.1.10
   What was not seen was that in version 1.1.19 or 1.1.18 the bundled version of msgpack
   had been removed and that the newer version of python3-msgpack now needed to be
   installed but the version number has to meet the borgbackup requirements which currently
   require it to be =<1.0.3
- This patch adds the python3-packaging and python3-msgpack modules as dependencies for
   borgbackup
- The egg-info files are uncommented in the rootfile so that the borgbackup metadata can
   be found by python.
- The updated borgbackup build together with the python3-packaging and python3-msgpack
   modules were installed into a vm system using the .ipfire packages.
   Successfully initialised a borgbackup repo and ran two backups to the repo and checked
   the stats for the backup. Everything ran fine.

Fixes: Bug #12884
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 09:11:58 +00:00
Peter Müller
2a4b5f0ab4 python3-botocore: Bump package version
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-23 13:27:46 +00:00
Michael Tremer
de9ae56f4b python3-botocore: Ship interface descriptions
botocore parses any interface descriptions and exposes them to Python.
For that to work, we need to ship them.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-06-23 13:27:21 +00:00
Michael Tremer
92d1e94069 python3-botocore: Add httpchecksum module
It looks like this has been commented out by mistake

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-06-23 13:27:21 +00:00
Peter Müller
68307a7697 Core Update 169: Ship ruleset-sources
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-23 13:25:00 +00:00
Stefan Schantl
b77b41a579 ruleset-sources: Update download URL for Talos rulesets.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-23 13:24:10 +00:00
Adolf Belka
f158e71e20 ovpnmain.cgi: Fix for bug #12883 - separate .p12 file corrupted
- Patch https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=2feacd989823aa1dbd5844c315a9abfd49060487
   from May 2021 put the variable containing the .p12 content into double quotes which
   causes the contents to be treated as text whereas the .p12 file is an application file.
- Most people must be downloading the zip package of .p12, ovpn.conf and ta.key files so
   the problem was not noticed till now and flagged up in the forum.
   https://community.ipfire.org/t/openvpn-p12-password-on-android-problem/8127
- The problem does not occur for the .p12 file in the zip file as the downloading of the
   zip file does not have the variable name in double quotes.
- Putting the zip file variable into double quotes caused the downloaded zip file to be
   corrupt and not able to be opened as an archive.
- Removing the double quotes from the .p12 variable name caused the separate .p12 file
   download to be able to be correctly opened.
- The same quoted variable name is used also for the cacert.pem, cert.pem, servercert.pem
   and ta.key file downloads. To be consistent the same change has been applied to these.

Fixes: Bug #2883
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>
2022-06-23 13:24:03 +00:00
Michael Tremer
49471f05d5 misc-progs: Fix passing argument list
The run() function expects all arguments without the basename of the
program.

This regression was introduced in a609195a26.

Fixes: #12886
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-23 13:21:23 +00:00
Peter Müller
df9ebc6bbe linux: Align kernel configurations on ARM
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-23 07:42:27 +00:00
Peter Müller
a924020ea8 Core Update 169: Restart ntpd to apply configuration changes
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-23 07:27:19 +00:00
Peter Müller
d9aece2af9 linux: Update rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-23 06:44:09 +00:00
Peter Müller
d86d3f2231 OpenSSL: Fix rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-23 06:38:41 +00:00
Peter Müller
4b9b85215f Core Update 169: Ship vulnerabilities.cgi
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-22 18:11:56 +00:00
Peter Müller
34798dcd50 vulnerabilities.cgi: Add MMIO Stale Data
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-22 18:11:11 +00:00
Peter Müller
765da09d41 linux: Update to 5.15.49
Changelog can be retrieved from https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.49 .

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-22 15:10:01 +00:00
Peter Müller
e84497de67 Crap, OpenSSL download server returned a corrputed file :-/
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-22 14:32:39 +00:00
Peter Müller
2f52d27a82 Core Update 169: Ship changed initscripts
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-22 12:27:02 +00:00
Peter Müller
54bd60b67b Explicitly harden mount options of sensitive file systems
These were found to got lost after upgrading to Core Update 169, so we
set them explicitly to avoid accidential security downgrades.

https://lists.ipfire.org/pipermail/development/2022-June/013714.html

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-22 12:23:10 +00:00
Peter Müller
29cf82e6fc Core Update 169: Ship OpenSSL
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-22 12:17:48 +00:00
Peter Müller
70c969e941 OpenSSL: Update to 1.1.1p
Please refer to https://www.openssl.org/news/openssl-1.1.1-notes.html
for the release notes regarding this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-22 12:16:37 +00:00
Peter Müller
2bebb556dc Update French translation
Signed-off-by: Stéphane Pautrel <stephane.pautrel@acb78.com>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-22 12:12:52 +00:00
Peter Müller
95530b3edb Core Update 169: Ship NTP configuration changes
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-20 20:44:58 +00:00
Jon Murphy
2234e8aaca Ship NTP changes
- Device time more accurate.  (e.g., +/- 10 seconds per day to < 100 ms on some devices)
   ( I know we don't need the perfect time server )
 - NTP and time will be accurate in manual mode (setting on Time Server > NTP Configuration WebGUI)
 - Change NTP "prefer" server:
    - The current preferred NTP server in an Undisciplined Local Clock.
    - This is intended when no outside source of synchronized time is available.
    - Change the "prefer" server from 127.127.1.0 to the Primary NTP server specified on
      the Time Server > NTP Configuration WebGUI page.
 - Change allows the drift file (located at /etc/ntp/drift) to be populated by ntpd.
    - The drift file is updated about once per hour which helps correct the device time.

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
2022-06-20 20:43:34 +00:00
Peter Müller
f62b488f82 sysctl: Actually arm YAMA
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-20 20:10:47 +00:00
Peter Müller
2c38893da4 Core Update 169: Ship keyutils
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-20 19:50:16 +00:00
Peter Müller
2bbfa1b72c Core Update 169: Ship poppler
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-20 19:48:55 +00:00
Peter Müller
1452738c2e Tor: Update to 0.4.7.8
Changes in version 0.4.7.8 - 2022-06-17
  This version fixes several bugfixes including a High severity security issue
  categorized as a Denial of Service. Everyone running an earlier version
  should upgrade to this version.

  o Major bugfixes (congestion control, TROVE-2022-001):
    - Fix a scenario where RTT estimation can become wedged, seriously
      degrading congestion control performance on all circuits. This
      impacts clients, onion services, and relays, and can be triggered
      remotely by a malicious endpoint. Tracked as CVE-2022-33903. Fixes
      bug 40626; bugfix on 0.4.7.5-alpha.

  o Minor features (fallbackdir):
    - Regenerate fallback directories generated on June 17, 2022.

  o Minor features (geoip data):
    - Update the geoip files to match the IPFire Location Database, as
      retrieved on 2022/06/17.

  o Minor bugfixes (linux seccomp2 sandbox):
    - Allow the rseq system call in the sandbox. This solves a crash
      issue with glibc 2.35 on Linux. Patch from pmu-ipf. Fixes bug
      40601; bugfix on 0.3.5.11.

  o Minor bugfixes (logging):
    - Demote a harmless warn log message about finding a second hop to
      from warn level to info level, if we do not have enough
      descriptors yet. Leave it at notice level for other cases. Fixes
      bug 40603; bugfix on 0.4.7.1-alpha.
    - Demote a notice log message about "Unexpected path length" to info
      level. These cases seem to happen arbitrarily, and we likely will
      never find all of them before the switch to arti. Fixes bug 40612;
      bugfix on 0.4.7.5-alpha.

  o Minor bugfixes (relay, logging):
    - Demote a harmless XOFF log message to from notice level to info
      level. Fixes bug 40620; bugfix on 0.4.7.5-alpha.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-19 12:18:17 +00:00
Peter Müller
43b9482a26 Postfix: Update to 3.7.2
Please refer to https://www.postfix.org/announcements/postfix-3.7.2.html
for this versions' release announcement.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-19 12:18:13 +00:00
Peter Müller
480202725b u-boot: Sigh, fix another .xz != .gz
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-18 14:42:10 +00:00
Peter Müller
9f94dc123a Update rootfiles to reflect OpenVPN 2FA changes
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-18 14:40:29 +00:00
Peter Müller
01b3a62a35 u-boot: .xz != .gz
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-18 10:38:40 +00:00
Peter Müller
be5703ef78 u-boot: Clarify source URLs and add missing rk3399 firmware
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-18 08:16:03 +00:00
Peter Müller
39c9a69406 Run ./make.sh update-contributors
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-17 16:49:57 +00:00
Peter Müller
531f57d71c Zut alors, uniq 'files' as well
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-17 16:48:44 +00:00
Peter Müller
609f41867d Sort 'files'
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-17 16:48:13 +00:00
Peter Müller
3cf7a3b153 Core Update 169: Ship OpenVPN 2FA changes
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-17 16:47:44 +00:00
Peter Müller
75c49d6bec Merge branch 'temp-ms-ovpn-2fa' into next 2022-06-17 16:39:40 +00:00
Peter Müller
29df9f89c9 Core Update 169: Ship libtiff and krb5
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-17 16:39:12 +00:00
Peter Müller
4c46690411 Core Update 169: Remove pakfire metadata for krb5 and libtiff
Both packages have become part of the core system, so these files
are not longer needed.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-17 16:39:12 +00:00
Stefan Schantl
8d920449d2 libtiff: Move into core system.
pango and the PDF tools as core parts are linked against
libtiff, therefore this library has to become a part of the
core distribution too.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-06-17 16:39:12 +00:00
Stefan Schantl
c13e562b6e krb5: Move package into core system.
On one hand, the key.dns_resolver binary is linked against libkrb5, so this
library at least is required by the base system.

On the other hand this easily allows different services on the firewall
to use kerberos for authentication (ssh etc).

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-06-17 16:39:12 +00:00
Peter Müller
fa30456c5e kernel: Align x86_64 rootfile for kernel update
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-17 16:39:12 +00:00
Peter Müller
65264b3ba6 Core Update 169: Ship U-Boot
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-17 16:39:12 +00:00
Peter Müller
b8a9c9e70a U-Boot: Update to 2022.04
https://wiki.ipfire.org/devel/telco/2022-06-13

Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-17 16:39:12 +00:00