]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/log
people/pmueller/ipfire-2.x.git
2 years agoCore Update 166: Ship wget temp-c166-development
Peter Müller [Mon, 28 Feb 2022 20:43:58 +0000 (20:43 +0000)] 
Core Update 166: Ship wget

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agowget: Update to 1.21.3
Matthias Fischer [Sun, 27 Feb 2022 13:00:51 +0000 (14:00 +0100)] 
wget: Update to 1.21.3

For details see:
https://lists.gnu.org/archive/html/info-gnu/2022-02/msg00017.html

"This is a minor bugfix release.

...

* Noteworthy changes in release 1.21.3 (2022-02-26)

** Fix computation of total bytes downloaded during FTP transfers (#61277)

** Add option to select TLS 1.3 on the command line

** Fix HSTS build issues on some 64-bit big-endian systems

** Hide password during status report in --no-verbose

** Remove a spurious print statement that showed up even during --quiet

** Some more cleanups and bug-fixes"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agoCore Update 166: Ship wireless-regdb
Peter Müller [Mon, 28 Feb 2022 20:43:01 +0000 (20:43 +0000)] 
Core Update 166: Ship wireless-regdb

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agowireless-regdb: Update to version 2022.02.18
Adolf Belka [Sun, 27 Feb 2022 13:53:17 +0000 (14:53 +0100)] 
wireless-regdb: Update to version 2022.02.18

- Update from 2020.11.20 to 2022.02.18
- Update of rootfile not required
- Changelog
   There is no changelog provided for this file.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 166: Ship and restart OpenSSH
Peter Müller [Mon, 28 Feb 2022 20:42:18 +0000 (20:42 +0000)] 
Core Update 166: Ship and restart OpenSSH

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoopenssh: Update to version 8.9p1
Adolf Belka [Sun, 27 Feb 2022 13:52:50 +0000 (14:52 +0100)] 
openssh: Update to version 8.9p1

- Update from 8.8p1 to 8.9p1
- Update of rootfile not required
- Changelog
 OpenSSH 8.9 was released on 2022-02-23. It is available from the
  mirrors listed at https://www.openssh.com/.
 OpenSSH is a 100% complete SSH protocol 2.0 implementation and
  includes sftp client and server support.
Future deprecation notice
 A near-future release of OpenSSH will switch scp(1) from using the
  legacy scp/rcp protocol to using SFTP by default.
 Legacy scp/rcp performs wildcard expansion of remote filenames (e.g.
  "scp host:* .") through the remote shell. This has the side effect of
  requiring double quoting of shell meta-characters in file names
  included on scp(1) command-lines, otherwise they could be interpreted
  as shell commands on the remote side.
 This creates one area of potential incompatibility: scp(1) when using
  the SFTP protocol no longer requires this finicky and brittle quoting,
  and attempts to use it may cause transfers to fail. We consider the
  removal of the need for double-quoting shell characters in file names
  to be a benefit and do not intend to introduce bug-compatibility for
  legacy scp/rcp in scp(1) when using the SFTP protocol.
 Another area of potential incompatibility relates to the use of remote
  paths relative to other user's home directories, for example -
  "scp host:~user/file /tmp". The SFTP protocol has no native way to
  expand a ~user path. However, sftp-server(8) in OpenSSH 8.7 and later
  support a protocol extension "expand-path@openssh.com" to support
  this.
Security Near Miss
 * sshd(8): fix an integer overflow in the user authentication path
   that, in conjunction with other logic errors, could have yielded
   unauthenticated access under difficult to exploit conditions.
   This situation is not exploitable because of independent checks in
   the privilege separation monitor. Privilege separation has been
   enabled by default in since openssh-3.2.2 (released in 2002) and
   has been mandatory since openssh-7.5 (released in 2017). Moreover,
   portable OpenSSH has used toolchain features available in most
   modern compilers to abort on signed integer overflow since
   openssh-6.5 (released in 2014).
   Thanks to Malcolm Stagg for finding and reporting this bug.
Potentially-incompatible changes
 * sshd(8), portable OpenSSH only: this release removes in-built
   support for MD5-hashed passwords. If you require these on your
   system then we recommend linking against libxcrypt or similar.
 * This release modifies the FIDO security key middleware interface
   and increments SSH_SK_VERSION_MAJOR.
Changes since OpenSSH 8.8
This release includes a number of new features.
New features
 * ssh(1), sshd(8), ssh-add(1), ssh-agent(1): add a system for
   restricting forwarding and use of keys added to ssh-agent(1)
   A detailed description of the feature is available at
   https://www.openssh.com/agent-restrict.html and the protocol
   extensions are documented in the PROTOCOL and PROTOCOL.agent
   files in the source release.
 * ssh(1), sshd(8): add the sntrup761x25519-sha512@openssh.com hybrid
   ECDH/x25519 + Streamlined NTRU Prime post-quantum KEX to the
   default KEXAlgorithms list (after the ECDH methods but before the
   prime-group DH ones). The next release of OpenSSH is likely to
   make this key exchange the default method.
 * ssh-keygen(1): when downloading resident keys from a FIDO token,
   pass back the user ID that was used when the key was created and
   append it to the filename the key is written to (if it is not the
   default). Avoids keys being clobbered if the user created multiple
   resident keys with the same application string but different user
   IDs.
 * ssh-keygen(1), ssh(1), ssh-agent(1): better handling for FIDO keys
   on tokens that provide user verification (UV) on the device itself,
   including biometric keys, avoiding unnecessary PIN prompts.
 * ssh-keygen(1): add "ssh-keygen -Y match-principals" operation to
   perform matching of principals names against an allowed signers
   file. To be used towards a TOFU model for SSH signatures in git.
 * ssh-add(1), ssh-agent(1): allow pin-required FIDO keys to be added
   to ssh-agent(1). $SSH_ASKPASS will be used to request the PIN at
   authentication time.
 * ssh-keygen(1): allow selection of hash at sshsig signing time
   (either sha512 (default) or sha256).
 * ssh(1), sshd(8): read network data directly to the packet input
   buffer instead of indirectly via a small stack buffer. Provides a
   modest performance improvement.
 * ssh(1), sshd(8): read data directly to the channel input buffer,
   providing a similar modest performance improvement.
 * ssh(1): extend the PubkeyAuthentication configuration directive to
   accept yes|no|unbound|host-bound to allow control over one of the
   protocol extensions used to implement agent-restricted keys.
Bugfixes
 * sshd(8): document that CASignatureAlgorithms, ExposeAuthInfo and
   PubkeyAuthOptions can be used in a Match block. PR277.
 * sshd(8): fix possible string truncation when constructing paths to
   .rhosts/.shosts files with very long user home directory names.
 * ssh-keysign(1): unbreak for KEX algorithms that use SHA384/512
   exchange hashes
 * ssh(1): don't put the TTY into raw mode when SessionType=none,
   avoids ^C being unable to kill such a session. bz3360
 * scp(1): fix some corner-case bugs in SFTP-mode handling of
   ~-prefixed paths.
 * ssh(1): unbreak hostbased auth using RSA keys. Allow ssh(1) to
   select RSA keys when only RSA/SHA2 signature algorithms are
   configured (this is the default case). Previously RSA keys were
   not being considered in the default case.
 * ssh-keysign(1): make ssh-keysign use the requested signature
   algorithm and not the default for the key type. Part of unbreaking
   hostbased auth for RSA/SHA2 keys.
 * ssh(1): stricter UpdateHostkey signature verification logic on
   the client- side. Require RSA/SHA2 signatures for RSA hostkeys
   except when RSA/SHA1 was explicitly negotiated during initial
   KEX; bz3375
 * ssh(1), sshd(8): fix signature algorithm selection logic for
   UpdateHostkeys on the server side. The previous code tried to
   prefer RSA/SHA2 for hostkey proofs of RSA keys, but missed some
   cases. This will use RSA/SHA2 signatures for RSA keys if the
   client proposed these algorithms in initial KEX. bz3375
 * All: convert all uses of select(2)/pselect(2) to poll(2)/ppoll(2).
   This includes the mainloops in ssh(1), ssh-agent(1), ssh-agent(1)
   and sftp-server(8), as well as the sshd(8) listen loop and all
   other FD read/writability checks. On platforms with missing or
   broken poll(2)/ppoll(2) syscalls a select(2)-based compat shim is
   available.
 * ssh-keygen(1): the "-Y find-principals" command was verifying key
   validity when using ca certs but not with simple key lifetimes
   within the allowed signers file.
 * ssh-keygen(1): make sshsig verify-time argument parsing optional
 * sshd(8): fix truncation in rhosts/shosts path construction.
 * ssh(1), ssh-agent(1): avoid xmalloc(0) for PKCS#11 keyid for ECDSA
   keys (we already did this for RSA keys). Avoids fatal errors for
   PKCS#11 libraries that return empty keyid, e.g. Microchip ATECC608B
   "cryptoauthlib"; bz#3364
 * ssh(1), ssh-agent(1): improve the testing of credentials against
   inserted FIDO: ask the token whether a particular key belongs to
   it in cases where the token supports on-token user-verification
   (e.g. biometrics) rather than just assuming that it will accept it.
   Will reduce spurious "Confirm user presence" notifications for key
   handles that relate to FIDO keys that are not currently inserted in at
   least some cases. bz3366
 * ssh(1), sshd(8): correct value for IPTOS_DSCP_LE. It needs to
   allow for the preceding two ECN bits. bz#3373
 * ssh-keygen(1): add missing -O option to usage() for the "-Y sign"
   option.
 * ssh-keygen(1): fix a NULL deref when using the find-principals
   function, when matching an allowed_signers line that contains a
   namespace restriction, but no restriction specified on the
   command-line
 * ssh-agent(1): fix memleak in process_extension(); oss-fuzz
   issue #42719
 * ssh(1): suppress "Connection to xxx closed" messages when LogLevel
   is set to "error" or above. bz3378
 * ssh(1), sshd(8): use correct zlib flags when inflate(3)-ing
   compressed packet data. bz3372
 * scp(1): when recursively transferring files in SFTP mode, create the
   destination directory if it doesn't already exist to match scp(1) in
   legacy RCP mode behaviour.
 * scp(1): many improvements in error message consistency between scp(1)
   in SFTP mode vs legacy RCP mode.
 * sshd(8): fix potential race in SIGTERM handling PR289
 * ssh(1), ssh(8): since DSA keys are deprecated, move them to the
   end of the default list of public keys so that they will be tried
   last. PR295
 * ssh-keygen(1): allow 'ssh-keygen -Y find-principals' to match
   wildcard principals in allowed_signers files
Portability
 * ssh(1), sshd(8): don't trust closefrom(2) on Linux. glibc's
   implementation does not work in a chroot when the kernel does not
   have close_range(2). It tries to read from /proc/self/fd and when
   that fails dies with an assertion of sorts. Instead, call
   close_range(2) directly from our compat code and fall back if
   that fails.  bz#3349,
 * OS X poll(2) is broken; use compat replacement. For character-
   special devices like /dev/null, Darwin's poll(2) returns POLLNVAL
   when polled with POLLIN. Apparently this is Apple bug 3710161 -
   not public but a websearch will find other OSS projects
   rediscovering it periodically since it was first identified in
   2005.
 * Correct handling of exceptfds/POLLPRI in our select(2)-based
   poll(2)/ppoll(2) compat implementation.
 * Cygwin: correct checking of mbstowcs() return value.
 * Add a basic SECURITY.md that refers people to the openssh.com
   website.
 * Enable additional compiler warnings and toolchain hardening flags,
   including -Wbitwise-instead-of-logical, -Wmisleading-indentation,
   -fzero-call-used-regs and -ftrivial-auto-var-init.
 * HP/UX. Use compat getline(3) on HP-UX 10.x, where the libc version
   is not reliable.

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-c166-development
Peter Müller [Mon, 28 Feb 2022 20:40:36 +0000 (20:40 +0000)] 
Merge branch 'next' into temp-c166-development

2 years agopython3-yaml: Drop unnecessary armv6l rootfile
Peter Müller [Mon, 28 Feb 2022 20:18:58 +0000 (20:18 +0000)] 
python3-yaml: Drop unnecessary armv6l rootfile

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoMerge branch 'master' into next
Peter Müller [Mon, 28 Feb 2022 20:16:38 +0000 (20:16 +0000)] 
Merge branch 'master' into next

2 years agosuricata: drop unsupported JA3 rule provider
Arne Fitzenreiter [Sat, 26 Feb 2022 14:19:45 +0000 (14:19 +0000)] 
suricata: drop unsupported JA3 rule provider

our current suricata version not support JA3 based rules so
this drop the providers from the list.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoborgbackup: Fix rootfile on 32 bit ARM
Peter Müller [Sat, 26 Feb 2022 12:16:39 +0000 (12:16 +0000)] 
borgbackup: Fix rootfile on 32 bit ARM

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoPython3: Fix rootfile for 32 bit ARM again
Peter Müller [Fri, 25 Feb 2022 14:04:06 +0000 (14:04 +0000)] 
Python3: Fix rootfile for 32 bit ARM again

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoStart Core Update 166
Peter Müller [Wed, 23 Feb 2022 17:01:33 +0000 (17:01 +0000)] 
Start Core Update 166

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 165: Ship vpnmain.cgi
Peter Müller [Wed, 23 Feb 2022 15:54:13 +0000 (15:54 +0000)] 
Core Update 165: Ship vpnmain.cgi

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agovpnmain.cgi: Select Curve 25519 as default
Michael Tremer [Wed, 23 Feb 2022 10:16:41 +0000 (10:16 +0000)] 
vpnmain.cgi: Select Curve 25519 as default

This was supposed to be enabled by default. Due to a copy-and-paste
error, it was, however, not selected for IKE, but only for ESP.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agooci-python-sdk: Depend on python3-certifi
Michael Tremer [Tue, 22 Feb 2022 17:19:10 +0000 (17:19 +0000)] 
oci-python-sdk: Depend on python3-certifi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 165: Ship dhcpcd-related changes
Peter Müller [Wed, 23 Feb 2022 15:51:33 +0000 (15:51 +0000)] 
Core Update 165: Ship dhcpcd-related changes

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agodhcpcd: Allow freely setting MTU
Michael Tremer [Tue, 22 Feb 2022 12:18:06 +0000 (12:18 +0000)] 
dhcpcd: Allow freely setting MTU

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agodhcpcd: Remove old MTU setting script
Michael Tremer [Tue, 22 Feb 2022 12:18:05 +0000 (12:18 +0000)] 
dhcpcd: Remove old MTU setting script

This is being replaced by adding the MTU option to any routes that
dhcpcd installs.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agodhcpcd: Force setting MTU through dhcpcd
Michael Tremer [Tue, 22 Feb 2022 12:18:04 +0000 (12:18 +0000)] 
dhcpcd: Force setting MTU through dhcpcd

The DHCP server can instruct clients to configure a certain MTU.

This used to be done by setting the MTU of the interface. However,
dhcpcd has changed this behaviour using routes to.

We used to have a modified version of the old mechanism which no longer
works well with the new system and is therefore to be dropped.

This is the first commit in the series implementing the new behaviour
and telling dhcpcd to use the configured MTU.

Fixes: #12563
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoRevert "gcc: Compile without ZSTD"
Peter Müller [Wed, 23 Feb 2022 15:36:25 +0000 (15:36 +0000)] 
Revert "gcc: Compile without ZSTD"

https://lists.ipfire.org/pipermail/development/2022-February/012544.html

This reverts commit 0b6ba4a0ca2e08cd9fc56e99e80d33a6fe88b395.

2 years agoPython3: Attempt to fix rootfile on 32 bit ARM
Peter Müller [Tue, 22 Feb 2022 20:18:27 +0000 (20:18 +0000)] 
Python3: Attempt to fix rootfile on 32 bit ARM

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agopython3-cffi: Fix rootfile more elegant on ARM
Peter Müller [Tue, 22 Feb 2022 20:13:44 +0000 (20:13 +0000)] 
python3-cffi: Fix rootfile more elegant on ARM

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoRevert "python3-cffi: Fix rootfiles on ARM"
Peter Müller [Tue, 22 Feb 2022 20:13:19 +0000 (20:13 +0000)] 
Revert "python3-cffi: Fix rootfiles on ARM"

This reverts commit 410758e03fdab9be8851068fb3d78c675c29744e.

2 years agofr: Update French translation
Stéphane Pautrel [Tue, 22 Feb 2022 12:39:06 +0000 (12:39 +0000)] 
fr: Update French translation

- 24 strings have been added (drop hostile and spoofed martians, fw red,
  ids options and provider, pakfire update messages...)
- 3 strings have been inproved

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocredits: Run ./make.sh update-contributors
Michael Tremer [Tue, 22 Feb 2022 12:40:53 +0000 (12:40 +0000)] 
credits: Run ./make.sh update-contributors

This should be run regularly, or ideally just before we close a Core
Update so that we can give credit to everywhere who has contributed to
it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-cffi: Fix rootfiles on ARM
Peter Müller [Tue, 22 Feb 2022 19:46:53 +0000 (19:46 +0000)] 
python3-cffi: Fix rootfiles on ARM

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoConfig: Disable parallel builds for Cargo on riscv64
Michael Tremer [Tue, 22 Feb 2022 12:51:35 +0000 (12:51 +0000)] 
Config: Disable parallel builds for Cargo on riscv64

There seems to be some problem where Cargo deadlocks during the build
when running on mutliple cores simulteneously.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agostrip: Do not try to strip QEMU
Michael Tremer [Tue, 22 Feb 2022 12:51:34 +0000 (12:51 +0000)] 
strip: Do not try to strip QEMU

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoboost: Enable build on all architectures
Michael Tremer [Tue, 22 Feb 2022 12:51:33 +0000 (12:51 +0000)] 
boost: Enable build on all architectures

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Fix check for level one cache line size
Michael Tremer [Tue, 22 Feb 2022 12:51:32 +0000 (12:51 +0000)] 
suricata: Fix check for level one cache line size

riscv64 does not return any value on our machine (maybe because it is
emulated?). "undefined" is however seen as a valid value, which makes
the build fail.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoliburcu: Update automake to build on riscv64
Michael Tremer [Tue, 22 Feb 2022 12:51:31 +0000 (12:51 +0000)] 
liburcu: Update automake to build on riscv64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agokernel: Add a basic configuration for riscv64
Michael Tremer [Tue, 22 Feb 2022 12:51:30 +0000 (12:51 +0000)] 
kernel: Add a basic configuration for riscv64

This kernel configuration is a copy of our kernel configuration for
x86_64 on which I ran "make olddefconfig" which will set any unknown
values to their defaults.

This exists so that we have some kernel (which I did not try to boot) to
complete the build process.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agorust: Package for riscv64
Michael Tremer [Tue, 22 Feb 2022 12:51:29 +0000 (12:51 +0000)] 
rust: Package for riscv64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agorust: Rust's arch for riscv64 is called riscv64gc
Michael Tremer [Tue, 22 Feb 2022 12:51:28 +0000 (12:51 +0000)] 
rust: Rust's arch for riscv64 is called riscv64gc

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: riscv64: Emulate SiFive U54 CPU
Michael Tremer [Tue, 22 Feb 2022 12:51:27 +0000 (12:51 +0000)] 
make.sh: riscv64: Emulate SiFive U54 CPU

In QEMU, some processes seem to freeze/deadlock in their futex handling
which is causing the whole build process to block.

Changing the emulated CPU seems to work around these problems.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agojq: Update autotools
Michael Tremer [Tue, 22 Feb 2022 12:51:26 +0000 (12:51 +0000)] 
jq: Update autotools

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agogcc: Compile without ZSTD
Michael Tremer [Tue, 22 Feb 2022 12:51:25 +0000 (12:51 +0000)] 
gcc: Compile without ZSTD

GCC can use ZSTD to compress debugging/LTO information in binary
objects. However, on riscv64, compiling zstd requires libatomic which is
not available at this point.

In order to make the build work, we explicitely disable ZSTD in GCC and
build ZSTD after libatomic is available.

Although ZSTD offers great compression, we won't have any disadvantages
through this change since we do not ship any debugging information and
at this point in time to not use LTO.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agostrip: Make this work when cross-compiling
Michael Tremer [Tue, 22 Feb 2022 12:51:24 +0000 (12:51 +0000)] 
strip: Make this work when cross-compiling

The host might not have the correct tools to strip a foreign
architecture, therefore we need to use the cross tools.

The crosstools might be built in an architecture that they
cannot strip themselves and since they are not being part of the
packaged toolchain, we will just skip them.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Avoid calling date when determining elapsed seconds
Michael Tremer [Tue, 22 Feb 2022 12:51:23 +0000 (12:51 +0000)] 
make.sh: Avoid calling date when determining elapsed seconds

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Follow symlinks when checking if QEMU is static
Michael Tremer [Tue, 22 Feb 2022 12:51:22 +0000 (12:51 +0000)] 
make.sh: Follow symlinks when checking if QEMU is static

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Do not throw away any error messages when setting ccache size
Michael Tremer [Tue, 22 Feb 2022 12:51:21 +0000 (12:51 +0000)] 
make.sh: Do not throw away any error messages when setting ccache size

This is the first time we will try to enter the chroot environment and
when setting up QEMU fails, we won't see any errors.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoMerge branch 'master' into next
Arne Fitzenreiter [Tue, 22 Feb 2022 11:40:44 +0000 (11:40 +0000)] 
Merge branch 'master' into next

2 years agocore164: exclude boot/uEnv.txt
Arne Fitzenreiter [Tue, 22 Feb 2022 11:38:15 +0000 (11:38 +0000)] 
core164: exclude boot/uEnv.txt

uEnv.txt was destroyed on aarch64 because here a new u-boot was shipped.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoCore Update 165: Ship oci-setup initscript
Peter Müller [Mon, 21 Feb 2022 21:36:18 +0000 (21:36 +0000)] 
Core Update 165: Ship oci-setup initscript

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agooci: user-data: Try to decode base64 content
Michael Tremer [Mon, 21 Feb 2022 17:24:56 +0000 (17:24 +0000)] 
oci: user-data: Try to decode base64 content

Terraform only supports sending any shell scripts encoded in base64
which is however not required by Oracle. Therefore we have to test if
the script is encoded or not.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agosamba: Fix rootfiles on ARM
Peter Müller [Mon, 21 Feb 2022 21:28:03 +0000 (21:28 +0000)] 
samba: Fix rootfiles on ARM

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agooci-cli: Depend on python3-jmespath
Michael Tremer [Mon, 21 Feb 2022 18:43:18 +0000 (18:43 +0000)] 
oci-cli: Depend on python3-jmespath

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agooci-cli: Ship egg metadata
Michael Tremer [Mon, 21 Feb 2022 18:43:17 +0000 (18:43 +0000)] 
oci-cli: Ship egg metadata

This package tries to identify if it is actually installed and does that
in a rather unorthodox way. So, thoses files are needed to run the "oci"
command. Only god knows why.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-terminaltables: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:16 +0000 (18:43 +0000)] 
python3-terminaltables: New package

Required by oci-cli.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-arrow: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:15 +0000 (18:43 +0000)] 
python3-arrow: New package

Required by oci-cli.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-click: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:14 +0000 (18:43 +0000)] 
python3-click: New package

Required by oci-python-sdk

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-pytz: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:13 +0000 (18:43 +0000)] 
python3-pytz: New package

Required by oci-python-sdk

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-circuitbreaker: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:12 +0000 (18:43 +0000)] 
python3-circuitbreaker: New package

Required by oci-python-sdk

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Re-order build of some Python modules
Michael Tremer [Mon, 21 Feb 2022 18:43:11 +0000 (18:43 +0000)] 
make.sh: Re-order build of some Python modules

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-cryptography: Fix build against Rust
Michael Tremer [Mon, 21 Feb 2022 18:43:10 +0000 (18:43 +0000)] 
python3-cryptography: Fix build against Rust

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-pycparser: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:09 +0000 (18:43 +0000)] 
python3-pycparser: New package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-install: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:08 +0000 (18:43 +0000)] 
python3-install: New package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-pep517: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:07 +0000 (18:43 +0000)] 
python3-pep517: New package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-build: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:06 +0000 (18:43 +0000)] 
python3-build: New package

This can build packages.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-flit: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:05 +0000 (18:43 +0000)] 
python3-flit: New package

Yet another build system for Python

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-idna: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:04 +0000 (18:43 +0000)] 
python3-idna: New package

Adds support for international domain names to python3-requests.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-certifi: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:03 +0000 (18:43 +0000)] 
python3-certifi: New package

This package provides the Mozilla CA list for python3-requests.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-requests: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:02 +0000 (18:43 +0000)] 
python3-requests: New package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-charset-normalizer: New package
Michael Tremer [Mon, 21 Feb 2022 18:43:01 +0000 (18:43 +0000)] 
python3-charset-normalizer: New package

Required by python3-requests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-cryptography: New package required by oci-python-sdk
Michael Tremer [Mon, 21 Feb 2022 18:43:00 +0000 (18:43 +0000)] 
python3-cryptography: New package required by oci-python-sdk

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-cffi: New package
Michael Tremer [Mon, 21 Feb 2022 18:42:59 +0000 (18:42 +0000)] 
python3-cffi: New package

Required by python3-cryptography.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Build python3-packaging sooner
Michael Tremer [Mon, 21 Feb 2022 18:42:58 +0000 (18:42 +0000)] 
make.sh: Build python3-packaging sooner

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-semantic-version: New package
Michael Tremer [Mon, 21 Feb 2022 18:42:57 +0000 (18:42 +0000)] 
python3-semantic-version: New package

This is required by setuptools-rust.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-typing-extensions: New package
Michael Tremer [Mon, 21 Feb 2022 18:42:56 +0000 (18:42 +0000)] 
python3-typing-extensions: New package

This is required by setuptools-rust.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython3-setuptools-rust: New package
Michael Tremer [Mon, 21 Feb 2022 18:42:55 +0000 (18:42 +0000)] 
python3-setuptools-rust: New package

This is an extension for the setuptools package to build extensions in
Rust.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Build the rust compiler earlier
Michael Tremer [Mon, 21 Feb 2022 18:42:54 +0000 (18:42 +0000)] 
make.sh: Build the rust compiler earlier

rustc is being required earlier for building python3-cryptography.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agooci-python-sdk: New package
Michael Tremer [Mon, 21 Feb 2022 18:42:53 +0000 (18:42 +0000)] 
oci-python-sdk: New package

This is a dependency required by oci-cli.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agooci-cli: New package
Michael Tremer [Mon, 21 Feb 2022 18:42:52 +0000 (18:42 +0000)] 
oci-cli: New package

This package includes CLI tools for Oracle Cloud Infrastructure

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agohostapd: Repair LFS file after merge garbage
Peter Müller [Mon, 21 Feb 2022 21:09:48 +0000 (21:09 +0000)] 
hostapd: Repair LFS file after merge garbage

Reported-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 165: Ship wirelessclient.cgi
Peter Müller [Mon, 21 Feb 2022 20:56:38 +0000 (20:56 +0000)] 
Core Update 165: Ship wirelessclient.cgi

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agowireless client: Remove option for WEP
Michael Tremer [Sun, 20 Feb 2022 17:56:31 +0000 (17:56 +0000)] 
wireless client: Remove option for WEP

This has not been compiled into our version of wpa_supplicant (if it has
been ever) and so there is no danger to disable this without any further
ado.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoexpat: Update to version 2.4.6 - Security/CVE fixes
Adolf Belka [Mon, 21 Feb 2022 13:11:21 +0000 (14:11 +0100)] 
expat: Update to version 2.4.6 - Security/CVE fixes

- Update from 2.4.4 to 2.4.6
- Update of rootfile
- Changelog
   Release 2.4.6 Sun February 20 2022
      Bug fixes:
            #566  Fix a regression introduced by the fix for CVE-2022-25313
                    in release 2.4.5 that affects applications that (1)
                    call function XML_SetElementDeclHandler and (2) are
                    parsing XML that contains nested element declarations
                    (e.g. "<!ELEMENT junk ((bar|foo|xyz+), zebra*)>").
   Release 2.4.5 Fri February 18 2022
      Security fixes:
            #562  CVE-2022-25235 -- Passing malformed 2- and 3-byte UTF-8
                    sequences (e.g. from start tag names) to the XML
                    processing application on top of Expat can cause
                    arbitrary damage (e.g. code execution) depending
                    on how invalid UTF-8 is handled inside the XML
                    processor; validation was not their job but Expat's.
                    Exploits with code execution are known to exist.
            #561  CVE-2022-25236 -- Passing (one or more) namespace separator
                    characters in "xmlns[:prefix]" attribute values
                    made Expat send malformed tag names to the XML
                    processor on top of Expat which can cause
                    arbitrary damage (e.g. code execution) depending
                    on such unexpectable cases are handled inside the XML
                    processor; validation was not their job but Expat's.
                    Exploits with code execution are known to exist.
            #558  CVE-2022-25313 -- Fix stack exhaustion in doctype parsing
                    that could be triggered by e.g. a 2 megabytes
                    file with a large number of opening braces.
                    Expected impact is denial of service or potentially
                    arbitrary code execution.
            #560  CVE-2022-25314 -- Fix integer overflow in function copyString;
                    only affects the encoding name parameter at parser creation
                    time which is often hardcoded (rather than user input),
                    takes a value in the gigabytes to trigger, and a 64-bit
                    machine.  Expected impact is denial of service.
            #559  CVE-2022-25315 -- Fix integer overflow in function storeRawNames;
                    needs input in the gigabytes and a 64-bit machine.
                    Expected impact is denial of service or potentially
                    arbitrary code execution.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoMerge branch 'master' into next
Arne Fitzenreiter [Sat, 19 Feb 2022 16:02:28 +0000 (16:02 +0000)] 
Merge branch 'master' into next

2 years agocore164: add unbound initskript
Arne Fitzenreiter [Sat, 19 Feb 2022 15:53:54 +0000 (15:53 +0000)] 
core164: add unbound initskript

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agounbound: fix dns working check
Arne Fitzenreiter [Sat, 19 Feb 2022 08:22:06 +0000 (09:22 +0100)] 
unbound: fix dns working check

pool.ipfire.org cannot resolved. Now try both default dns
servers. If one works dns is working.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agofirewall: Make logging of conntrack INVALIDs configureable
Peter Müller [Fri, 18 Feb 2022 22:40:55 +0000 (22:40 +0000)] 
firewall: Make logging of conntrack INVALIDs configureable

In theory, logging of dropped packets classified by conntrack as being
INVALID should never be disabled, since one wants to have a paper trail
of what his/her firewall is doing.

However, conntrack seems to drop a lot of (at the first glance
legitimate) packets, hence bloating the logs, making spotting the
important firewall hits more difficult.

This patch therefore adds the option to disable logging of packets being
dropped by conntrack due to INVALID state.

Please note:
- This patch does not add this category to the firewall hits graph.
- The variables in this patch ("LOGDROPCTINVALID") should make it clear
  that it is about toggling _logging_, not the actual _dropping_. Other
  variables are still in need of being renamed to clarify this, which
  will be done in a dedicated patch.
- Also, the changes made to update.sh need to take place in
  config/rootfiles/core/164/update.sh for "master", since this patch has
  been developed against "next". Kindly cherry-pick the necessary
  changes.

Partially fixes: #12778

Reported-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agostage2: Zut alors, delete the right line in rootfile
Peter Müller [Sat, 19 Feb 2022 11:54:10 +0000 (11:54 +0000)] 
stage2: Zut alors, delete the right line in rootfile

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agostage2: Remove forgotten mv command
Peter Müller [Sat, 19 Feb 2022 09:46:27 +0000 (09:46 +0000)] 
stage2: Remove forgotten mv command

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agofirewall: Add proper logging prefix for conntrack INVALID hits
Peter Müller [Thu, 17 Feb 2022 20:16:02 +0000 (20:16 +0000)] 
firewall: Add proper logging prefix for conntrack INVALID hits

Fixes: #12778
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoFix Bugzilla URL in GCC LFS file
Peter Müller [Sat, 19 Feb 2022 00:23:21 +0000 (00:23 +0000)] 
Fix Bugzilla URL in GCC LFS file

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoDrop ovpn-collectd-convert
Peter Müller [Sat, 19 Feb 2022 00:01:47 +0000 (00:01 +0000)] 
Drop ovpn-collectd-convert

This script is orphaned: It was only used while upgrading to Core Update
89, sitting around in /usr/sbin/ doing nothing ever since.

Keeping it there won't do any harm. On the other hand, dragging an
unused script around on our installations does not make sense either.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoEarly spring clean: Remove trailing whitespaces, and correct licence headers
Peter Müller [Fri, 18 Feb 2022 23:54:57 +0000 (23:54 +0000)] 
Early spring clean: Remove trailing whitespaces, and correct licence headers

Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoMerge branch 'temp-c165-development' into next
Peter Müller [Fri, 18 Feb 2022 22:47:07 +0000 (22:47 +0000)] 
Merge branch 'temp-c165-development' into next

2 years agofirewall: Make logging of conntrack INVALIDs configureable
Peter Müller [Fri, 18 Feb 2022 22:40:55 +0000 (22:40 +0000)] 
firewall: Make logging of conntrack INVALIDs configureable

In theory, logging of dropped packets classified by conntrack as being
INVALID should never be disabled, since one wants to have a paper trail
of what his/her firewall is doing.

However, conntrack seems to drop a lot of (at the first glance
legitimate) packets, hence bloating the logs, making spotting the
important firewall hits more difficult.

This patch therefore adds the option to disable logging of packets being
dropped by conntrack due to INVALID state.

Please note:
- This patch does not add this category to the firewall hits graph.
- The variables in this patch ("LOGDROPCTINVALID") should make it clear
  that it is about toggling _logging_, not the actual _dropping_. Other
  variables are still in need of being renamed to clarify this, which
  will be done in a dedicated patch.
- Also, the changes made to update.sh need to take place in
  config/rootfiles/core/164/update.sh for "master", since this patch has
  been developed against "next". Kindly cherry-pick the necessary
  changes.

Partially fixes: #12778

Reported-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agofirewall: Add proper logging prefix for conntrack INVALID hits
Peter Müller [Thu, 17 Feb 2022 20:16:02 +0000 (20:16 +0000)] 
firewall: Add proper logging prefix for conntrack INVALID hits

Fixes: #12778
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoMerge branch 'master' into temp-c165-development
Peter Müller [Fri, 18 Feb 2022 22:28:55 +0000 (22:28 +0000)] 
Merge branch 'master' into temp-c165-development

2 years agoMerge branch 'master' into next
Peter Müller [Fri, 18 Feb 2022 22:28:35 +0000 (22:28 +0000)] 
Merge branch 'master' into next

2 years agoacct.en.pl: Update to use proxy accounting - Bug#12772
Adolf Belka [Fri, 18 Feb 2022 14:32:39 +0000 (15:32 +0100)] 
acct.en.pl: Update to use proxy accounting - Bug#12772

-Replace the variable names used for the accounting page with proxy accounting in a
  consistent manner
- Tested on a vm system and confirmed to have a consistent naming approach now

Fixes: Bug#12772
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agoacct.pl: Change name of package in Error message - Bug#12772
Adolf Belka [Fri, 18 Feb 2022 14:32:38 +0000 (15:32 +0100)] 
acct.pl: Change name of package in Error message - Bug#12772

- Change package name from squid accounting to proxy accounting in mail Subject line

Fixes: Bug#12772
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agosquid-accounting: Rename to proxy-accounting - bug#12772
Adolf Belka [Fri, 18 Feb 2022 14:32:37 +0000 (15:32 +0100)] 
squid-accounting: Rename to proxy-accounting - bug#12772

- Rename lfs, rootfile and paks directory
- Change name in make.sh
- Tested out in a vm system and worked

Fixes: Bug#12772
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agoaccounting.cgi: Change some variables to alphanumeric - Bug#12777
Adolf Belka [Fri, 18 Feb 2022 14:33:52 +0000 (15:33 +0100)] 
accounting.cgi: Change some variables to alphanumeric - Bug#12777

- The Postcode in the address only allowed numeric postcodes. The Netherlands and Great
   Britain are at lease two countries that use alphanumeric postcodes with spaces. Changed
   the postcode check from numeric to alphanumeric.
- The Bank Code in the Providers details only allowed numeric Bank Codes. In Great Britain
   the Bank Code, also known as the Sort Code is made up of three groups of digits separated
   by a - .
- Adjusted the regex for the alphanumeric check to include a space and a - . The original
   comment indicated that a - was allowed but it was not included in the regex.
- Tested on a vm system and confirmed that a postcode from The Netherlands and Great Britain
   and a Sort Code from Breat Britain are now accepted.

Fixes: Bug#12777
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2 years agoCore Update 165: Ship wpa_supplicant
Peter Müller [Fri, 18 Feb 2022 21:57:28 +0000 (21:57 +0000)] 
Core Update 165: Ship wpa_supplicant

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agowpa_supplicant: Update to 2.10
Matthias Fischer [Fri, 18 Feb 2022 17:13:35 +0000 (18:13 +0100)] 
wpa_supplicant: Update to 2.10

For details see:
https://w1.fi/cgit/hostap/plain/wpa_supplicant/ChangeLog

"2022-01-16 - v2.10
* SAE changes
  - improved protection against side channel attacks
    [https://w1.fi/security/2022-1/]
  - added support for the hash-to-element mechanism (sae_pwe=1 or
    sae_pwe=2); this is currently disabled by default, but will likely
    get enabled by default in the future
  - fixed PMKSA caching with OKC
  - added support for SAE-PK
* EAP-pwd changes
  - improved protection against side channel attacks
  [https://w1.fi/security/2022-1/]
* fixed P2P provision discovery processing of a specially constructed
  invalid frame
  [https://w1.fi/security/2021-1/]
* fixed P2P group information processing of a specially constructed
  invalid frame
  [https://w1.fi/security/2020-2/]
* fixed PMF disconnection protection bypass in AP mode
  [https://w1.fi/security/2019-7/]
* added support for using OpenSSL 3.0
* increased the maximum number of EAP message exchanges (mainly to
  support cases with very large certificates)
* fixed various issues in experimental support for EAP-TEAP peer
* added support for DPP release 2 (Wi-Fi Device Provisioning Protocol)
* a number of MKA/MACsec fixes and extensions
* added support for SAE (WPA3-Personal) AP mode configuration
* added P2P support for EDMG (IEEE 802.11ay) channels
* fixed EAP-FAST peer with TLS GCM/CCM ciphers
* improved throughput estimation and BSS selection
* dropped support for libnl 1.1
* added support for nl80211 control port for EAPOL frame TX/RX
* fixed OWE key derivation with groups 20 and 21; this breaks backwards
  compatibility for these groups while the default group 19 remains
  backwards compatible
* added support for Beacon protection
* added support for Extended Key ID for pairwise keys
* removed WEP support from the default build (CONFIG_WEP=y can be used
  to enable it, if really needed)
* added a build option to remove TKIP support (CONFIG_NO_TKIP=y)
* added support for Transition Disable mechanism to allow the AP to
  automatically disable transition mode to improve security
* extended D-Bus interface
* added support for PASN
* added a file-based backend for external password storage to allow
  secret information to be moved away from the main configuration file
  without requiring external tools
* added EAP-TLS peer support for TLS 1.3 (disabled by default for now)
* added support for SCS, MSCS, DSCP policy
* changed driver interface selection to default to automatic fallback
  to other compiled in options
* a large number of other fixes, cleanup, and extensions"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agohostapd: Update to 2.10
Matthias Fischer [Fri, 18 Feb 2022 17:13:34 +0000 (18:13 +0100)] 
hostapd: Update to 2.10

For details see:
https://w1.fi/cgit/hostap/plain/hostapd/ChangeLog

"2022-01-16 - v2.10
* SAE changes
  - improved protection against side channel attacks
    [https://w1.fi/security/2022-1/]
  - added option send SAE Confirm immediately (sae_config_immediate=1)
    after SAE Commit
  - added support for the hash-to-element mechanism (sae_pwe=1 or
    sae_pwe=2)
  - fixed PMKSA caching with OKC
  - added support for SAE-PK
* EAP-pwd changes
  - improved protection against side channel attacks
    [https://w1.fi/security/2022-1/]
* fixed WPS UPnP SUBSCRIBE handling of invalid operations
  [https://w1.fi/security/2020-1/]
* fixed PMF disconnection protection bypass
  [https://w1.fi/security/2019-7/]
* added support for using OpenSSL 3.0
* fixed various issues in experimental support for EAP-TEAP server
* added configuration (max_auth_rounds, max_auth_rounds_short) to
  increase the maximum number of EAP message exchanges (mainly to
  support cases with very large certificates) for the EAP server
* added support for DPP release 2 (Wi-Fi Device Provisioning Protocol)
* extended HE (IEEE 802.11ax) support, including 6 GHz support
* removed obsolete IAPP functionality
* fixed EAP-FAST server with TLS GCM/CCM ciphers
* dropped support for libnl 1.1
* added support for nl80211 control port for EAPOL frame TX/RX
* fixed OWE key derivation with groups 20 and 21; this breaks backwards
  compatibility for these groups while the default group 19 remains
  backwards compatible; owe_ptk_workaround=1 can be used to enabled a
  a workaround for the group 20/21 backwards compatibility
* added support for Beacon protection
* added support for Extended Key ID for pairwise keys
* removed WEP support from the default build (CONFIG_WEP=y can be used
  to enable it, if really needed)
* added a build option to remove TKIP support (CONFIG_NO_TKIP=y)
* added support for Transition Disable mechanism to allow the AP to
  automatically disable transition mode to improve security
* added support for PASN
* added EAP-TLS server support for TLS 1.3 (disabled by default for now)
* a large number of other fixes, cleanup, and extensions"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>