Commit Graph

10239 Commits

Author SHA1 Message Date
Stefan Schantl
90efc7a939 Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next 2022-06-23 08:00:41 +02: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
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
29cf82e6fc Core Update 169: Ship OpenSSL
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-22 12:17:48 +00:00
Stefan Schantl
0e683e6506 Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next 2022-06-21 09:41:04 +02: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
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
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
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
ed5572536f Core Update 169: Ship misc-progs
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-17 16:39:12 +00:00
Timo Eissler
6a53c26cf7 perl-URI-Encode: New package
Simple percent Encoding/Decoding

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2022-06-17 10:22:31 +00:00
Michael Tremer
c9dc7fdec0 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>
2022-06-17 10:20:19 +00:00
Michael Tremer
b6f9fff2bc openvpn-authenticator: Don't process configuration when row is too short
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-06-17 10:20:19 +00:00
Timo Eissler
59f9e41361 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 ...").
2022-06-17 10:20:19 +00:00
Timo Eissler
472cd78269 openvpn-authenticator: Fix call of _client_auth_successful 2022-06-17 10:20:19 +00:00
Timo Eissler
a4a42daeea openvpn-authenticator: Return only available data
For connections which have not enabled OTP return
connection name and common_name attributes only.
2022-06-17 10:20:19 +00:00
Timo Eissler
74ab6f9fc0 openvpn-authenticator: Generate TOTP instead of HOTP codes 2022-06-17 10:20:19 +00:00
Michael Tremer
6834749d22 openvpn-2fa: Drop the previous authentication handler
This has been replaced by the newer authenticator

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-06-17 10:20:18 +00:00
Michael Tremer
339b84d509 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>
2022-06-17 10:20:18 +00:00
Michael Tremer
f27d021470 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>
2022-06-17 10:20:18 +00:00
Timo Eissler
e1e10515ec 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>
2022-06-17 10:20:17 +00:00
Timo Eissler
dc124917e3 perl-MIME-Base32: New package
Base32 encoder and decoder

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2022-06-17 10:20:17 +00:00
Timo Eissler
e97759c292 perl-Imager-QRCode: New package
Generate QR Code with Imager using libqrencode

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2022-06-17 10:20:17 +00:00
Timo Eissler
bc8bea129c 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>
2022-06-17 10:20:17 +00:00
Timo Eissler
cb36c0929c perl-Module-Install: New package
Module::Install configuration system

Required by perl-Imager-QRCode.

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2022-06-17 10:20:17 +00:00
Timo Eissler
3aeadfd8bd 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>
2022-06-17 10:20:17 +00:00
Timo Eissler
bfc889a70a 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>
2022-06-17 10:20:17 +00:00
Timo Eissler
a102cdbae1 perl-Module-Build: New package
Build and install Perl modules

Required by perl-Module-Install.

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2022-06-17 10:20:17 +00:00
Timo Eissler
6f8b1c534e perl-File-Remove: New package
Remove files and directories

Required by perl-Module-Install.

Signed-off-by: Timo Eissler <timo.eissler@ipfire.org>
2022-06-17 10:20:17 +00:00
Timo Eissler
3780b7a4ac 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>
2022-06-17 10:20:16 +00:00
Timo Eissler
7e4af6eb54 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>
2022-06-17 10:20:14 +00:00
Peter Müller
961e253e1a Core Update 169: Ship bind
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-17 06:56:05 +00:00
Matthias Fischer
07bd97edf7 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>
2022-06-17 06:55:37 +00:00
Peter Müller
f391d8628b 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>
2022-06-13 20:49:00 +00:00
Peter Müller
d819a62b14 linux: Update rootfiles
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-13 20:45:51 +00:00
Peter Müller
c0c8a08992 linux: Run make oldconfig for x86_64
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-13 20:42:07 +00:00
Peter Müller
6d084eb8b1 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>
2022-06-13 20:36:13 +00:00
Peter Müller
d462422cc3 Core Update 169: Ship tzdata
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-13 15:52:19 +00:00
Peter Müller
0371726e94 tzdata: Update to 2022a
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-13 15:52:06 +00:00