Commit Graph

22512 Commits

Author SHA1 Message Date
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
Michael Tremer
adf8a243af dhcp: Explicitely compile with support for execute()
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-13 14:42:26 +00:00
Michael Tremer
c2a389e9d4 unbound-dhcp-leases-bridge: Remove unused functions and module imports
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:53:22 +01:00
Michael Tremer
1908e3d070 unbound-dhcp-leases-bridge: Make expiry check work for stub leases
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:51:41 +01:00
Michael Tremer
ae49f55359 unbound-dhcp-leases-bridge: Remove unused code
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:51:26 +01:00
Michael Tremer
dac4464e91 unbound-dhcp-leases-bridge: Don't parse any inactive leases
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:47:44 +01:00
Michael Tremer
b79c0fc4ff unbound-dhcp-leases-bridge: Drop parsing MAC addresses
We will represent the current state in DNS and we won't filter out
anything that we think might be no longer valid.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:46:45 +01:00
Michael Tremer
8628d3e8d0 unbound-dhcp-leases-bridge: Remove fixed leases cache
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:40:27 +01:00
Michael Tremer
2e4432a8f5 unbound-dhcp-leases-bridge: Include traceback if the worker callback fails
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:36:40 +01:00
Michael Tremer
c2761068cc unbound-dhcp-leases-bridge: Log if a lease is not being added
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:31:25 +01:00
Michael Tremer
9ff53d5786 unbound-dhcp-leases-bridge: Remove leases to keep the store up to date
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:28:58 +01:00
Michael Tremer
8733b313de unbound-dhcp-leases-bridge: Skip updates if not necessary
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:25:13 +01:00
Michael Tremer
92e8358d46 unbound-dhcp-leases-bridge: Find existing leases to remove all data
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:20:30 +01:00
Michael Tremer
0e1ae247e7 unbound-dhcp-leases-bridge: Store leases in a globally accessible set()
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:16:13 +01:00
Michael Tremer
edcea3e1c9 unbound-dhcp-leases-bridge: Make Leases hashable and equal by IP address
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:07:23 +01:00
Michael Tremer
038c9db2bd unbound-dhcp-leases-bridge: Use IPv4Address to store IP addresses
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:04:43 +01:00
Michael Tremer
084795163e unbound-dhcp-leases-bridge: Implement a worker thread to handle all events
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 17:01:50 +01:00
Michael Tremer
d9348a16f1 unbound-dhcp-leases-bridge: Store all messages in a queue
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 16:32:07 +01:00
Michael Tremer
e4cc1eefd5 dhcp.cgi: Call the unbound-dhcp-leases-client for all events
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 16:07:05 +01:00
Michael Tremer
7397809eb4 unbound-dhcp-leases-client: A new script to send events to the bridge
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 16:06:23 +01:00
Michael Tremer
43f001cb5b unbound-dhcp-leases-bridge: Decode any incoming messages
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 14:50:30 +01:00
Michael Tremer
bf352bbbcb unbound-dhcp-leases-bridge: Remove running indicator
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 14:31:53 +01:00
Michael Tremer
193638f078 unbound-dhcp-leases-bridge: Reload on SIGHUP
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 14:29:31 +01:00
Michael Tremer
716c69eee4 unbound-dhcp-leases-bridge: No longer listen to any changed files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 14:27:10 +01:00
Michael Tremer
b2787f168b unbound-dhcp-leases-bridge: Initialize at startup
When the process starts, we will now load all static hosts and leases
and reload Unbound to have a defined state to start with.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-05-10 14:25:53 +01:00