Commit Graph

10259 Commits

Author SHA1 Message Date
Peter Müller
f38e8a35c2 linux: Enable randstruct on ARM as well
My fault, again. :-/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-04 12:38:01 +00:00
Peter Müller
494d2b4bf3 linux: Update ARM kernel configuration files
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-04 12:32:43 +00:00
Peter Müller
893427ad8b linux: Update rootfiles
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-04 12:11:53 +00:00
Peter Müller
668cf4c0d0 GnuTLS: Zut alors, update rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-04 12:04:01 +00:00
Peter Müller
86077bafc0 qemu: Update to 7.0.0
Please refer to https://wiki.qemu.org/ChangeLog/7.0 for the changelog of
this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:59:32 +00:00
Peter Müller
4c46e7f818 linux: Randomize layout of sensitive kernel structures
To quote from the kernel documentation:

> If you say Y here, the layouts of structures that are entirely
> function pointers (and have not been manually annotated with
> __no_randomize_layout), or structures that have been explicitly
> marked with __randomize_layout, will be randomized at compile-time.
> This can introduce the requirement of an additional information
> exposure vulnerability for exploits targeting these structure
> types.
>
> Enabling this feature will introduce some performance impact,
> slightly increase memory usage, and prevent the use of forensic
> tools like Volatility against the system (unless the kernel
> source tree isn't cleaned after kernel installation).
>
> The seed used for compilation is located at
> scripts/gcc-plgins/randomize_layout_seed.h. It remains after
> a make clean to allow for external modules to be compiled with
> the existing seed and will be removed by a make mrproper or
> make distclean.
>
> Note that the implementation requires gcc 4.7 or newer.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
2022-08-03 10:59:03 +00:00
Peter Müller
56256e6d2b Core Update 170: Delete stale GnuTLS library
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:58:06 +00:00
Peter Müller
7e451c52dc GnuTLS: Update to 3.7.7
Please refer to https://lists.gnupg.org/pipermail/gnutls-help/2022-July/004746.html
the release notes of this version, and https://www.gnutls.org/security-new.html#GNUTLS-SA-2022-07-07
for the accompanying security advisory.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:57:24 +00:00
Peter Müller
38a5d03f59 linux: Enable PCI passthrough for QEMU
Fixes: #12754
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-08-03 10:57:05 +00:00
Peter Müller
2c4a5bcdf3 Core Update 170: Ship Bash
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:56:37 +00:00
Peter Müller
ef43621772 fmt: Update to 9.0.0
Please refer to https://github.com/fmtlib/fmt/releases/tag/9.0.0 for the
release announcement of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:56:01 +00:00
Peter Müller
d8d6b12403 linux: Do not enable dangerous legacy DRM drivers
https://lists.ipfire.org/pipermail/development/2022-July/013886.html

This leaves current Nvidia Nouveau support untouched.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-08-03 10:55:21 +00:00
Peter Müller
ef439b6871 linux: Update rootfiles to reflect dropped support of dprintk
See: 883e29630c

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:54:07 +00:00
Peter Müller
de7a483f6a linux: Update aarch64 rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 15:22:15 +00:00
Peter Müller
6e9f717a33 Core Update 170: Delete orphaned comment from update.sh
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 15:19:07 +00:00
Jon Murphy
4e15397dba update.sh: clean out old collectd statistics
- processes-mysqld
- processes-snort
- processes-rtorrent
- processes-asterisk
- processes-java
- processes-spamd
- entropy

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 15:18:31 +00:00
Peter Müller
beb821de57 Core Update 170: Fix sed call
Fixes: #12907
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 15:09:55 +00:00
Peter Müller
ee2526274e Core Update 170: Ship hdparm
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 06:48:04 +00:00
Peter Müller
7a2a5e9288 Core Update 170: Delete stale Unbound library
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 06:46:32 +00:00
Matthias Fischer
ee90ed8271 unbound: Update to 1.16.2
For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-16-2

"Features

    Merge #718: Introduce infra-cache-max-rtt option to config max retransmit timeout.

Bug Fixes

    Fix the novel ghost domain issues CVE-2022-30698 and CVE-2022-30699.

    Fix bug introduced in 'improve val_sigcrypt.c::algo_needs_missing
    for one loop pass'.

    Merge PR #668 from Cristian Rodríguez: Set IP_BIND_ADDRESS_NO_PORT
    on outbound tcp sockets.

    Fix verbose EDE error printout.

    Fix dname count in sldns parse type descriptor for SVCB and HTTPS.

    For windows crosscompile, fix setting the IPV6_MTU socket option
    equivalent (IPV6_USER_MTU); allows cross compiling with latest cross-compiler versions.

    Merge PR 714: Avoid treat normal hosts as unresponsive servers. And fixup the lock code.

    iana portlist update.

    Update documentation for 'outbound-msg-retry:'.

    Tests for ghost domain fixes."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 06:45:53 +00:00
Peter Müller
7caecf45fb linux: Give CONFIG_RANDOMIZE_BASE on aarch64 another try
Quoted from https://capsule8.com/blog/kernel-configuration-glossary/:

> Significance: Critical
>
> In support of Kernel Address Space Layout Randomization (KASLR) this randomizes
> the physical address at which the kernel image is decompressed and the virtual
> address where the kernel image is mapped as a security feature that deters
> exploit attempts relying on knowledge of the location of kernel code internals.

We tried to enable this back in 2020, and failed. Since then, things
may have been improved, so let's give this low-hanging fruit another
try.

Fixes: #12363
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-01 10:20:20 +00:00
Peter Müller
67261075a3 Core Update 170: Ship vulnerabilities.cgi
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-01 10:19:46 +00:00
Peter Müller
1f82d37eae Core Update 170: Silly me screwed up initscript calls :-/
Studies reveal intelligent life before the first cup of coffee is
possibly in theory, but does not exist in practice.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-01 09:14:03 +00:00
Peter Müller
ef3ca7d6da linux: Update kernel configuration for x86_64
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-30 11:03:53 +00:00
Peter Müller
861080834d linux: Update ARM rootfiles
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-29 17:09:56 +00:00
Peter Müller
ec175339bf logwatch: Fix rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-29 17:06:15 +00:00
Peter Müller
9375c96ff2 Core Update 170: Ship kmod
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-29 17:04:43 +00:00
Peter Müller
59c6ea57fa kmod: Update to 30
Please refer to the tarballs's NEWS file for release announcements.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-29 17:04:28 +00:00
Peter Müller
21aac1a554 Samba: Update to 4.16.4
This is a security release, please refer to https://www.samba.org/samba/latest_news.html#4.16.4
for the respective advisory.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-29 17:04:06 +00:00
Peter Müller
3543c24f41 Core Update 170: Ship Pakfire changes
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:48:17 +00:00
Peter Müller
f201005f46 Core Update 170: Stop Suricata before extracting files
Stopping services before potentially tampering with files they use is a
more sane approach than doing the latter and hope the running service
can cope with it. Suricata, at least, reportedly doesn't.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:42:48 +00:00
Peter Müller
b3d408d8c8 Core Update 170: Ship kernel and regenerate initial ramdisks locally
Per https://lists.ipfire.org/pipermail/development/2022-July/013889.html,
we ship the updated kernel in Core Update 170, but generate the initial
ramdisks locally to save space.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:41:12 +00:00
Peter Müller
5591a68c05 linux: Enable Intel DMA Remapping Devices by default on x86_64
If available, the kernel will enable IOMMU (a/k/a DMA remapping) by
default on boot. To tools making use of that, particularly hypervisors,
this provides better security without any downsides.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:35:20 +00:00
Peter Müller
37895e21bf linux: Update to 5.15.57
Please refer to https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.57
for the changelog of this version. Since it introduces
architecture-dependent rootfile changes due to CPU side-channel
mitigations, changes to ARM rootfiles have been omitted due to the lack
of hardware.

Supposed hardening changes will be submitted separately.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:34:52 +00:00
Peter Müller
533cfb1b77 Core Update 170: Harden mount options of /boot on existing installations
The second version of this patch uses @ instead of / for sed delimiters,
which makes the command less hard to read. Since Core Update 170 already
requires a reboot at this point, the respective directive is omitted.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:34:17 +00:00
Matthias Fischer
b2ab2f4ccc clamav: Update to 0.105.1
For details see:
https://blog.clamav.net/2022/07/clamav-01037-01041-and-01051-patch.html

"ClamAV 0.105.1 is a critical patch release with the following fixes:

    Upgrade the vendored UnRAR library to version 6.1.7.

    Fix issue building macOS universal binaries in some configurations.

    Silence error message when the logical signature maximum functionality
    level is lower than the current functionality level.

    Fix scan error when scanning files containing malformed images that
    cannot be loaded to calculate an image fuzzy hash.

    Fix logical signature "Intermediates" feature.

    Relax constraints on slightly malformed ZIP archives that contain
    overlapping file entries."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-27 07:11:47 +00:00
Michael Tremer
342dd9afd6 core170: Ship logs.cgi/ids.dat
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-27 07:11:23 +00:00
Michael Tremer
c6537f4539 core170: Ship services.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-27 07:10:05 +00:00
Michael Tremer
71aba971c4 cups: Add link at /etc/cups pointing to configuration
This is needed because cups-pdf is looking for its configuration file in
/etc/cups.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-27 07:09:31 +00:00
Michael Tremer
fdf630e8d4 cups-pdf: New package
This package provides a CUPS backend to print into PDF files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-27 07:09:30 +00:00
Peter Müller
00e8b1541f Core Update 170: Ship bind
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-24 13:02:13 +00:00
Matthias Fischer
731d2a06ce bind: Update to 9.16.31
For details see:
https://downloads.isc.org/isc/bind9/9.16.31/doc/arm/html/notes.html#notes-for-bind-9-16-31

Excerpt from changelog:

"	--- 9.16.31 released ---

5917.	[bug]		Update ifconfig.sh script as is miscomputed interface
			identifiers when destroying interfaces. [GL #3061]

5915.	[bug]		Detect missing closing brace (}) and computational
			overflows in $GENERATE directives. [GL #3429]

5913.	[bug]		Fix a race between resolver query timeout and
			validation in resolver.c:validated(). Remove
			resolver.c:maybe_destroy() as it is no loger needed.
			[GL #3398]

5909.	[bug]		The server-side destination port was missing from dnstap
			captures of client traffic. [GL #3309]

5905.	[bug]		When the TCP connection would be closed/reset between
			the connect/accept and the read, the uv_read_start()
			return value would be unexpected and cause an assertion
			failure. [GL #3400]

5903.	[bug]		When named checks that the OPCODE in a response matches
			that of the request, if there is a mismatch named logs
			an error.  Some of those error messages incorrectly
			used RCODE instead of OPCODE to lookup the nemonic.
			This has been corrected. [GL !6420]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-24 12:59:27 +00:00
Peter Müller
b244d9b0d6 Core Update 170: Ship krb5
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-24 10:23:17 +00:00
Michael Tremer
901f6b7c29 ncurses: Ship tmux terminfo
Fixes: #12905
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-21 07:59:43 +00:00
Jon Murphy
064a04d943 pcengines-apu-firmware: Update to version 4.17.0.1
- Update from 4.16.0.3 to 4.17.0.1
- Changelog
    v4.17.0.1 - Release date: 2022-06-23
      Rebased with official coreboot repository commit 5eda52a
      updated sortbootorder to v4.6.24
      Added - Support for APU7 (APU3 variant with 2.5GbE i225 NICs)
      See: https://github.com/pcengines/coreboot/compare/v4.16.0.4...v4.17.0.1

    v4.16.0.4 Release date: 2022-05-26
      Rebased with official coreboot repository commit 9686ac2261
      updated sortbootorder to v4.6.23
      updated SeaBIOS to rel-1.16.0.1
      See: https://github.com/pcengines/coreboot/compare/v4.16.0.3...v4.16.0.4

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Acked-by: Bernhard Bitsch <bbitsch@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-20 10:21:16 +00:00
Matthias Fischer
c003727a4b ipblocklist: Fixed typo in 'sources'
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Acked-by: Stefan Schantl  <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-19 07:50:01 +00:00
Michael Tremer
a702353e26 c170: Ship suricata
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-14 09:44:42 +00:00
Michael Tremer
e3d8db51fb c170: Update collectd.conf
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-14 09:42:11 +00:00
Peter Müller
ce8610479e collectd: Do not keep track of entropy any more
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-14 09:40:53 +00:00
Peter Müller
979a8b3df7 Core Update 170: Ship and restart Unbound
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-12 15:03:52 +00:00