Commit Graph

20661 Commits

Author SHA1 Message Date
Stefan Schantl
422fce9cb0 ruleset-sources: Adjust download URL for snort community ruleset
Fixes: #13203

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-08-02 09:10:00 +00:00
Michael Tremer
91443f9234 udev: Drop hwrng rules
This is another fragment of rngd - the gift that keeps giving.

The udev rules file contains a lot of stuff for a prototype which never
went into production. So, that can be dropped.

It would have been left with one rule that starts rngd whenever a HWRNG
is being found. That is however no longer needed as rngd is being
started in the init process. We no longer need to initialize it as early
as possible to seed the kernel's PRNG.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-31 13:47:31 +00:00
Michael Tremer
b1110eb1bd pmacct: Increment package release
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-31 09:27:27 +00:00
Adolf Belka
7642da793c pmacct: Fix for Bug#13163 - no such column: vlan_in [CU 175]
- This problem occurred with pmacct-1.7.8 and was raised with upstream. They identified a
   bug and provided a commit with a fix.
- Unfortunately the commit can not be used on version 1.7.8 from Dec 2022 as it depends on
   other commits applied in the period from Dec 2022 to July 2023.
- The next version release is likely to come out around Dec 2023 to Mar 2024 based on the
   previous release frequency (6 to 9 months)
- The only alternative was to make a release from the commit stage of the fix. In Github
   this only provides a zip file. So I extracted the zip file and then re-archived it
   as a .tar.gz file
- Build went successfully and the .ipfire package file was tested successfully by @Jon

Fixes: Bug#13163
Tested-by: Jon Murphy <jon.murphy@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-31 09:27:06 +00:00
Arne Fitzenreiter
d95a414ce1 core177: remove rngd link also from rcsysinit.d
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2023-07-29 09:48:29 +02:00
Arne Fitzenreiter
e0767e7dc4 core177: apply local ssh config after update sshd
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2023-07-29 09:26:56 +02:00
Arne Fitzenreiter
6084fa89bf kernel: update to 6.1.42
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-28 16:34:59 +00:00
Michael Tremer
d4781c29ae core177: Fix typo in removing rngd init links
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-28 16:21:12 +00:00
Arne Fitzenreiter
8ffe9b67de core177: remove rngd if the addon was not installed via pakfire
the old version is linked against the old openssl and will fail.

fixes: #13197

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-28 16:19:56 +00:00
Arne Fitzenreiter
0bb82a95dd initskripts: remove buggy remount at halt and reboot
mount -f does nothing and also the sync calls should do nothing
on a already ro mounted filesystem.

fixes: #13195

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-28 16:06:54 +00:00
Michael Tremer
84a3246be9 alsa: Fix rootfile after moving linux-firmware
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-26 16:08:49 +00:00
Arne Fitzenreiter
50c07b4938 kernel: update to 6.1.41
fix for CVE-2023-20593 (Zenbleed)

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-26 16:01:20 +00:00
Michael Tremer
7949ecccd2 Run "./make.sh lang"
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-26 13:17:49 +00:00
Adolf Belka
05fb9ba088 samba: Update to version 4.18.5
- Update from version 4.18.4 to 4.18.5
- Update of rootfile not required
- Changelog
    4.18.5
      This is a security release in order to address the following defects:
	o CVE-2022-2127:  When winbind is used for NTLM authentication, a maliciously
	                  crafted request can trigger an out-of-bounds read in winbind
	                  and possibly crash it.
	                  https://www.samba.org/samba/security/CVE-2022-2127.html
	o CVE-2023-3347:  SMB2 packet signing is not enforced if an admin configured
	                  "server signing = required" or for SMB2 connections to Domain
	                  Controllers where SMB2 packet signing is mandatory.
	                  https://www.samba.org/samba/security/CVE-2023-3347.html
	o CVE-2023-34966: An infinite loop bug in Samba's mdssvc RPC service for
	                  Spotlight can be triggered by an unauthenticated attacker by
	                  issuing a malformed RPC request.
	                  https://www.samba.org/samba/security/CVE-2023-34966.html
	o CVE-2023-34967: Missing type validation in Samba's mdssvc RPC service for
	                  Spotlight can be used by an unauthenticated attacker to
	                  trigger a process crash in a shared RPC mdssvc worker process.
	                  https://www.samba.org/samba/security/CVE-2023-34967.html
	o CVE-2023-34968: As part of the Spotlight protocol Samba discloses the server-
	                  side absolute path of shares and files and directories in
	                  search results.
	                  https://www.samba.org/samba/security/CVE-2023-34968.html
	o  Ralph Boehme <slow@samba.org>
	   * BUG 15072: CVE-2022-2127.
	   * BUG 15340: CVE-2023-34966.
	   * BUG 15341: CVE-2023-34967.
	   * BUG 15388: CVE-2023-34968.
	   * BUG 15397: CVE-2023-3347.
	o  Volker Lendecke <vl@samba.org>
	   * BUG 15072: CVE-2022-2127.
	o  Stefan Metzmacher <metze@samba.org>
	   * BUG 15418: Secure channel faulty since Windows 10/11 update 07/2023.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-26 13:15:52 +00:00
Michael Tremer
4742a8032f make.sh: Move Git to where it was built before and move firmware after it
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-26 10:23:49 +00:00
Michael Tremer
4a242715e3 make.sh: Build Git earlier as we need it to apply binary patches
The Linux firmware microcode patches require Git to apply binary
patches as they are not supported by patch(8).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-25 11:16:59 +00:00
Michael Tremer
5c4faba67b linux-firmware: Fix AMD microcode updates for Zenbleed
https://lock.cmpxchg8b.com/zenbleed.html

Fixes: CVE-2023-20593
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-25 11:15:45 +00:00
Arne Fitzenreiter
719864d37e kernel: update to 6.1.40
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-25 10:39:22 +00:00
Matthias Fischer
ee4123d2c8 ghostscript: Update to 10.01.2
For details see:
https://git.ghostscript.com/?p=ghostpdl.git;a=shortlog;h=refs/tags/ghostpdl-10.01.2

Fixes CVE-2023-36664:
=> https://www.cvedetails.com/cve/CVE-2023-36664/
=> https://www.kroll.com/en/insights/publications/cyber/ghostscript-cve-2023-36664-remote-code-execution-vulnerability

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-24 14:27:12 +00:00
Arne Fitzenreiter
f2d5cb7c99 kernel: update to 6.1.39
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-21 09:34:12 +00:00
Arne Fitzenreiter
f6615f3025 kernel: fix rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-21 09:34:09 +00:00
Michael Tremer
69d7702dde core177: Ship & restart OpenSSH
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-21 09:33:34 +00:00
Adolf Belka
45496ad190 openssh: Update to version 9.3p2 - Fixes CVE-2023-38408
- Update from version 9.3p1 to 9.3p2
- Update of rootfile not required
- Changelog
    9.3p2 (2023-07-19)
	This release fixes a security bug.
	Security
		Fix CVE-2023-38408 - a condition where specific libaries loaded via
		 ssh-agent(1)'s PKCS#11 support could be abused to achieve remote
		 code execution via a forwarded agent socket if the following
		 conditions are met:
			* Exploitation requires the presence of specific libraries on
			   the victim system.
			* Remote exploitation requires that the agent was forwarded
			   to an attacker-controlled system.
		Exploitation can also be prevented by starting ssh-agent(1) with an
		 empty PKCS#11/FIDO allowlist (ssh-agent -P '') or by configuring
		 an allowlist that contains only specific provider libraries.
		This vulnerability was discovered and demonstrated to be exploitable
		 by the Qualys Security Advisory team.
		In addition to removing the main precondition for exploitation,
		 this release removes the ability for remote ssh-agent(1) clients
		 to load PKCS#11 modules by default (see below).
		Potentially-incompatible changes
		 * ssh-agent(8): the agent will now refuse requests to load PKCS#11
		    modules issued by remote clients by default. A flag has been added
		    to restore the previous behaviour "-Oallow-remote-pkcs11".
		   Note that ssh-agent(8) depends on the SSH client to identify
		    requests that are remote. The OpenSSH >=8.9 ssh(1) client does
		    this, but forwarding access to an agent socket using other tools
		    may circumvent this restriction.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-21 09:32:46 +00:00
Adolf Belka
de61475584 sudo: Update to version 1.9.14p2
- Update from version 1.9.14 to 1.9.14p2
- Update of rootfile not required
- Changelog
    1.9.14p2
	 * Fixed a crash on Linux systems introduced in version 1.9.14 when
	   running a command with a NULL argv[0] if "log_subcmds" or
	   "intercept" is enabled in sudoers.
	 * Fixed a problem with "stair-stepped" output when piping or
	   redirecting the output of a sudo command that takes user input.
	 * Fixed a bug introduced in sudo 1.9.14 that affects matching
	   sudoers rules containing a Runas_Spec with an empty Runas user.
	   These rules should only match when sudo's -g option is used but
	   were matching even without the -g option.  GitHub issue #290.
    1.9.14p1
	 * Fixed an invalid free bug in sudo_logsrvd that was introduced
	   in version 1.9.14 which could cause sudo_logsrvd to crash.
	 * The sudoers plugin no longer tries to send the terminal name
	   to the log server when no terminal is present.  This bug was
	   introduced in version 1.9.14.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-21 09:32:17 +00:00
Michael Tremer
2e63b7128e dehydrated: Keep going if re-issuing one certificate fails
This change will make sure that dehydrated will continue if (re-)issuing
one or more certificate fails.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-13 14:29:13 +00:00
Michael Tremer
a1836ab120 core177: Do not ship location database extracted in ipset format
Since the update is not built on the day when people install it, we will
ship an outdated database. For updates, where the firewall is being
reloaded or rebooted, we will have an old database in place until the
next database update job runs.

Secondly, the data is 33 MiB in size, which is useless data shipped as
every system will already have a database that is very likely to be more
recent.

In this update, we are not shipping the location database again, but I
wanted to add this change so it does not get lost next time.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-13 14:29:03 +00:00
Peter Müller
16c82f31aa Core Update 177: Ship unbound-dhcp-leases-bridge
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-13 14:28:44 +00:00
Michael Tremer
f20ca78eff unbound-dhcp-leases-bridge: Reload unbound to import leases
This changes the old "diff" algorithm that we needed to have before
Unbound was able to reload its own configuration.

Now, it can do this even without dropping the cache. This should
hopefully perform much better and be more reliable than the old way.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-13 14:26:52 +00:00
Peter Müller
1b6b4118b2 Core Update 177: Ship fireinfo
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-13 14:26:34 +00:00
Michael Tremer
607d3a26d8 fireinfo: Fix SEGV in detect_hypervisor()
Fixes: #13155 - _fireinfo.detect_hypervisor() rises Segmentation fault
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-13 14:25:22 +00:00
Jon Murphy
525e575e04 pmacct: fix bug 13159
- changes `interface` to `pcap_interface` in pmacct.conf file.
- thank you to @iptom for finding and reporting the issue and
   to many others for pitching in and helping debug!

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
2023-07-13 14:22:04 +00:00
Peter Müller
cc78ea658d Core Update 177: Delete OpenSSL 1.1.1 files
Originally announced for Core Update 176, this step was postponed until
Core Update 177 due to my fault of having shipped all necessary
dependencies for OpenSSL 3.x in Core Update 175 properly.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-13 14:21:35 +00:00
Peter Müller
e08399ddd3 linux: Trigger a BUG() when corruption of kernel data structures is detected
Given that this will merely log such an incident, this can be safely
enabled.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-13 14:20:48 +00:00
Peter Müller
c084d8f970 linux: Enable Indirect Branch Tracking by default
This became upstream default (see
https://www.phoronix.com/news/Linux-IBT-By-Default-Tip for IT news media
coverage), and given its security-relevance, we should adopt this
setting as well.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-13 14:20:32 +00:00
Arne Fitzenreiter
f7447b1b8e kernel: update to 6.1.38
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-13 14:20:18 +00:00
Peter Müller
46c8316642 Core Updte 177: Ship and restart Squid
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-09 15:11:34 +00:00
Matthias Fischer
4fe645dfed squid: Update to 6.1
For details see:
http://lists.squid-cache.org/pipermail/squid-users/2023-July/025929.html

"The Squid HTTP Proxy team is very pleased to announce the availability
of the Squid-6.1 release!

This release is we believe, stable enough for general production use.

Support for Squid-5 bug fixes has now officially ceased. Bugs in 5.x
will continue to be fixed, however the fixes will be added to the 6.x
series. All users of Squid-5.x are encouraged to plan for upgrades."

And:
http://www.squid-cache.org/Versions/v6/RELEASENOTES.html

v6 is running since 6.0.1 here in production use without any seen problems...

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-09 15:10:12 +00:00
Arne Fitzenreiter
f82a4492c9 samba: update to 4.18.4 2023-07-09 15:08:30 +00:00
Adolf Belka
a87bea7d39 cups: Remove 5 minutes delay in start_service line in install.sh paks file
- When cups is installed (including when doing a Core Update that includes a cups update)
   the 5 min delay for starting cups means that it has not restarted by the time that the
   reboot for the CU has been started. There are then error messages that say that cups
   couldn't be stopped as it was not running.
- When a normal reboot is carried out withoutr any update of cups then the startup has
   no delay and it starts without any trouble.
- This patch removes the 300 secs delay from the start_service line in the install.sh paks
   file.
- The PAK_VER is bumped to ensure that this change is shipped

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-09 15:07:36 +00:00
Peter Müller
8e82fd2187 Core Update 177: Remove dropped squidclamav add-on, if installed
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-09 15:07:07 +00:00
Adolf Belka
a6039dc9d1 squidclamav: Remove package from IPFire as agreed in dev video call 3rd Jul 2023
- Removal of lfs file
- Removal of rootfile
- Removal of backup includes file
- Removal of three patches
- Removal of paks files
- Adjustment of make.sh to remove squidclamav

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-09 15:05:06 +00:00
Arne Fitzenreiter
bf99f427ca memtest: update to 6.20
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-09 15:04:42 +00:00
Peter Müller
97b155a15c Core Update 177: Ship kernel and regenerate initial ramdisks locally
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-09 15:00:17 +00:00
Arne Fitzenreiter
1a44c7a638 kernel: update to 6.1.37
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-09 14:57:38 +00:00
Peter Müller
271e3b6a0e util-linux: Hrmpf, fix aarch64 rootfile again
My fault, again. :-/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-09 10:21:24 +00:00
Peter Müller
00ff498eb5 util-linux: Update aarch64 rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-06 23:20:51 +00:00
Peter Müller
84476785e2 Core Update 177: Remove superflous line from files
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-03 21:07:49 +00:00
Peter Müller
ee9476348b Core Update 177: Rebuild initial ramdisk to apply AMD microcode updates
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-03 17:50:36 +00:00
Peter Müller
5ea686072b Core Update 177: Ship relevant changes of linux-firmware and require a reboot
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-07-03 17:49:14 +00:00
Adolf Belka
6fb7d35b49 linux-firmware: Update to version 20230625
- Update from version 20230404 to 20230625
- Update of rootfile carried out based on Peter Mueller's description from last
   linux-firmware update.
- It would be good to have it checked that my results are in line with what they should be.
- Changelog
   For changes see the commits in the git repo
   https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2023-07-03 17:38:36 +00:00