]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/log
people/pmueller/ipfire-2.x.git
2 years agoKernel: Update rootfile for x86_64 temp-kernel-changes
Peter Müller [Sun, 19 Dec 2021 21:45:03 +0000 (22:45 +0100)] 
Kernel: Update rootfile for x86_64

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoKernel: Enable SVA support for both Intel and AMD CPUs
Peter Müller [Sun, 19 Dec 2021 18:02:38 +0000 (19:02 +0100)] 
Kernel: Enable SVA support for both Intel and AMD CPUs

Since running virtual machines is one of our legitimate use cases, it
makes sense to provide Qemu with the ability of taking advantage of
IOMMU support for safer virtuall memory allocation, if available.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoKernel: Do not automatically load TTY line disciplines, only if necessary
Peter Müller [Sun, 19 Dec 2021 18:02:10 +0000 (19:02 +0100)] 
Kernel: Do not automatically load TTY line disciplines, only if necessary

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoKernel: Disable function and stack tracers
Peter Müller [Sun, 19 Dec 2021 18:00:54 +0000 (19:00 +0100)] 
Kernel: Disable function and stack tracers

grsecurity recommends to disable this on non-development systems for
reducing attack surface. Since we never debug the kernel that deeply on
a productive system, it makes sense to follow this recommendation.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoKernel: Trigger BUG if data corruption is detected
Peter Müller [Sun, 19 Dec 2021 17:44:31 +0000 (18:44 +0100)] 
Kernel: Trigger BUG if data corruption is detected

Since we cannot trust the kernel to do the right thing (tm) in such a
situation anymore, triggering a BUG is less bad than running on a kernel
in an undefined state.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoKernel: Enable LSM support and set security level to "integrity"
Peter Müller [Sun, 19 Dec 2021 17:42:08 +0000 (18:42 +0100)] 
Kernel: Enable LSM support and set security level to "integrity"

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoKernel: Gate SETID transitions to limit CAP_SET(G|U)ID capabilities
Peter Müller [Sun, 19 Dec 2021 17:40:06 +0000 (18:40 +0100)] 
Kernel: Gate SETID transitions to limit CAP_SET(G|U)ID capabilities

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoKernel: Enable undefined behaviour sanity checker
Peter Müller [Sun, 19 Dec 2021 17:38:39 +0000 (18:38 +0100)] 
Kernel: Enable undefined behaviour sanity checker

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoKernel: Pin loading kernel files to one filesystem
Peter Müller [Sun, 19 Dec 2021 17:36:32 +0000 (18:36 +0100)] 
Kernel: Pin loading kernel files to one filesystem

This can be safely enabled on IPFire, as we never swap filesystems
during runtime.

Fixes: #12432
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoKernel: Disable support for tracing block I/O actions
Peter Müller [Sun, 19 Dec 2021 17:34:23 +0000 (18:34 +0100)] 
Kernel: Disable support for tracing block I/O actions

This is not needed on IPFire systems, and grsecurity recommends to turn
this off.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoKernel: Set CONFIG_ARCH_MMAP_RND_BITS to 32 bits
Peter Müller [Sun, 19 Dec 2021 17:31:51 +0000 (18:31 +0100)] 
Kernel: Set CONFIG_ARCH_MMAP_RND_BITS to 32 bits

This follows a recommendation by ClipOS, making ASLR bypassing attempts
harder.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agopython3-cffi: Add 32 bit ARM rootfile again due to "gnueabi" != "gnu"
Peter Müller [Tue, 1 Mar 2022 15:25:01 +0000 (15:25 +0000)] 
python3-cffi: Add 32 bit ARM rootfile again due to "gnueabi" != "gnu"

My fault, again. :-/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
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 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>