Commit Graph

21808 Commits

Author SHA1 Message Date
Arne Fitzenreiter
db27ff326e Merge remote-tracking branch 'origin/master' into next 2024-06-04 14:15:20 +02:00
Arne Fitzenreiter
f3d6e2a0fb kernel: reset asix88179 twice like in older kernels
the kernel developers has removed a reset at bring the
device first up to save time. At my test's this result in
not detecting the link correct. This readd the reset and at
my tests the device has worked.

fixes #13692

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-06-04 14:12:08 +02:00
Arne Fitzenreiter
f62e483601 Merge branch 'master' into next 2024-05-27 22:08:11 +02:00
Arne Fitzenreiter
cea994660b core187: ship suricata and vectorscan
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-27 22:07:21 +02:00
Arne Fitzenreiter
03de90cc3c kernel: update to 6.6.32
I hope this fix the problems with ASIX AX99179 USB LAN adaptors

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-27 22:03:14 +02:00
Adolf Belka
ee5b84beab hyperscan: Remove from IPFire.
- hyperscan will move from BSD licence to a proprietary paid for licence from version 5.5
   onwards.
- hyperscan will be replaced by vectorscan, a fork of hyperscan.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-25 11:02:23 +02:00
Adolf Belka
71421e6c17 vectorscan: Install vectorscan to replace hypersan
- It has been announced that from hyperscan-5.5 onwards the licence for this package
   will change from BSD tp proprietarty paid for version
- This patch submission installs vectorscan whihc was created as a fork from hyperscan
   andf that is being maintained and has indicated it will suay Open Source
- Created new lfs file
- Created nbew rootfile. This looks to match the hyperscan rootfile closely
- Added vector scan to the make.sh file and removed hyperscan from it.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-25 11:02:01 +02:00
Michael Tremer
8cfce31dc5 dnsdist: Update to 1.9.4
This release fixes CVE-2024-25581, a denial of service security issue affecting versions 1.9.0, 1.9.1, 1.9.2 and 1.9.3 only. Earlier versions are not affected.

When incoming DNS over HTTPS support is enabled using the nghttp2 provider, and queries are routed to a tcp-only or DNS over TLS backend, an attacker can trigger an assertion failure in DNSdist by sending a request for a zone transfer (AXFR or IXFR) over DNS over HTTPS, causing the process to stop and thus leading to a Denial of Service.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-25 10:59:33 +02:00
Arne Fitzenreiter
1ecccbdfca core187: ship unbound
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-25 10:58:35 +02:00
Matthias Fischer
5f3c1f65b7 unbound: Update to 1.20.0
For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-20-0

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-25 10:55:20 +02:00
Arne Fitzenreiter
861110f53b core187: ship e2fsprogs
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-25 10:54:24 +02:00
Adolf Belka
26f53e2c2e e2fsprogs: Fixes bug#13073 - Update to version 1.47.0
- Previously this patch was reverted due to Grub not being able to boot with it.
   This was fixed in Grub-2.12
- Confirmed on my vm testbed that a CU186 install with this e2fsprogs version was able
   to complete the install when the reboot button at the end of the first install stage
   was completed.
- Update from version 1.46.5 to 1.47.0
- Update of rootfile not required
- Changelog
    E2fsprogs 1.47.0 (February 5, 2023)
	Updates/Fixes since v1.46.6:
	UI and Features
		Add support for the orphan_file feature, which speeds up workloads that
		are deleting or truncating a large number files in parallel.  This
		compat feature was first supported in the v5.15 Linux kernel.
		The mke2fs program (via the mke2fs.conf file) now enables the
		metadata_csum_seed and orphan_file features by default.  The
		metadata_csum_seed feature is an incompat feature which is first
		supported in the Linux kernel starting in the 4.4 kernel and e2fsprogs
		1.43.
		Mke2fs now supports the extended option "assume_storage_prezeroed" which
		causes mke2fs to skip zeroing the journal and inode tables and to mark
		the inode tables as zeroed.
		Add support to tune2fs and e2label to set the label and UUID for a
		mounted file system using a ioctl, which is more reliable than modifying
		the superblock via writing to the block device.  The kernel support for
		setting the label landed in v5.17, while the support for adding the UUID
		landed in v6.0.  If the ioctls are not supported, tune2fs and e2label
		will fall back old strategy of directly modifying the superblock.
		Allow tune2fs to disable the casefold feature after scanning all of the
		directories do not have the Casefold flag set.
	Fixes
		Fix a potential unbalanced mutex unlock when there is a short read while
		using the bounce buffer when using direct I/O.
	Performance, Internal Implementation, Development Support etc.
		Fix various Coverity and compiler warnings.
		Add the new function ext2fs_xattrs_read_inode() which takes an in-memory
		inode to avoid needing to reread an inode that was already read into
		memory.
		Teach debugfs logdump command the -n option which forces printing a
		specified number of transactions, even when a block missing a magic
		number would have stopped the logdump.  (This is for debugging
		journalling problems.)
    E2fsprogs 1.46.6 (February 1, 2023)
	Updates/Fixes since v1.46.5:
	UI and Features
		Debugfs's ncheck command now allows the inode number to be surrounded by
		angle brackets, to be consistent with other debugfs commands.
		Debugfs no longer prints a scary message when debugfs -c (which enables
		"catastrophic mode") is used.  This was intended to allow debugfs to
		operate on very badly corrupted file systems, but it is now sometimes
		used to suppress reading the block and inode bitmaps when they are not
		needed.
		Resize2fs will round down the requested new file system size to the
		nearest cluster boundary when resizing bigalloc file systems.
		Improve error messages issued by badblocks.
		Fuse2fs now supports an offset=<bytes> option which allows operating on
		a file system image which is located starting at the specified offset
		from the beginning of the image.
	Fixes
		Pre-v6.2 Linux kernels had long-standing bug in how the extended
		attribute hash was calculated when there were non-ASCII characters in
		the xattr name, when the hash would be different depending on whether
		the C 'char' type was signed or unsigned.  To address this bug, starting
		with e2fsprogs 1.46.6+ and Linux 6.2+, we will accept either the signed
		or unsigned hash variant, but only set the unsigned hash variant.  Since
		extended attribute names are in practice composed of ASCII characters,
		other than various tests (such as generic/454), most users will
		hopefully not notice this change.
		Avoid triggering udev in dumpe2fs and "resize2fs -P" for file systems
		with MMP enabled by opening the device read-only when reading the MMP
		block.
		Fix MMP handling so it can notice when another writer has modify the MMP
		block out from under it when stopping a MMP sessions.
		Fix tune2fs so it will detect another device stealing the MMP sessions
		while rewriting metadata checksums.
		E2fsck will now check to make sure the journal inode does not have the
		encrypt flag set.
		Fix a deadlock bug in e2fsck's error handler when there are errors
		trying to write to the file system.
		Fix a bug where e2fsck could fail when specifying an undo file and an
		explicit superblock number.
		Fix e2image so it won't potentially loop forever for certain invalid
		file systems.
		Fix resize2fs to honor the E2FSPROGS_FAKE_TIME environment variable.
		This allows embedded system builders who use resize2fs as part of their
		image build process to create reproducible images.
		Fix tune2fs to avoid a crash if the journal replay fails and to make
		sure its exit status is non-zero if there is some failure.
		Fix tune2fs, fuse2fs, and debugsfs to update j_tail_sequence when
		replaying the journal.
		Add additional bullet-proofing for very badly corrupted file systems.
		Try avoid UBSAN warnings, null pointer derferences, and other memory
		bugs.  (Addresses CVE-2022-1304)
		Don't fail when the source directory for mke2fs -d doesn't support
		extended attributese.
		Check for and handle malloc() failures when computing the log filename
		in e2fsck and in the libss library.
		Fix tune2fs and e2fsck to accept pathames which include '=' characters.
		Previously arguments to tune2fs and e2fsck which included '=' characters
		are presumed to be blkid specifiers such as UUID=xxx or LABEL=yyy.  If a
		specifier is both a valid pathname name and blkid tag name specifier,
		priority is given to a blkid resolved pathname.
		Improve tune2fs's error messages.
		Fix a bug in tune2fs which could cause it to crash if device goes
		off-line just as it being opened.
		Fix the fsck driver so if it is interrupted while running fsck -N it
		doesn't end up kllling all processes on the system.
		Fix a crash in badblocks when the user specifies an overly large
		number of blocks tested at a time in read/write or nondestructive
		mode.
		Update and clarify's chattr's man page and usage message.  Fix spelling
		typo's in a variety of different man pages and comments.
	Performance, Internal Implementation, Development Support etc.
		Update to autoconf 2.71.
		Update flags used to create shared library on Darwin/MacOS.
		Speed up e2fsck's clonning of multiply-claimed blocks so it is
		substantially faster on very large file systems.
		Add tests/fuzz directory with fuzzers from oss-fuzz.
		Add a Github Actions configuration file so that Github will run CI tests
		on Linux, Windows and MacOS on a push to the e2fsprogs github repo.
		Make the mtab parsing in ext2fs_check_mount_point() more careful so it
		won't get confused when a block device shows up in the mnt_name field
		for a virtual file system.
		Fix the libss's Makefile to create the man page directory before trying
		to install its man page.
		Fix various Coverity and compiler warnings.
		Make tests more portable on various different OS's and system
		configurations (e.g., with SELinux enabled, MacOS, and Windows)
		Use mallinfo2() instead of mallinfo() where avilable, since mallinfo()
		is deprecated on newer glibc versions.
		E2fsck will no longer do a full scan of disconnected directory when
		trying to print the parent directory, which is pointless and can slow
		down e2fsck if there are a large number of disconnected directories.
		Debugfs will now print the extended attribute's e_hash field.
		Fix the setup-schroot script to work on non-Linux platforms.
		Fix ext2fs_compare_generic_bmap() so it correctly compares all of the
		bits in the bitmap, and so that it works correctly when comparing a
		bitarray bitmap with a rbtree-based bitmap.  (Fortunately, none of the
		programs in e2fsprogs uses bitmap comparison functions.)
		Fix memory leaks on error paths.
		Add support for the configure option --enable-largefile so that
		e2fsprogs can utilize largefile support for the MUSL C library.
		Add an note that the dict library code has been modified, as required by
		the Kazlib license.
		Synchronized changes from Android's AOSP e2fsprogs tree.
		Updated config.guess and config.sub with newer versions from the FSF.
		Add Friulian translation.
		Update Chinese, Czech, Dutch, French, German, Malay, Polish, Serbian,
		Spanish, Swedish, and Ukrainian translations.

Fixes: bug#13073
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-25 10:52:48 +02:00
Arne Fitzenreiter
2d0b52b932 core187: ship gcc
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-24 07:20:12 +02:00
Arne Fitzenreiter
cde68b5cec core187: clean filelist from older core update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-24 07:16:20 +02:00
Michael Tremer
16b3aad651 gcc: Update to 13.3.0
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-24 07:14:44 +02:00
Michael Tremer
541883dd36 make.sh: Bump the toolchain version
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-24 07:14:36 +02:00
Arne Fitzenreiter
d5c817b5cb core187: start updater
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-24 07:13:57 +02:00
Arne Fitzenreiter
bf4bd9dd36 core186: ship header.pl
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 15:13:23 +02:00
Michael Tremer
6515a27802 header.pl: Fix parsing BOOTP leases
If the lease has been handed out over BOOTP, it will never expire.
However, the parser did not account for this case at all which is fixed
in this patch.

Fixes: #13689 - BOOTP breaks the list of DHCP leases due to erroneous parsing
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 15:11:34 +02:00
Arne Fitzenreiter
25b6a76646 kernel: update to 6.6.31
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 13:26:52 +02:00
Arne Fitzenreiter
dde0e0ce87 core186: ship intel-microcode
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 13:25:44 +02:00
Adolf Belka
d467baeda2 intel-microcode: Update to version 20240514
- Update from version 20240312 to 20240514
- Update of rootfile not required.
- For the changelog details see the releasenote.md file in the source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 13:23:39 +02:00
Arne Fitzenreiter
c2955d0127 mympd: update to 15.0.1
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 10:02:10 +02:00
Michael Tremer
7825fd0f4b Revert "oci-setup: Fixes bug12763"
This reverts commit 238a47874f.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 10:01:38 +02:00
Michael Tremer
731d944b2b Revert "gcp-setup: Fixes bug12763"
This reverts commit 2841a67548.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 10:01:21 +02:00
Michael Tremer
d10fa6e64b Revert "exoscale-setup: Fixes bug12763"
This reverts commit 3162b6ccfa.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 10:01:11 +02:00
Michael Tremer
3bacd534a9 Revert "azure-setup: Fixes bug12763"
This reverts commit 1db5f96c5e.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 10:01:00 +02:00
Michael Tremer
d8c4aaddc3 Revert "aws-setup: Fixes bug12763"
This reverts commit eb0de6531c.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 10:00:45 +02:00
Michael Tremer
b46314bf7a Revert "ip-up: Fixes bug12763"
This reverts commit 4f455c488e.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 10:00:34 +02:00
Michael Tremer
d258c7a47a Revert "red: Fixes bug12763"
This reverts commit 9c28cd59c1.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 10:00:23 +02:00
Michael Tremer
bafa45ed84 Revert "static-routes: Fixes bug12763"
This reverts commit e33ee46e62.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 10:00:11 +02:00
Michael Tremer
c522d8109d ipsec-interfaces: Don't throw away errors when creating routes
This partly reverts 87a97a4319.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-19 09:59:59 +02:00
Arne Fitzenreiter
6158761b2f mympd: remove create config start
this now resets an existing option like the port to
default.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-10 12:42:29 +02:00
Arne Fitzenreiter
1330e280de kernel: update x86_64 rootfile
now the correct file

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-08 13:28:38 +02:00
Arne Fitzenreiter
b712270fb3 Revert "kernel: update x86_64 rootfile"
This reverts commit 7b68ef8515.

I have copied the rootfile over the config...
2024-05-08 13:27:24 +02:00
Arne Fitzenreiter
7b68ef8515 kernel: update x86_64 rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-08 06:19:30 +00:00
Adolf Belka
d3ea3e932f bacula: Update to version 13.0.4
- Update from version 11.0.6 to 13.0.4
- Update of rootfile
- Version 13.x has now been released for 12 months so updating the File Daemon to 13.x
   should be good.
- Version 11.x was released 40 months ago.
- Changelog
    The changes are all related to the Director and the Storage Daemon. The changelog states
    that older file daemons "should" be compatible with 13.x DIR & SD. This change ensures
    IPfire "is" compatible with the 13.x DIR & SD.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-07 05:51:18 +00:00
Adolf Belka
7cb0220f4a update.sh: Add SPAMHAUS_DROP if SPAMHAUS_EDROP was previously used
- I realised that the previous patch for update.sh related to the ipblocklist removal
   of ALIENVAULT and SPAMHAUS_EDROP only removed the SPAMHAUS_EDROP setting. It makes sense
   to add SPAMHAUS_DROP to the settings file if SPAMHAUS_EDROP was previously used and
   SPAMHAUS_DROP was not selected.
- This patch adds the above change.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-07 05:51:05 +00:00
Arne Fitzenreiter
0bb5687fb7 update contributors
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-07 07:04:41 +02:00
Arne Fitzenreiter
ae77ce8707 kernel: update aarch64 config and rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-07 07:03:38 +02:00
Arne Fitzenreiter
2eda35a51e kernel: update to 6.6.30
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-06 19:59:11 +02:00
Michael Tremer
69dde418f1 kernel: Enable XDP
https://lists.ipfire.org/hyperkitty/list/development@lists.ipfire.org/thread/S4GPL3OBFZ6LMA52JNLHIOPMNA5C3V6R/

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-04 06:43:57 +00:00
Arne Fitzenreiter
8c6dd630eb kernel: update to 6.6.29
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-05-02 12:35:08 +02:00
Arne Fitzenreiter
c63ca5232f mympd: update to 14.1.2
This is a small bugfix release.
Changelog:

    Fix: Output enabled state is bool type
    Fix: Add missing sort parameters to home icon for search
    Fix: Set default stream port if stream uri is defined

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-04-30 07:00:25 +00:00
Peter Müller
464b2117ea suricata.yaml: Fix Landlock path settings
Suricata will complain if it cannot read its own configuration file,
hence read-only access to /etc/suricata must be allowed. Since the list
applies to directories, rather than files, restricting read access to
only /usr/share/misc/magic.mgc is not possible; reading /usr/share/misc
must be allowed instead.

Fixes: #13645
Tested-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-04-29 12:45:19 +00:00
Peter Müller
3358151c85 Revert "suricata: Disable Landlock support"
This reverts commit b7da97fd59.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-04-29 12:45:05 +00:00
Peter Müller
5fea15ef76 linux: Properly load Landlock module
Fixes: #13645
Tested-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-04-29 12:44:31 +00:00
Arne Fitzenreiter
eebce7d9a3 kmod: update rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-04-28 21:04:28 +00:00
Arne Fitzenreiter
1ce6219703 lynis: update rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-04-28 21:04:02 +00:00
Arne Fitzenreiter
4f87fc4900 core186: ship apache initskript
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-04-28 17:23:41 +00:00