]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/log
people/mfischer/ipfire-2.x.git
2 years agolibtiff: Move into core system.
Stefan Schantl [Sun, 15 May 2022 16:02:20 +0000 (18:02 +0200)] 
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>
2 years agokrb5: Move package into core system.
Stefan Schantl [Sun, 15 May 2022 16:02:19 +0000 (18:02 +0200)] 
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>
2 years agokernel: Align x86_64 rootfile for kernel update
Peter Müller [Fri, 17 Jun 2022 16:27:42 +0000 (16:27 +0000)] 
kernel: Align x86_64 rootfile for kernel update

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 169: Ship U-Boot
Peter Müller [Fri, 17 Jun 2022 15:54:10 +0000 (15:54 +0000)] 
Core Update 169: Ship U-Boot

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoU-Boot: Update to 2022.04
Peter Müller [Fri, 17 Jun 2022 15:52:45 +0000 (15:52 +0000)] 
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>
2 years agoCore Update 169: Ship misc-progs
Peter Müller [Fri, 17 Jun 2022 11:01:06 +0000 (11:01 +0000)] 
Core Update 169: Ship misc-progs

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agomisc-progs: Add path to executable to argv
Michael Tremer [Wed, 15 Jun 2022 09:53:20 +0000 (09:53 +0000)] 
misc-progs: Add path to executable to argv

Otherwise, the first argument would always be swollowed :(

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
2 years agosamba: Ship with CU169
Adolf Belka [Thu, 16 Jun 2022 21:31:59 +0000 (23:31 +0200)] 
samba: Ship with CU169

- samba is linked to liblber from openldap. openldap was updated in CU168 but
  I missed that samba had a dependency to one of its libraries.
- find-dependencies was not run on openldap liblber although looking at the openldap
  rootfile it is clear that an sobump occurred.
- This patch increments the samba PAK_VER so that it will be shipped and therefore
  have the library links updated.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agonetatalk: Ship with CU169 - Fixes bug #12878
Adolf Belka [Thu, 16 Jun 2022 21:16:36 +0000 (23:16 +0200)] 
netatalk: Ship with CU169 - Fixes bug #12878

- netatalk is linked to liblber from openldap. openldap was updated in CU168 but
  I missed that netatalk had a dependency to one of its libraries.
- find-dependencies was not run on openldap liblber although looking at the openldap
  rootfile it is clear that an sobump occurred.
- This patch increments the netatalk PAK_VER so that it will be shipped and therefore
  have the library links updated.

Fixes: Bug #12878
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoovpnmain.cgi: URI encode OTPAuth String in QRCode
Timo Eissler [Thu, 16 Jun 2022 10:39:45 +0000 (12:39 +0200)] 
ovpnmain.cgi: URI encode OTPAuth String in QRCode

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agoperl-URI-Encode: New package
Timo Eissler [Thu, 16 Jun 2022 10:38:48 +0000 (12:38 +0200)] 
perl-URI-Encode: New package

Simple percent Encoding/Decoding

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agoovpnmain.cgi: Remove trailing newline from OTP secret
Timo Eissler [Tue, 14 Jun 2022 18:56:12 +0000 (20:56 +0200)] 
ovpnmain.cgi: Remove trailing newline from OTP secret

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agoopenvpn-authenticator: Always return general connection data
Michael Tremer [Tue, 14 Jun 2022 15:57:03 +0000 (15:57 +0000)] 
openvpn-authenticator: Always return general connection data

The function returned different output when TOTP was configured and not
which is not what it should do.

This version will now try to add the TOTP configuration, or will add
nothing it if fails to do so.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoopenvpn-authenticator: Don't process configuration when row is too short
Michael Tremer [Tue, 14 Jun 2022 15:53:19 +0000 (15:53 +0000)] 
openvpn-authenticator: Don't process configuration when row is too short

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoopenvpn-authenticator: Change event and environment handling
Timo Eissler [Tue, 7 Jun 2022 15:53:23 +0000 (17:53 +0200)] 
openvpn-authenticator: Change event and environment handling

Move reading of environment in it's own function because not all
events have a ENV block following and thus always reading the ENV
will cause RuntimeError("Unexpected environment line ...").

2 years agoopenvpn-authenticator: Fix call of _client_auth_successful
Timo Eissler [Tue, 7 Jun 2022 10:20:14 +0000 (12:20 +0200)] 
openvpn-authenticator: Fix call of _client_auth_successful

2 years agoopenvpn-authenticator: Return only available data
Timo Eissler [Tue, 7 Jun 2022 10:14:12 +0000 (12:14 +0200)] 
openvpn-authenticator: Return only available data

For connections which have not enabled OTP return
connection name and common_name attributes only.

2 years agoopenvpn-authenticator: Generate TOTP instead of HOTP codes
Timo Eissler [Tue, 7 Jun 2022 10:12:20 +0000 (12:12 +0200)] 
openvpn-authenticator: Generate TOTP instead of HOTP codes

2 years agoovpnmain.cgi: Fix OTP secret handling
Timo Eissler [Tue, 7 Jun 2022 09:20:56 +0000 (11:20 +0200)] 
ovpnmain.cgi: Fix OTP secret handling

Convert stored hex OTP secret to binary prior to converting to base32.

2 years agoovpnmain.cgi: Fix comparison operators
Timo Eissler [Tue, 7 Jun 2022 09:16:31 +0000 (11:16 +0200)] 
ovpnmain.cgi: Fix comparison operators

2 years agoopenvpn-2fa: Configure fake authentication credentials
Michael Tremer [Wed, 4 May 2022 13:58:18 +0000 (14:58 +0100)] 
openvpn-2fa: Configure fake authentication credentials

These configuration option are required to make the client authenticate
itself against the server.

The server may then accept those credentials without any further ado or
ask for a OTP.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoopenvpn-2fa: Enable management socket for RW server
Michael Tremer [Wed, 4 May 2022 13:51:51 +0000 (14:51 +0100)] 
openvpn-2fa: Enable management socket for RW server

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoopenvpn-2fa: Drop the previous authentication handler
Michael Tremer [Wed, 4 May 2022 13:49:32 +0000 (14:49 +0100)] 
openvpn-2fa: Drop the previous authentication handler

This has been replaced by the newer authenticator

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoopenvpn-2fa: Import a prototype of an authenticator
Michael Tremer [Wed, 4 May 2022 13:46:41 +0000 (14:46 +0100)] 
openvpn-2fa: Import a prototype of an authenticator

This script runs aside of OpenVPN and connects to the management socket.
On the socket, OpenVPN will post any new clients trying to authenticate
which will be handled by the authenticator.

If a client has 2FA enabled, it will be challanged for the current token
which will then be checked in a second pass.

Clients which do not have 2FA enabled will just be authenticated no
matter what and tls-verify will have handled the rest.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoovpnmain.cgi: Load all modules at the beginning
Michael Tremer [Tue, 3 May 2022 11:54:17 +0000 (11:54 +0000)] 
ovpnmain.cgi: Load all modules at the beginning

Although Perl modules tend to take a long time to load, it is better to
do this at the beginning so that loading the script will show any
errors.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoovpnmain.cgi: Disable sending any error messages to the browser again
Michael Tremer [Tue, 3 May 2022 11:51:11 +0000 (11:51 +0000)] 
ovpnmain.cgi: Disable sending any error messages to the browser again

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoopenpvn-2fa: Fix rootfiles
Michael Tremer [Fri, 15 Apr 2022 07:29:10 +0000 (07:29 +0000)] 
openpvn-2fa: Fix rootfiles

Some rootfiles where in the wrong location, some others had some
architecture hard-coded.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoperl-YAML-Tiny: Update checksum and remove unnecessary fields
Michael Tremer [Thu, 14 Apr 2022 21:02:04 +0000 (21:02 +0000)] 
perl-YAML-Tiny: Update checksum and remove unnecessary fields

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoperl-Module-ScanDeps: Update checksum and remove unnecessary fields
Michael Tremer [Thu, 14 Apr 2022 20:59:10 +0000 (20:59 +0000)] 
perl-Module-ScanDeps: Update checksum and remove unnecessary fields

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoperl-Module-Install: Update checksum and remove unnecessary fields
Michael Tremer [Thu, 14 Apr 2022 20:57:33 +0000 (20:57 +0000)] 
perl-Module-Install: Update checksum and remove unnecessary fields

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoperl-Module-Build: Update checksum and remove unnecessary fields
Michael Tremer [Thu, 14 Apr 2022 20:55:27 +0000 (20:55 +0000)] 
perl-Module-Build: Update checksum and remove unnecessary fields

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoperl-MIME-Base32: Update checksum and remove unnecessary fields
Michael Tremer [Thu, 14 Apr 2022 20:53:31 +0000 (20:53 +0000)] 
perl-MIME-Base32: Update checksum and remove unnecessary fields

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoperl-Imager-QRCode: Update checksum and remove unnecessary fields
Michael Tremer [Thu, 14 Apr 2022 20:52:12 +0000 (20:52 +0000)] 
perl-Imager-QRCode: Update checksum and remove unnecessary fields

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoperl-Imager: Update checksum and remove unnecessary fields
Michael Tremer [Thu, 14 Apr 2022 20:50:12 +0000 (20:50 +0000)] 
perl-Imager: Update checksum and remove unnecessary fields

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoperl-File-Remove: Update checksum and drop unnecessary fields
Michael Tremer [Thu, 14 Apr 2022 20:48:39 +0000 (20:48 +0000)] 
perl-File-Remove: Update checksum and drop unnecessary fields

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agooauth-toolkit: Update checksum and drop unnecessary fields
Michael Tremer [Thu, 14 Apr 2022 20:48:20 +0000 (20:48 +0000)] 
oauth-toolkit: Update checksum and drop unnecessary fields

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoqrencode: Rename package and update checksum
Michael Tremer [Thu, 14 Apr 2022 19:15:42 +0000 (19:15 +0000)] 
qrencode: Rename package and update checksum

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoOpenVPN: Add support for 2FA / One-Time Password
Timo Eissler [Fri, 8 Apr 2022 08:50:20 +0000 (10:50 +0200)] 
OpenVPN: Add support for 2FA / One-Time Password

Add two-factor authentication (2FA) to OpenVPN host connections with
one-time passwords.

The 2FA can be enabled or disabled per host connection and requires the
client to download it's configuration again after 2FA has beend enabled
for it.
Additionally the client needs to configure an TOTP application, like
"Google Authenticator" which then provides the second factor.
To faciliate this every connection with enabled 2FA
gets an "show qrcode" button after the "show file" button in the
host connection list to show the 2FA secret and an 2FA configuration QRCode.

When 2FA is enabled, the client needs to provide the second factor plus
the private key password (if set) to successfully authorize.

This only supports time based one-time passwords, TOTP with 30s
window and 6 digits, for now but we may update this in the future.

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agoperl-MIME-Base32: New package
Timo Eissler [Fri, 8 Apr 2022 06:11:07 +0000 (08:11 +0200)] 
perl-MIME-Base32: New package

Base32 encoder and decoder

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agoperl-Imager-QRCode: New package
Timo Eissler [Mon, 4 Apr 2022 15:58:19 +0000 (17:58 +0200)] 
perl-Imager-QRCode: New package

Generate QR Code with Imager using libqrencode

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agoperl-Imager: New package
Timo Eissler [Mon, 4 Apr 2022 15:56:44 +0000 (17:56 +0200)] 
perl-Imager: New package

Perl extension for Generating 24 bit Images

Required by perl-Imager-QRCode.

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agoperl-Module-Install: New package
Timo Eissler [Mon, 4 Apr 2022 15:54:36 +0000 (17:54 +0200)] 
perl-Module-Install: New package

Module::Install configuration system

Required by perl-Imager-QRCode.

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agoperl-YAML-Tiny: New package
Timo Eissler [Mon, 4 Apr 2022 15:49:42 +0000 (17:49 +0200)] 
perl-YAML-Tiny: New package

Read/Write YAML files with as little code as possible

Required by perl-Module-Install.

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agoperl-Module-ScanDeps: New package
Timo Eissler [Mon, 4 Apr 2022 15:48:32 +0000 (17:48 +0200)] 
perl-Module-ScanDeps: New package

Recursively scan Perl code for dependencies

Required by perl-Module-Install.

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agoperl-Module-Build: New package
Timo Eissler [Mon, 4 Apr 2022 15:46:56 +0000 (17:46 +0200)] 
perl-Module-Build: New package

Build and install Perl modules

Required by perl-Module-Install.

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agoperl-File-Remove: New package
Timo Eissler [Mon, 4 Apr 2022 15:45:01 +0000 (17:45 +0200)] 
perl-File-Remove: New package

Remove files and directories

Required by perl-Module-Install.

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agolibqrcode: New package
Timo Eissler [Mon, 4 Apr 2022 10:47:37 +0000 (12:47 +0200)] 
libqrcode: New package

A fast and compact QR Code encoding library.

Homepage: https://fukuchi.org/works/qrencode/
Source: https://fukuchi.org/works/qrencode/qrencode-4.1.1.tar.gz

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agooath-toolkit: New package
Timo Eissler [Mon, 4 Apr 2022 09:38:43 +0000 (11:38 +0200)] 
oath-toolkit: New package

OATH Toolkit provide components to build one-time password
authentication systems.

Homepage: https://www.nongnu.org/oath-toolkit/index.html
Source: https://download.savannah.nongnu.org/releases/oath-toolkit/oath-toolkit-2.6.7.tar.gz

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2 years agolinux: Update to 5.15.48
Peter Müller [Fri, 17 Jun 2022 06:59:50 +0000 (06:59 +0000)] 
linux: Update to 5.15.48

Please refer to https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.48
for the changelog of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 169: Ship bind
Peter Müller [Fri, 17 Jun 2022 06:56:05 +0000 (06:56 +0000)] 
Core Update 169: Ship bind

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agobind: Update to 9.16.30
Matthias Fischer [Thu, 16 Jun 2022 12:49:09 +0000 (14:49 +0200)] 
bind: Update to 9.16.30

For details see:
https://downloads.isc.org/isc/bind9/9.16.30/doc/arm/html/notes.html#notes-for-bind-9-16-30

"Bug Fixes

    The fetches-per-server quota is designed to adjust itself downward
    automatically when an authoritative server times out too frequently.
    Due to a coding error, that adjustment was applied incorrectly,
    so that the quota for a congested server was always set to 1. This
    has been fixed. [GL #3327]

    DNSSEC-signed catalog zones were not being processed correctly. This
    has been fixed. [GL #3380]

    Key files were updated every time the dnssec-policy key manager ran,
    whether the metadata had changed or not. named now checks whether
    changes were applied before writing out the key files. [GL #3302]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agodnsdist: Update to 1.7.2
Michael Tremer [Wed, 15 Jun 2022 09:51:48 +0000 (09:51 +0000)] 
dnsdist: Update to 1.7.2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolinux-firmware: Update to 20220610
Peter Müller [Sat, 11 Jun 2022 10:52:04 +0000 (10:52 +0000)] 
linux-firmware: Update to 20220610

No changelog is provided, please refer to
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
for all activity since the previous version.

This patch includes necessary directives for shipping added or modified
firmware files with Core Update 169, and deleting appropriate files on
existing installations.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agolynis: Update to 3.0.8
Peter Müller [Sat, 11 Jun 2022 10:55:19 +0000 (10:55 +0000)] 
lynis: Update to 3.0.8

Full changelog as retrived from https://cisofy.com/changelog/lynis/#308:

- MALW-3274 - Detect McAfee VirusScan Command Line Scanner
- PKGS-7346 Check Alpine Package Keeper (apk)
- PKGS-7395 Check Alpine upgradeable packages
- EOL for Alpine Linux 3.14 and 3.15

- AUTH-9408 - Check for pam_faillock as well (replacement for pam_tally2)
- FILE-7524 - Test enhanced to support symlinks
- HTTP-6643 - Support ModSecurity version 2 and 3
- KRNL-5788 - Only run relevant tests and improved logging
- KRNL-5820 - Additional path for security/limits.conf
- KRNL-5830 - Check for /var/run/needs_restarting (Slackware)
- KRNL-5830 - Add a presence check for /boot/vmlinuz
- PRNT-2308 - Bugfix that prevented test from storing values correctly
- Extended location of PAM files for AARCH64
- Some messages in log improved

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolinux: Update rootfiles
Peter Müller [Mon, 13 Jun 2022 20:45:51 +0000 (20:45 +0000)] 
linux: Update rootfiles

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolinux: Run make oldconfig for x86_64
Peter Müller [Mon, 13 Jun 2022 20:42:07 +0000 (20:42 +0000)] 
linux: Run make oldconfig for x86_64

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoxfsprogs: Fix rootfile
Peter Müller [Mon, 13 Jun 2022 20:36:13 +0000 (20:36 +0000)] 
xfsprogs: Fix rootfile

For some reason, this particular file's name always comprises of x86_64.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 169: Ship tzdata
Peter Müller [Mon, 13 Jun 2022 15:52:19 +0000 (15:52 +0000)] 
Core Update 169: Ship tzdata

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agotzdata: Update to 2022a
Peter Müller [Tue, 7 Jun 2022 17:15:31 +0000 (17:15 +0000)] 
tzdata: Update to 2022a

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agounbound.conf: Aggressive NSEC is enabled by default since Unbound 1.15.0
Peter Müller [Tue, 7 Jun 2022 20:22:30 +0000 (20:22 +0000)] 
unbound.conf: Aggressive NSEC is enabled by default since Unbound 1.15.0

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 169: Ship and apply sysctl changes
Peter Müller [Mon, 13 Jun 2022 15:49:40 +0000 (15:49 +0000)] 
Core Update 169: Ship and apply sysctl changes

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agosysctl: For the sake of completeness, do not accept IPv6 redirects
Peter Müller [Tue, 7 Jun 2022 20:09:07 +0000 (20:09 +0000)] 
sysctl: For the sake of completeness, do not accept IPv6 redirects

While IPFire 2.x' web interface does not support IPv6, users can
technically run it with IPv6 by conducting the necessary configuration
changes manually.

To provide these systems as well, we should disable acceptance of ICMPv6
redirect packets - which is apparently not default in Linux, yet. :-/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 169: Ship localnet initscript
Peter Müller [Mon, 13 Jun 2022 15:48:13 +0000 (15:48 +0000)] 
Core Update 169: Ship localnet initscript

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolocalnet: Add "edns0" to /etc/resolv.conf options for RFC 2671 support
Peter Müller [Tue, 7 Jun 2022 19:31:57 +0000 (19:31 +0000)] 
localnet: Add "edns0" to /etc/resolv.conf options for RFC 2671 support

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Updatw 169: Ship and apply updated Linux kernel
Peter Müller [Mon, 13 Jun 2022 15:46:50 +0000 (15:46 +0000)] 
Core Updatw 169: Ship and apply updated Linux kernel

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoflash-images: Harden mount options of /boot
Peter Müller [Sat, 11 Jun 2022 06:47:49 +0000 (06:47 +0000)] 
flash-images: Harden mount options of /boot

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoKernel: Mitigate Straight-Line-Speculation on x86_64
Peter Müller [Sat, 11 Jun 2022 18:42:08 +0000 (18:42 +0000)] 
Kernel: Mitigate Straight-Line-Speculation on x86_64

See https://lwn.net/Articles/877845/ for the rationale behind this. The
feature is currently only available on the x86_64 platform.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoKernel: Disable support for RPC dprintk debugging
Peter Müller [Sat, 11 Jun 2022 18:47:31 +0000 (18:47 +0000)] 
Kernel: Disable support for RPC dprintk debugging

This is solely needed for debugging of NFS issues. Due to the attack
surface it introduces, grsecurity recommends to disable it; as we do not
have a strict necessity for this feature, it is best to follow that
recommendation for security reasons.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoKernel: Enable YAMA support
Peter Müller [Sat, 11 Jun 2022 18:53:10 +0000 (18:53 +0000)] 
Kernel: Enable YAMA support

See https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html for
the upstream rationale. Enabling YAMA gives us the benefit of additional
hardening options available, without any obvious downsides.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agolinux: Update to 5.15.46
Peter Müller [Sat, 11 Jun 2022 18:13:57 +0000 (18:13 +0000)] 
linux: Update to 5.15.46

Please refer to https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.46
for the changelog of this version.

Due to operational constraints, ARM rootfile changes are simulated.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoDelete orphaned libcap patch
Peter Müller [Sat, 11 Jun 2022 18:59:36 +0000 (18:59 +0000)] 
Delete orphaned libcap patch

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 169: Ship ovpnmain.cgi
Peter Müller [Sat, 11 Jun 2022 14:35:23 +0000 (14:35 +0000)] 
Core Update 169: Ship ovpnmain.cgi

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoovpnmain.cgi: correct spelling
Jon Murphy [Thu, 9 Jun 2022 21:27:23 +0000 (16:27 -0500)] 
ovpnmain.cgi: correct spelling

- change "coment" to "comment"

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 169: Ship and restart Apache
Peter Müller [Thu, 9 Jun 2022 19:56:13 +0000 (19:56 +0000)] 
Core Update 169: Ship and restart Apache

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoapache: Update to 2.4.54
Matthias Fischer [Thu, 9 Jun 2022 17:46:41 +0000 (19:46 +0200)] 
apache: Update to 2.4.54

Huge changelog, for details see:
https://dlcdn.apache.org/httpd/CHANGES_2.4.54

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 169: Ship toolchain changes
Peter Müller [Tue, 7 Jun 2022 16:52:15 +0000 (16:52 +0000)] 
Core Update 169: Ship toolchain changes

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 169: Ship and restart Squid
Peter Müller [Tue, 7 Jun 2022 16:46:37 +0000 (16:46 +0000)] 
Core Update 169: Ship and restart Squid

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agosquid: Update to 5.6
Matthias Fischer [Tue, 7 Jun 2022 15:35:22 +0000 (17:35 +0200)] 
squid: Update to 5.6

For details see:
https://github.com/squid-cache/squid/commits/v5

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoboost: Fix ARM rootfiles as well
Peter Müller [Tue, 7 Jun 2022 16:44:26 +0000 (16:44 +0000)] 
boost: Fix ARM rootfiles as well

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoboost: Fix rootfile for x86_64
Matthias Fischer [Mon, 6 Jun 2022 17:04:14 +0000 (19:04 +0200)] 
boost: Fix rootfile for x86_64

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 169: Ship lmdb
Peter Müller [Mon, 6 Jun 2022 12:11:51 +0000 (12:11 +0000)] 
Core Update 169: Ship lmdb

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolmdb: Update to version 0.9.29
Adolf Belka [Tue, 10 May 2022 10:31:12 +0000 (12:31 +0200)] 
lmdb: Update to version 0.9.29

- Update from version 0.9.24 to 0.9.29
- Update of rootfile not required
- Changelog - there is no changelog in the source tarball or on the Symas website or in
   the github repository.
   The following are extracted from the short log of the git commits
   https://github.com/LMDB/lmdb/commits/LMDB_0.9.29/libraries/liblmdb
    Release (0.9.29)
      ITS#9500
      ITS#9500 fix regression from ITS#8662
      ITS#9376 simplify
      ITS#9469 - Typo fixes
      ITS#9461 fix typo
      ITS#9461 refix ITS#9376
    Release (0.9.28)
      ITS#8662 Add -a append option to mdb_load
      Return to RE
    Release (0.9.27)
      ITS#9376 Fixes for repeated deletes with xcursor
      Return to engineering
    Release 0.9.26
      ITS#9278
      Silence stupid fallthru warning
      ITS#9278 fix robust mutex cleanup for FreeBSD
      Return to engineering
    Release 0.9.25
      ITS#9155 lmdb: free mt_spill_pgs in non-nested txn on end
      ITS#9118 - Fix typo in prev commit
      ITS#9118 add MAP_NOSYNC for FreeBSD
      return to release engineering, ITS#9068
      ITS#9068 fix backslash escaping

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoMerge branch 'next' into temp-c169-development
Peter Müller [Sun, 5 Jun 2022 16:48:54 +0000 (16:48 +0000)] 
Merge branch 'next' into temp-c169-development

2 years agoCore Update 169: Ship changes related to manualpages in the webIF
Peter Müller [Sat, 4 Jun 2022 09:24:56 +0000 (09:24 +0000)] 
Core Update 169: Ship changes related to manualpages in the webIF

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agomanualpages: Add path and file extension to the configuration
Leo-Andres Hofmann [Mon, 25 Apr 2022 19:12:45 +0000 (21:12 +0200)] 
manualpages: Add path and file extension to the configuration

This allows to correctly assign an URL to a file without relying
on unique base names.
A custom read function is required because General::readhash()
doesn't allow paths as hash keys. Modifying the existing functions
could affect other CGIs and was therefore dismissed.

Fixes: #12806
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
2 years agoCore Update 168: Ship fcrontab and rebuild it from scratch
Peter Müller [Sat, 4 Jun 2022 08:43:15 +0000 (08:43 +0000)] 
Core Update 168: Ship fcrontab and rebuild it from scratch

This is necessary due to IDSv4 changes introducing changes to fcrontab.
While this patch will cause any custom cron jobs configured there to be
lost, it is better to start with a defined state rather than sed'ing
on this file.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Cc: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agomake.sh-usage: Ship changes to make files
Jon Murphy [Mon, 30 May 2022 23:50:31 +0000 (18:50 -0500)] 
make.sh-usage: Ship changes to make files

In make.sh-usage document:
 - updated with descriptions for various commands
 - removed descriptions for old commands

In make.sh script:
 - updated make.sh usage line "Usage: $0 [OPTIONS] {build|check-manualpages|..."
 - removed make.sh clear screen commands in build area and toolchain area

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 169: Ship and restart Unbound
Peter Müller [Sat, 4 Jun 2022 08:38:41 +0000 (08:38 +0000)] 
Core Update 169: Ship and restart Unbound

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agounbound: Update to 1.16.0
Matthias Fischer [Thu, 2 Jun 2022 18:44:09 +0000 (20:44 +0200)] 
unbound: Update to 1.16.0

For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-16-0

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agocdrom: Drop menu option for HDT
Michael Tremer [Tue, 31 May 2022 11:26:19 +0000 (11:26 +0000)] 
cdrom: Drop menu option for HDT

The Hardware Detection Tool does not work and I do not think it is worth
to investigate. It is an ancient piece of software which does not work
on EFI systems which are becoming more and more common.

Since this has presumably been broken for a long time which nobody has
reported I assume that nobody is using it. There are indeed lots better
live CDs out there with much better diagnostic tools.

Fixes: #12870
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
2 years agotmux: Update to 3.3
Matthias Fischer [Thu, 2 Jun 2022 15:14:37 +0000 (17:14 +0200)] 
tmux: Update to 3.3

For details see:
https://raw.githubusercontent.com/tmux/tmux/3.3/CHANGES

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoMerge branch 'next' into temp-c169-development
Peter Müller [Sat, 4 Jun 2022 08:36:10 +0000 (08:36 +0000)] 
Merge branch 'next' into temp-c169-development

2 years agointel-microcode: Update rootfile
Peter Müller [Tue, 31 May 2022 17:21:54 +0000 (17:21 +0000)] 
intel-microcode: Update rootfile

Reported-by: Jon Murphy <jcmurphy26@gmail.com>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoUpdate contributor list
Peter Müller [Mon, 30 May 2022 20:00:53 +0000 (20:00 +0000)] 
Update contributor list

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 169: Ship libxslt
Peter Müller [Mon, 30 May 2022 19:46:45 +0000 (19:46 +0000)] 
Core Update 169: Ship libxslt

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibxslt: Update to version 1.1.35
Adolf Belka [Tue, 10 May 2022 10:30:44 +0000 (12:30 +0200)] 
libxslt: Update to version 1.1.35

- Update from version 1.1.34 to 1.1.35
- Update of rootfile
- Changelog
   v1.1.35: Feb 16 2022:
     - Security:
  [CVE-2021-30560] Fix use-after-free in xsltApplyTemplates
  Fix memory leak in xsltDocumentElem (David King)
  Fix memory leak in xsltCompileIdKeyPattern (David King)
  Fix double-free with stylesheets containing entity nodes
     - Fixed regressions:
  Fix performance regression with predicates in patterns
  Fix regression in xsltComputeSortResult
     - Bug fixes:
  Fix conflict resolution for templates with same priority
  Fix xsl:number generating invalid UTF-8
  Support attribute value templates in xsl:sort lang attributes
  Don't pass first <xsl:sort> in <xsl:apply-templates> twice
  Fix quadratic runtime with text and <xsl:message>
  Don't allow empty EXSLT durations
     - Improvements:
  Add xsltproc --huge Argument via libxml XML_PARSE_HUGE (William N. Braswell, Jr.)
     - Tests, code quality, fuzzing:
  Remove .travis.yml
  Fix some misleading indentation (David King)
  Use actual types for templates in struct _xsltStylesheet
  Add CI for CMake on MSVC (Markus Rickert)
  Check for null pointer before calling freelocale
  Add CI test for Python 3
  Don't set maxDepth in XPath contexts
  Transfer XPath limits to XPtr context
  Stop using maxParserDepth XPath limit
  Make long-to-double cast explicit in date.c
  Disable LeakSanitizer
  Run clang CI tests with -Wimplicit-int-conversion
  Fix implicit-int-conversion warning in exslt/crypto.c
  Fix clang -Wimplicit-int-conversion warning (David Kilzer)
  Fix clang -Wconditional-uninitialized warning in libxslt/numbers.c (David Kilzer)
  Fix -Wshadow warnings in libexslt/dynamic.c (David Kilzer)
  Also search parent dir for source XML when fuzzing
     - Build system, portability:
  Add CMake build files (Markus Rickert)
  Initial support for Python 3 (Suleyman Poyraz)
  Call ANSI versions of WinAPI functions explicitly
  Remove redundant flags from pkg-config files
  Suppress automake warning in tests/XSLTMark
  Fix linking libexslt dynamic library when using MinGW (Vadim Zeitlin)
  Added platform specific path separators (Dmitriy Korovkin)
  win32: allow passing *FLAGS on command line
  Fix export of xsltExtMarker on Windows (David Kilzer)
  Fix redundant includes already in libexslt.h (David Kilzer)
  Minor fixes to configure.js
  Fix variable syntax in Python configuration
  Add new EXSLT string tests to EXTRA_DIST
  Fix xml2-config check in configure script
  win32: Add configuration for profiler (Chun-wei Fan)
  Check whether 'xml2-config --dynamic' is supported
     - Documentation:
  Add Makefile rule to regenerate xsltproc.html
  Update links
  Remove MAINTAINERS
  Upload documentation to GitLab Pages
  Add documentation in devhelp format
  Add --enable-rebuild-docs configure option
  Fix libexslt header summaries
  Fix validity of tutorial XML (David King)
  Use DocBook URL for tutorial DTD (David King)
  Update libxslt.doap
  Add missing options to xsltproc man page

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 169: Ship libxml2
Peter Müller [Mon, 30 May 2022 19:45:55 +0000 (19:45 +0000)] 
Core Update 169: Ship libxml2

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibxml2: Update to version 2.9.14
Adolf Belka [Tue, 10 May 2022 10:30:32 +0000 (12:30 +0200)] 
libxml2: Update to version 2.9.14

- Update from version 2.9.12 to 2.9.14
- Update of rootfile
- Changelog
   v2.9.14: May 02 2022:
     - Security:
  [CVE-2022-29824] Integer overflow in xmlBuf and xmlBuffer
  Fix potential double-free in xmlXPtrStringRangeFunction
  Fix memory leak in xmlFindCharEncodingHandler
  Normalize XPath strings in-place
  Prevent integer-overflow in htmlSkipBlankChars() and xmlSkipBlankChars()
           (David Kilzer)
  Fix leak of xmlElementContent (David Kilzer)
     - Bug fixes:
  Fix parsing of subtracted regex character classes
  Fix recursion check in xinclude.c
  Reset last error in xmlCleanupGlobals
  Fix certain combinations of regex range quantifiers
  Fix range quantifier on subregex
     - Improvements:
  Fix recovery from invalid HTML start tags
     - Build system, portability:
  Define LFS macros before including system headers
  Initialize XPath floating-point globals
  configure: check for icu DEFS (James Hilliard)
  configure.ac: produce tar.xz only (GNOME policy) (David Seifert)
  CMakeLists.txt: Fix LIBXML_VERSION_NUMBER
  Fix build with older Python versions
  Fix --without-valid build
   v2.9.13: Feb 19 2022:
     - Security:
  [CVE-2022-23308] Use-after-free of ID and IDREF attributes
  (Thanks to Shinji Sato for the report)
  Use-after-free in xmlXIncludeCopyRange (David Kilzer)
  Fix Null-deref-in-xmlSchemaGetComponentTargetNs (huangduirong)
  Fix memory leak in xmlXPathCompNodeTest
  Fix null pointer deref in xmlStringGetNodeList
  Fix several memory leaks found by Coverity (David King)
     - Fixed regressions:
  Fix regression in RelaxNG pattern matching
  Properly handle nested documents in xmlFreeNode
  Fix regression with PEs in external DTD
  Fix random dropping of characters on dumping ASCII encoded XML (Mohammad Razavi)
  Revert "Make schema validation fail with multiple top-level elements"
  Fix regression when parsing invalid HTML tags in push mode
  Fix regression parsing public IDs literals in HTML
  Fix buffering in xmlOutputBufferWrite
  Fix whitespace when serializing empty HTML documents
  Fix XPath recursion limit
  Fix regression in xmlNodeDumpOutputInternal
  Work around lxml API abuse
     - Bug fixes:
  Fix xmlSetTreeDoc with entity references
  Fix double counting of CRLF in comments
  Make sure to grow input buffer in xmlParseMisc
  Don't ignore xmllint options after "-"
  Don't normalize namespace URIs in XPointer xmlns() scheme
  Fix handling of XSD with empty namespace
  Also register HTML document nodes
  Make xmllint return an error if arguments are missing
  Fix handling of ctxt->base in xmlXPtrEvalXPtrPart
  Fix xmllint --maxmem
  Fix htmlReadFd, which was using a mix of xml and html context functions (Finn Barber)
  Move current position before possible calling of ctxt->sax->characters (Yulin Li)
  Fix parse failure when 4-byte character in UTF-16 BE is split across a chunk (David Kilzer)
  Patch to forbid epsilon-reduction of final states (Arne Becker)
  Avoid segfault at exit when using custom memory functions (Mike Dalessio)
     - Tests, code quality, fuzzing:
  Remove .travis.yml
  Make xmlFuzzReadString return a zero size in error case
  Fix unused function warning in testapi.c
  Update NewsML DTD in test suite
  Add more checks for malloc failures in xmllint.c
  Avoid potential integer overflow in xmlstring.c
  Run CI tests with UBSan implicit-conversion checks
  Fix casting of line numbers in SAX2.c
  Fix integer conversion warnings in hash.c
  Add explicit casts in runtest.c
  Fix integer conversion warning in xmlIconvWrapper
  Add suffix to unsigned constant in xmlmemory.c
  Add explicit casts in testchar.c
  Fix integer conversion warnings in xmlstring.c
  Add explicit cast in xmlURIUnescapeString
  Remove unused variable in xmlCharEncOutFunc (David King)
     - Build system, portability:
  Remove xmlwin32version.h
  Fix fuzzer test with VPATH build
  Support custom prefix when installing Python module
  Remove Makefile.win
  Remove CVS and SVN-related code
  Port python 3.x module to Windows and improve distutils (Chun-wei Fan)
  Correctly install the HTML examples into their subdirectory (Mattia Rizzolo)
  Refactor the settings of $docdir (Mattia Rizzolo)
  Remove unused configure checks (Ben Boeckel)
  python/Makefile.am: use *_LIBADD, not *_LDFLAGS for LIBS (Sam James)
  Fix check for libtool in autogen.sh
  Use version in configure.ac for CMake (Timothy Lyanguzov)
  Add CMake alias targets for embedded projects (Markus Rickert)
     - Documentation:
  Remove SVN keyword anchors
  Rework README
  Remove README.cvs-commits
  Remove old ChangeLog
  Update hyperlinks
  Remove README.docs
  Remove MAINTAINERS
  Remove xmltutorial.pdf
  Upload documentation to GitLab pages
  Document how to escape XML_CATALOG_FILES
  Fix libxml2.doap
  Update URL for libxml++ C++ binding (Kjell Ahlstedt)
  Generate devhelp2 index file (Emmanuele Bassi)
  Mention XML_CATALOG_FILES is space-separated (Jan Tojnar)
  Add documentaiton for xmllint exit code 10 (Rainer Canavan)
  Fix some validation errors in the FAQ (David King)
  Add instructions on how to use CMake to compile libxml (Markus Rickert)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibvorbis: Update to version 1.3.7
Adolf Belka [Tue, 10 May 2022 10:30:14 +0000 (12:30 +0200)] 
libvorbis: Update to version 1.3.7

- Update from version 1.3.6 to 1.3.7
- Update of rootfile
- Changelog
   libvorbis 1.3.7 (2020-07-04)
* Fix CVE-2018-10393 - out-of-bounds read encoding very low sample rates.
* Fix CVE-2017-14160 - out-of-bounds read encoding very low sample rates.
* Fix handling invalid bytes per sample arguments.
* Fix handling invalid channel count arguments.
* Fix invalid free on seek failure.
* Fix negative shift reading blocksize.
* Fix accepting unreasonable float32 values.
* Fix tag comparison depending on locale.
* Fix unnecessarily linking libm.
* Fix memory leak in test_sharedbook.
* Update Visual Studio projects for ogg library filename change.
* Distribute CMake build files with the source package.
* Remove unnecessary configure --target switch.
* Add gitlab CI support.
* Add OSS-Fuzz support.
* Build system and integration updates.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 169: Ship libyang
Peter Müller [Mon, 30 May 2022 19:34:47 +0000 (19:34 +0000)] 
Core Update 169: Ship libyang

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>