]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/log
people/mfischer/ipfire-2.x.git
5 months agoclamav: Update to 1.2.1 clamav
Matthias Fischer [Wed, 8 Nov 2023 09:55:06 +0000 (10:55 +0100)] 
clamav: Update to 1.2.1

For details see:
https://blog.clamav.net/2023/10/clamav-121-113-104-010311-patch.html

Excerpt:

"ClamAV 1.2.1 is a patch release with the following fixes:

    Eliminate security warning about unused "atty" dependency.

    Upgrade the bundled UnRAR library (libclamunrar) to version 6.2.12.

    Build system: Fix link error with Clang/LLVM/LLD version 17. Patch courtesy of Yasuhiro Kimura.

    Fix alert-exceeds-max feature for files > 2GB and < max-filesize."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
5 months agosquid: Update to 6.5
Matthias Fischer [Wed, 8 Nov 2023 09:53:31 +0000 (10:53 +0100)] 
squid: Update to 6.5

For details see:
https://github.com/squid-cache/squid/commits/v6

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
5 months agoMerge branch 'next' into clamav
Matthias Fischer [Tue, 7 Nov 2023 23:24:54 +0000 (00:24 +0100)] 
Merge branch 'next' into clamav

5 months agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Matthias Fischer [Tue, 7 Nov 2023 23:24:25 +0000 (00:24 +0100)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

5 months agocore181: Package the correct udev files for riscv64
Michael Tremer [Fri, 3 Nov 2023 14:28:19 +0000 (14:28 +0000)] 
core181: Package the correct udev files for riscv64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agokernel: update to 6.1.61
Arne Fitzenreiter [Thu, 2 Nov 2023 20:40:09 +0000 (21:40 +0100)] 
kernel: update to 6.1.61

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoudev: Update riscv64 rootfile
Michael Tremer [Wed, 1 Nov 2023 10:43:34 +0000 (10:43 +0000)] 
udev: Update riscv64 rootfile

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agozabbix_agentd: Fix ipfire.net.gateway.ping
Robin Roevens [Fri, 27 Oct 2023 19:49:01 +0000 (21:49 +0200)] 
zabbix_agentd: Fix ipfire.net.gateway.ping

Fixes custom IPFire Zabbix Agent userparameter ipfire.net.gateway.ping
returning 1 (success) when fping failed for other reasons (rc 2,3 or 4)
than host unreachable (rc 0).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agozabbix_agentd: Update to 6.0.22 (LTS)
Robin Roevens [Fri, 27 Oct 2023 19:40:55 +0000 (21:40 +0200)] 
zabbix_agentd: Update to 6.0.22 (LTS)

- Update from version 6.0.21 to 6.0.22
- Update of rootfile not required

Bugs fixed:
- ZBX-23417: Fixed possible memory leak when checking modbus.get[] item
New Features and Improvements:
- ZBXNEXT-6554: Increased remote command execution limits to 16MB

Full changelogs since 6.0.21:
- https://www.zabbix.com/rn/rn6.0.22

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agocore181: Remove old udev files
Michael Tremer [Mon, 30 Oct 2023 09:59:19 +0000 (09:59 +0000)] 
core181: Remove old udev files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agomake.sh: Adjust build order to proper build udev (systemd)
Stefan Schantl [Sun, 29 Oct 2023 18:19:30 +0000 (19:19 +0100)] 
make.sh: Adjust build order to proper build udev (systemd)

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoudev: Switch to udev from systemd
Stefan Schantl [Sun, 29 Oct 2023 18:19:29 +0000 (19:19 +0100)] 
udev: Switch to udev from systemd

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agopython3-Jinja2: New package
Stefan Schantl [Sun, 29 Oct 2023 18:19:28 +0000 (19:19 +0100)] 
python3-Jinja2: New package

This is a build dependency of udev (systemd)

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agopython3-MarkupSafe: New package
Stefan Schantl [Sun, 29 Oct 2023 18:19:27 +0000 (19:19 +0100)] 
python3-MarkupSafe: New package

This is a build dependency for udev (systemd)

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agolinux: Update x86_64 rootfile
Peter Müller [Mon, 30 Oct 2023 06:44:50 +0000 (06:44 +0000)] 
linux: Update x86_64 rootfile

My fault to provide this ahead of time, again. :-/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
5 months agokernel: update aarch64 rootfile
Arne Fitzenreiter [Fri, 27 Oct 2023 07:59:29 +0000 (07:59 +0000)] 
kernel: update aarch64 rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agokernel: update to 6.1.60
Arne Fitzenreiter [Fri, 27 Oct 2023 07:56:20 +0000 (07:56 +0000)] 
kernel: update to 6.1.60

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agocore181: Ship OpenSSL
Michael Tremer [Thu, 26 Oct 2023 08:57:31 +0000 (08:57 +0000)] 
core181: Ship OpenSSL

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoopenssl: Update to 3.1.4
Michael Tremer [Thu, 26 Oct 2023 08:57:20 +0000 (08:57 +0000)] 
openssl: Update to 3.1.4

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agokernel: update to 6.1.59
Arne Fitzenreiter [Sat, 21 Oct 2023 13:48:29 +0000 (15:48 +0200)] 
kernel: update to 6.1.59

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agokernel: update to 6.1.58
Arne Fitzenreiter [Sat, 21 Oct 2023 13:48:28 +0000 (15:48 +0200)] 
kernel: update to 6.1.58

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agosamba: Update rootfile on aarch64 + riscv64
Michael Tremer [Wed, 25 Oct 2023 10:59:38 +0000 (10:59 +0000)] 
samba: Update rootfile on aarch64 + riscv64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agolinux: Set default IOMMU handling to "strict" on 64-bit ARM
Peter Müller [Fri, 13 Oct 2023 09:04:00 +0000 (09:04 +0000)] 
linux: Set default IOMMU handling to "strict" on 64-bit ARM

This has been our default setting on x86_64 for quite some time now,
which is why this patch aligns the aarch64 kernel configuration to that
value.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agolinux: Disable io_uring
Peter Müller [Fri, 13 Oct 2023 09:03:00 +0000 (09:03 +0000)] 
linux: Disable io_uring

This subsystem has been a frequent source of security vulnerabilities
affecting the Linux kernel; as a result, Google announced on June 14,
2023, that they would disable it in their environment as widely as
possible.

IPFire does not depend on the availability of io_uring. Therefore,
disable this subsystem as well in order to preemptively cut attack
surface.

See also: https://security.googleblog.com/2023/06/learnings-from-kctf-vrps-42-linux.html

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agosuricata: Update to 6.0.15
Matthias Fischer [Fri, 20 Oct 2023 06:36:20 +0000 (08:36 +0200)] 
suricata: Update to 6.0.15

Excerpt from changelog:

"6.0.15 -- 2023-10-18

Security #6363: mime: quadratic complexity in MimeDecAddEntity (6.0.x backport)
Bug #6407: email: disabled fields in suricata.yaml also get logged (6.0.x backport)
Bug #6403: detect: multi-level tunneling inspection fails (6.0.x backport)
Bug #6377: byte_jump with negative post_offset before start of buffer failure (6.0.x backport)
Task #6364: decode: add drop reason for stream reassembly memcap (6.0.x backport)"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore181: Ship apache2
Michael Tremer [Fri, 20 Oct 2023 08:43:07 +0000 (08:43 +0000)] 
core181: Ship apache2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoapache: Update to 2.4.58
Matthias Fischer [Thu, 19 Oct 2023 18:52:32 +0000 (20:52 +0200)] 
apache: Update to 2.4.58

For details see:
https://dlcdn.apache.org/httpd/CHANGES_2.4.58

Excerpt from changelog:
"Changes with Apache 2.4.58

  *) SECURITY: CVE-2023-45802: Apache HTTP Server: HTTP/2 stream
     memory not reclaimed right away on RST (cve.mitre.org)
     When a HTTP/2 stream was reset (RST frame) by a client, there
     was a time window were the request's memory resources were not
     reclaimed immediately. Instead, de-allocation was deferred to
     connection close. A client could send new requests and resets,
     keeping the connection busy and open and causing the memory
     footprint to keep on growing. On connection close, all resources
     were reclaimed, but the process might run out of memory before
     that.
     This was found by the reporter during testing of CVE-2023-44487
     (HTTP/2 Rapid Reset Exploit) with their own test client. During
     "normal" HTTP/2 use, the probability to hit this bug is very
     low. The kept memory would not become noticeable before the
     connection closes or times out.
     Users are recommended to upgrade to version 2.4.58, which fixes
     the issue.
     Credits: Will Dormann of Vul Labs

  *) SECURITY: CVE-2023-43622: Apache HTTP Server: DoS in HTTP/2 with
     initial windows size 0 (cve.mitre.org)
     An attacker, opening a HTTP/2 connection with an initial window
     size of 0, was able to block handling of that connection
     indefinitely in Apache HTTP Server. This could be used to
     exhaust worker resources in the server, similar to the well
     known "slow loris" attack pattern.
     This has been fixed in version 2.4.58, so that such connection
     are terminated properly after the configured connection timeout.
     This issue affects Apache HTTP Server: from 2.4.55 through
     2.4.57.
     Users are recommended to upgrade to version 2.4.58, which fixes
     the issue.
     Credits: Prof. Sven Dietrich (City University of New York)

  *) SECURITY: CVE-2023-31122: mod_macro buffer over-read
     (cve.mitre.org)
     Out-of-bounds Read vulnerability in mod_macro of Apache HTTP
     Server.This issue affects Apache HTTP Server: through 2.4.57.
     Credits: David Shoon (github/davidshoon)"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agosamba: Update to 4.19.2
Matthias Fischer [Thu, 19 Oct 2023 17:03:24 +0000 (19:03 +0200)] 
samba: Update to 4.19.2

For details see:

v4.19.1. => https://www.samba.org/samba/history/samba-4.19.1.html
"
                  ==============================
                  Release Notes for Samba 4.19.1
                  October 10, 2023
                  ==============================

This is a security release in order to address the following defects:

o CVE-2023-3961:  Unsanitized pipe names allow SMB clients to connect as root to
                  existing unix domain sockets on the file system.
                  https://www.samba.org/samba/security/CVE-2023-3961.html

o CVE-2023-4091:  SMB client can truncate files to 0 bytes by opening files with
                  OVERWRITE disposition when using the acl_xattr Samba VFS
                  module with the smb.conf setting
                  "acl_xattr:ignore system acls = yes"
                  https://www.samba.org/samba/security/CVE-2023-4091.html

o CVE-2023-4154:  An RODC and a user with the GET_CHANGES right can view all
                  attributes, including secrets and passwords.  Additionally,
                  the access check fails open on error conditions.
                  https://www.samba.org/samba/security/CVE-2023-4154.html

o CVE-2023-42669: Calls to the rpcecho server on the AD DC can request that the
                  server block for a user-defined amount of time, denying
                  service.
                  https://www.samba.org/samba/security/CVE-2023-42669.html

o CVE-2023-42670: Samba can be made to start multiple incompatible RPC
                  listeners, disrupting service on the AD DC.
                  https://www.samba.org/samba/security/CVE-2023-42670.html"

v4.19.2 => https://www.samba.org/samba/history/samba-4.19.2.html
"Changes since 4.19.1
--------------------

o  Jeremy Allison <jra@samba.org>
   * BUG 15423: Use-after-free in aio_del_req_from_fsp during smbd shutdown
     after failed IPC FSCTL_PIPE_TRANSCEIVE.
   * BUG 15426: clidfs.c do_connect() missing a "return" after a cli_shutdown()
     call.

o  Ralph Boehme <slow@samba.org>
   * BUG 15463: macOS mdfind returns only 50 results.

o  Volker Lendecke <vl@samba.org>
   * BUG 15481: GETREALFILENAME_CACHE can modify incoming new filename with
     previous cache entry value.

o  Stefan Metzmacher <metze@samba.org>
   * BUG 15464: libnss_winbind causes memory corruption since samba-4.18,
     impacts sendmail, zabbix, potentially more.

o  Martin Schwenke <mschwenke@ddn.com>
   * BUG 15479: ctdbd: setproctitle not initialized messages flooding logs.

o  Joseph Sutton <josephsutton@catalyst.net.nz>
   * BUG 15491: CVE-2023-5568 Heap buffer overflow with freshness tokens in the
     Heimdal KDC in Samba 4.19
   * BUG 15477: The heimdal KDC doesn't detect s4u2self correctly when fast is
     in use."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoen.pl: Correction of typo
Adolf Belka [Mon, 16 Oct 2023 11:50:58 +0000 (13:50 +0200)] 
en.pl: Correction of typo

- This error means that a section in extrahd.cgi about the mount path being incorrect
   does not get shown for users with english language selected.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: bbitsch@ipfire.org
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore181: Ship backup.pl
Michael Tremer [Fri, 20 Oct 2023 08:41:35 +0000 (08:41 +0000)] 
core181: Ship backup.pl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agobackup.pl: Fix for bug#11048 - add script for adding pass/no pass to ovpnconfig from...
Adolf Belka [Sun, 15 Oct 2023 16:28:22 +0000 (18:28 +0200)] 
backup.pl: Fix for bug#11048 - add script for adding pass/no pass to ovpnconfig from backup

- A script was added to the update.sh script to add pass/no pass to the ovpnconfig entries
   but I forgot that this was also needed in the backup.pl file to add those statuses into
   any ovpnconfig file restored from a backup before the pass/no pass entries were added.
- This patch corrects that oversight.
- Confirmed by testing on my vm. Before the script added to backup.pl a restore of older
   ovpnconfig ended up not showing any icons or status elements. With the script in
   backup.pl confirmed that the restored ovpnconfig showed up in the WUI page correctly
   with the right icons and with the status elements correctly displayed.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agosamba: Update to 4.19.2
Matthias Fischer [Thu, 19 Oct 2023 16:55:45 +0000 (18:55 +0200)] 
samba: Update to 4.19.2

For details see:

v4.19.1. => https://www.samba.org/samba/history/samba-4.19.1.html
"
                  ==============================
                  Release Notes for Samba 4.19.1
                  October 10, 2023
                  ==============================

This is a security release in order to address the following defects:

o CVE-2023-3961:  Unsanitized pipe names allow SMB clients to connect as root to
                  existing unix domain sockets on the file system.
                  https://www.samba.org/samba/security/CVE-2023-3961.html

o CVE-2023-4091:  SMB client can truncate files to 0 bytes by opening files with
                  OVERWRITE disposition when using the acl_xattr Samba VFS
                  module with the smb.conf setting
                  "acl_xattr:ignore system acls = yes"
                  https://www.samba.org/samba/security/CVE-2023-4091.html

o CVE-2023-4154:  An RODC and a user with the GET_CHANGES right can view all
                  attributes, including secrets and passwords.  Additionally,
                  the access check fails open on error conditions.
                  https://www.samba.org/samba/security/CVE-2023-4154.html

o CVE-2023-42669: Calls to the rpcecho server on the AD DC can request that the
                  server block for a user-defined amount of time, denying
                  service.
                  https://www.samba.org/samba/security/CVE-2023-42669.html

o CVE-2023-42670: Samba can be made to start multiple incompatible RPC
                  listeners, disrupting service on the AD DC.
                  https://www.samba.org/samba/security/CVE-2023-42670.html"

v4.19.2 => https://www.samba.org/samba/history/samba-4.19.2.html
"Changes since 4.19.1
--------------------

o  Jeremy Allison <jra@samba.org>
   * BUG 15423: Use-after-free in aio_del_req_from_fsp during smbd shutdown
     after failed IPC FSCTL_PIPE_TRANSCEIVE.
   * BUG 15426: clidfs.c do_connect() missing a "return" after a cli_shutdown()
     call.

o  Ralph Boehme <slow@samba.org>
   * BUG 15463: macOS mdfind returns only 50 results.

o  Volker Lendecke <vl@samba.org>
   * BUG 15481: GETREALFILENAME_CACHE can modify incoming new filename with
     previous cache entry value.

o  Stefan Metzmacher <metze@samba.org>
   * BUG 15464: libnss_winbind causes memory corruption since samba-4.18,
     impacts sendmail, zabbix, potentially more.

o  Martin Schwenke <mschwenke@ddn.com>
   * BUG 15479: ctdbd: setproctitle not initialized messages flooding logs.

o  Joseph Sutton <josephsutton@catalyst.net.nz>
   * BUG 15491: CVE-2023-5568 Heap buffer overflow with freshness tokens in the
     Heimdal KDC in Samba 4.19
   * BUG 15477: The heimdal KDC doesn't detect s4u2self correctly when fast is
     in use."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
6 months agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Matthias Fischer [Wed, 18 Oct 2023 16:05:13 +0000 (18:05 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

6 months agodnsdist: disabled on riscv64 again
Arne Fitzenreiter [Fri, 13 Oct 2023 04:40:33 +0000 (04:40 +0000)] 
dnsdist: disabled on riscv64 again

dnsdist build on my builder fine but it fails on the buildserver
via qemu-user.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agokernel: update to 6.1.57
Arne Fitzenreiter [Fri, 13 Oct 2023 04:37:42 +0000 (04:37 +0000)] 
kernel: update to 6.1.57

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoTor: Update to 0.4.8.7
Peter Müller [Sun, 8 Oct 2023 16:26:00 +0000 (16:26 +0000)] 
Tor: Update to 0.4.8.7

Changes in version 0.4.8.7 - 2023-09-25
  This version fixes a single major bug in the Conflux subsystem on the client
  side. See below for more information. The upcoming Tor Browser 13 stable will
  pick this up.

  o Major bugfixes (conflux):
    - Fix an issue that prevented us from pre-building more conflux sets
      after existing sets had been used. Fixes bug 40862; bugfix
      on 0.4.8.1-alpha.

  o Minor features (fallbackdir):
    - Regenerate fallback directories generated on September 25, 2023.

  o Minor features (geoip data):
    - Update the geoip files to match the IPFire Location Database, as
      retrieved on 2023/09/25.

Changes in version 0.4.8.6 - 2023-09-18
  This version contains an important fix for onion service regarding congestion
  control and its reliability. Apart from that, uneeded BUG warnings have been
  suppressed especially about a compression bomb seen on relays. We strongly
  recommend, in particular onion service operators, to upgrade as soon as
  possible to this latest stable.

  o Major bugfixes (onion service):
    - Fix a reliability issue where services were expiring their
      introduction points every consensus update. This caused
      connectivity issues for clients caching the old descriptor and
      intro points. Bug reported and fixed by gitlab user
      @hyunsoo.kim676. Fixes bug 40858; bugfix on 0.4.7.5-alpha.

  o Minor features (debugging, compression):
    - Log the input and output buffer sizes when we detect a potential
      compression bomb. Diagnostic for ticket 40739.

  o Minor features (fallbackdir):
    - Regenerate fallback directories generated on September 18, 2023.

  o Minor features (geoip data):
    - Update the geoip files to match the IPFire Location Database, as
      retrieved on 2023/09/18.

  o Minor bugfix (defensive programming):
    - Disable multiple BUG warnings of a missing relay identity key when
      starting an instance of Tor compiled without relay support. Fixes
      bug 40848; bugfix on 0.4.3.1-alpha.

  o Minor bugfixes (bridge authority):
    - When reporting a pseudo-networkstatus as a bridge authority, or
      answering "ns/purpose/*" controller requests, include accurate
      published-on dates from our list of router descriptors. Fixes bug
      40855; bugfix on 0.4.8.1-alpha.

  o Minor bugfixes (compression, zstd):
    - Use less frightening language and lower the log-level of our run-
      time ABI compatibility check message in our Zstd compression
      subsystem. Fixes bug 40815; bugfix on 0.4.3.1-alpha.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore181: Ship cURL
Michael Tremer [Wed, 11 Oct 2023 07:50:32 +0000 (07:50 +0000)] 
core181: Ship cURL

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoMerge branch 'master' into next
Michael Tremer [Wed, 11 Oct 2023 07:50:21 +0000 (07:50 +0000)] 
Merge branch 'master' into next

6 months agocore180: Ship cURL
Michael Tremer [Wed, 11 Oct 2023 07:48:53 +0000 (07:48 +0000)] 
core180: Ship cURL

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocurl: Fix CVE-2023-38545
Michael Tremer [Wed, 11 Oct 2023 07:45:36 +0000 (07:45 +0000)] 
curl: Fix CVE-2023-38545

  https://curl.se/docs/CVE-2023-38545.html

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore181: Ship udev
Michael Tremer [Mon, 9 Oct 2023 08:18:43 +0000 (08:18 +0000)] 
core181: Ship udev

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore181: Ship sysvinit
Michael Tremer [Mon, 9 Oct 2023 08:17:48 +0000 (08:17 +0000)] 
core181: Ship sysvinit

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoudev: Update to version 3.2.14
Adolf Belka [Sun, 8 Oct 2023 19:57:37 +0000 (21:57 +0200)] 
udev: Update to version 3.2.14

- Update from version 3.2.12 to 3.2.14
- Update of rootfile not required
- This version update includes the patches previously used to add the dummies for tags
   and to update to udev version 251 which is bugfix #253
- Changelog
    3.2.14
    Clear sysattr cache if a null pointer is passed by @NaofumiHonda in #255
    Add /usr/local/lib/udev/rules.d by @bbonev in #260
    Fix := not preventing further assignments to RUN by @bbonev in #257
    Let libudev find hwdb.bin under UDEV_HWDB_BIN by
     @vivien-consider-dropping-github in #264
    Add a generic --output argument to udevadm hwdb by
     @vivien-consider-dropping-github in #263
    Dynamically get the udevadm hwdb files with a path variable by
     @vivien-consider-dropping-github in #262
    More wording fixes for the manual page for udev by
     @vivien-consider-dropping-github in #265
    Add missing API from 247 by @bbonev in #253
    Ensure that standard file descriptors are open by @bbonev in #266

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agosysvinit: Update to version 3.08
Adolf Belka [Sun, 8 Oct 2023 19:57:36 +0000 (21:57 +0200)] 
sysvinit: Update to version 3.08

- Update from version 3.00 to 3.08
- Update of rootfile
- All the other patches and sed modifications are now built mintyo the source tarball,
   except for the mountpoint patch which is stilol needed
- Changelog
    3.08
This release focuses on three changes which are basically imports of patches from Gentoo. Special thanks to floppym for supplying these.
    Applied a patch from floppm which adds kexec option to the halt command. This can be used as "halt -k".
    floppym provided patch which causes the halt command to call "shutdown -h -H" instead of "shutdown -h" when halt is invoked without parameters. This forces the shutdown command to set the INIT_HALT variable and assume, unless other conditions apply, that the "halt" call really wants to halt the machine and INIT_HALT should be set. In other words we assume halt wants to halt unless told otherwise.
     Addresses downstream Gentoo bug ID 911257.
    Updated halt documentation and help output to display parameters in alphabetical order.
    3.07
The 3.07 release of SysV init mostly introduces fixes and improvements for the
 killall5 and pidof programs. (These are actually the same program, but are
 invoked with two different names, which result in different behaviour. The main
 highlights in this release are:
Fixed killall5 so that processes in the omit list are not sent any
 signals, including SIGSTOP.
Fixed usage message for killall5 to be more accurate.
pidof was not returning PIDs of programs which were launched using a
 symbolic link. This has been fixed so programs run from a symbolic link
 show up in process lists.
    3.06
    Mark Hindley fixed typo in es.po
    Mark Hindley cleaned up translation code in src/Makefile.
    Drop sulogin from Debian build. Removed libcrypt-dev dependency.
    Fixed pt translation pages which were failing due to mis-matched open/close
     tags.
    Makefile now respects ROOT prefix when setting up pidof-to-killall5 symbolic
     link.
    Removed redundant translation files from man directory.
    Makefile now respects DESTDIR. User can specify either ROOT= or DESTDIR= to
     set install prefix.
    3.05
This release (3.05) focuses on two things:
    Updating the translation framework.
    Fixing compiling issues on various systems.
The second point, compiling, encompasses a few minor changes to get SysV init to
 build properly on GNU Hurd, systems without certain GNU assumptions, and systems
 running the latest glibc library (2.36 at time of writing).
    3.04
This release contains one minor fix which allows the bootlogd code to properly
 compile on Debian's GNU Hurd branch.
    3.03
This release includes two minor changes. One is fixing a typo in the init manual
 page (init.8). this fix was offered by Mark hindley.
Mark, and a few other people, also pointed out that a fix in 3.02 for bootlogd
 introduced reliance on a defined PATH_MAX constant. This is used elsewhere in
 the code, but is not explicitly defined in bootlogd, which caused bootlogd to
 not build properly on GNU Hurd and musl C systems. This has been fixed.
    3.02
    Added q and Q flags to synopsis in shutdown manual page.
    Applied fixes for markup and spacing in manual pages.
     Patch provided by Mario Blattermann.
    Added translation framework (po4a) from Mario Blttermann.
    Added Makefile for man/ directory. Will handle translations
     and substitutions.
    Applied new translations for multiple languages from Mario Blattermann.
    Added ability to use "@" symbol in command named in the inittab file. This
     treats commands as literal and does not launch a shell to interpret them.
    Updated inittab manual page to include overview of symbols which trigger
     a shell interpretor and how to disable them using the @ symbol.
    Introduced change which adds error checking in bootlogd when performing
     chdir(). - Provided by Alexander Vickberg
    Add check for console using TIOCGDEV on Linux systems in bootlogd to
     make finding console more robust. - Provided by Alexander Vickberg
    3.01
    Default to showing processes in the uninterruptable state (D).
     The -z flag no longer affects whether processes in D state are shown.
     The -z flag does still toggle whether zombie (Z) processes are shown.
    Removed unnecessary check which is always true from init tab parsing.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoLynis: Update to 3.0.9
Peter Müller [Sun, 8 Oct 2023 16:31:00 +0000 (16:31 +0000)] 
Lynis: Update to 3.0.9

Changelog according to https://cisofy.com/changelog/lynis/#309:

- DBS-1820 - Added newer style format for Mongo authorization setting
- FILE-6410 - Locations added for plocate
- SSH-7408 - Only test Compression if sshd version < 7.4
- Improved fetching timestamp
- Minor changes such as typos

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoPostfix: Update to 3.8.2
Peter Müller [Sun, 8 Oct 2023 16:29:00 +0000 (16:29 +0000)] 
Postfix: Update to 3.8.2

Refer to https://www.postfix.org/announcements/postfix-3.8.2.html for
the changelog of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoriscv64: enable some disabled addons
Arne Fitzenreiter [Sun, 8 Oct 2023 07:27:22 +0000 (09:27 +0200)] 
riscv64: enable some disabled addons

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agogrub: fix mkimage on riscv64 and fix cdrom
Arne Fitzenreiter [Sun, 8 Oct 2023 07:27:21 +0000 (09:27 +0200)] 
grub: fix mkimage on riscv64 and fix cdrom

the riscv64 image needs more than 1.44MB

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agostrip: exclude rust compiler
Arne Fitzenreiter [Sun, 8 Oct 2023 07:27:20 +0000 (09:27 +0200)] 
strip: exclude rust compiler

this fail on riscv64 because it is compiled with lvm and
we not need to strip not shipped buildtime deps.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agokernel: update to 6.1.56
Arne Fitzenreiter [Sat, 7 Oct 2023 20:16:49 +0000 (22:16 +0200)] 
kernel: update to 6.1.56

this also builds the dtb files on riscv64

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoMerge branch 'master' into next
Michael Tremer [Mon, 9 Oct 2023 08:12:40 +0000 (08:12 +0000)] 
Merge branch 'master' into next

6 months agoboost: update x86_64 rootfile
Arne Fitzenreiter [Sat, 7 Oct 2023 09:09:25 +0000 (11:09 +0200)] 
boost: update x86_64 rootfile

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore181: Ship glibc again
Michael Tremer [Wed, 4 Oct 2023 13:00:39 +0000 (13:00 +0000)] 
core181: Ship glibc again

This was updated in 180, but we want to make sure that even testing
users get the latest updates.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoMerge branch 'master' into next
Michael Tremer [Wed, 4 Oct 2023 12:58:12 +0000 (12:58 +0000)] 
Merge branch 'master' into next

6 months agoglibc: Import patches from upstream
Michael Tremer [Wed, 4 Oct 2023 12:54:17 +0000 (12:54 +0000)] 
glibc: Import patches from upstream

This patch imports the latest patches from the 2.38 branch:

  https://git.ipfire.org/?p=thirdparty/glibc.git;a=shortlog;h=refs/heads/release/2.38/master

This includes a fix for a buffer overflow in the tunables code
(CVE-2023-4911) as well as  CVE-2023-4806 and CVE-2023-5156.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoextrahd.cgi: Add support for LVM and MDADM devices
Stefan Schantl [Sat, 23 Sep 2023 10:54:55 +0000 (12:54 +0200)] 
extrahd.cgi: Add support for LVM and MDADM devices

This commit adds support for using LVM and mdadm based RAID devices
for the CGI page.

In case one or more drives/partitions are used by such a "grouped"
volume they still will displayed on the page, but can not be
configured/used. Instead the "master" volume of which the
drive/partition is part of is shown in the "mountpoint" input box.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore180: Rewrite the SSH configuration on update
Michael Tremer [Mon, 2 Oct 2023 18:13:38 +0000 (18:13 +0000)] 
core180: Rewrite the SSH configuration on update

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore181: Ship extrahd.cgi
Michael Tremer [Sun, 1 Oct 2023 08:17:12 +0000 (08:17 +0000)] 
core181: Ship extrahd.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoextrahd.cgi: Add support for LVM and MDADM devices
Stefan Schantl [Sat, 23 Sep 2023 10:54:55 +0000 (12:54 +0200)] 
extrahd.cgi: Add support for LVM and MDADM devices

This commit adds support for using LVM and mdadm based RAID devices
for the CGI page.

In case one or more drives/partitions are used by such a "grouped"
volume they still will displayed on the page, but can not be
configured/used. Instead the "master" volume of which the
drive/partition is part of is shown in the "mountpoint" input box.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoMerge branch 'master' into next
Michael Tremer [Thu, 28 Sep 2023 10:43:48 +0000 (10:43 +0000)] 
Merge branch 'master' into next

6 months agolibslirp: Add the slirp library as this is required for the net user backend in qemu
Adolf Belka [Thu, 28 Sep 2023 10:37:01 +0000 (12:37 +0200)] 
libslirp: Add the slirp library as this is required for the net user backend in qemu

- Looking through some of the changelog and some mail list communications it looks like
   qemu decided they did noty want to maintain their own bundled version of libslirp when
   the majority of OS's had their own version now in place. Ubuntu 18.04 did not have
   libslirp but qemu stopped supporting that version from qemu-7.1
- So it looks like all OS's have a standard libslirp available now and qemu have taken
   the decision to no longer have their own version but to use the system version. That
   was always possible to do if use of the system version was explicitly defined but
   the default was to use the bundled version.
- No evidence that libslirp is deprecated.
- The last version of libslirp was released a year ago but it looks like every month or
   so there are a couple of commits merged. The last was a month ago.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoqemu-ga: Update to version 8.1.1
Adolf Belka [Thu, 28 Sep 2023 10:37:00 +0000 (12:37 +0200)] 
qemu-ga: Update to version 8.1.1

- Update from version 8.0.3 to 8.1.1
- Update of rootfile not required
- Changelog
    8.1
https://wiki.qemu.org/ChangeLog/8.1

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoqemu: Update to version 8.1.1 and add libslirp for net user backend
Adolf Belka [Thu, 28 Sep 2023 10:36:59 +0000 (12:36 +0200)] 
qemu: Update to version 8.1.1 and add libslirp for net user backend

- Update from version 8.0.3 to 8.1.1
- In CU179 the update of qemu caused at least one user to have a problem starting his
   qemu system as the qemu bundled slirp library used for the net user backend was removed
   in version 7.2. Unfortunately no user tested qemu in the CU179 Testing phase, or if they
   did they are not using the net user backend.
- This patch adds the --enable-slirp option to configure and installs libslirp in a
   separate patch.
- I can't test if this now works as I don't use qemu anywhere.
- Changelog is too large to include here.
    8.1
https://wiki.qemu.org/ChangeLog/8.1

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore181: Ship URLFilter changes
Michael Tremer [Thu, 28 Sep 2023 09:39:56 +0000 (09:39 +0000)] 
core181: Ship URLFilter changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agourlfilter.cgi: Fixes bug#10649 - calls urlfilterctrl with remove option if update...
Adolf Belka [Tue, 26 Sep 2023 14:07:01 +0000 (16:07 +0200)] 
urlfilter.cgi: Fixes bug#10649 - calls urlfilterctrl with remove option if update disabled

- When the url filter update enable checkbox is unchecked then this patch calls
   urlfilterctrl with the remove option added in the otrher patch of this series.
- Tested on my vm testbed that this change does remove the urlfilter symlink from the
   fcron directories when the update is disabled.

Fixes: Bug#10649
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agourlfilterctrl: Fix bug#10649 - add option to remove urlfilter from fcron directories
Adolf Belka [Tue, 26 Sep 2023 14:07:00 +0000 (16:07 +0200)] 
urlfilterctrl: Fix bug#10649 - add option to remove urlfilter from fcron directories

- Currently if the urlfilter update is enabled then autoupdate.pl is renamed urlfilter and
   added into either the daily, weekly or monthly fcron directoiries. If the update is
   disabled then the urlfilter update script stays in the directory and is not removed.
- This patch adds in the option of remove to the urlfilterctrl program. The first part
   of the urlfilterctrl.c code removes any existing symlinks so all that needs to be done
   for the remove option is to not add any symlinks to the fcron directories.
- Confirmed in a vm testbed that the current approach leaves the symlink in place. Installed
   the changes from this and the previous patch and confirmed that when the url update is
   disabled the symlink is removed.

Fixes: Bug#10649
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore181: Fix arch-dependendant filelists
Michael Tremer [Thu, 28 Sep 2023 09:36:54 +0000 (09:36 +0000)] 
core181: Fix arch-dependendant filelists

I created those in a wrong place :(

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore181: Ship OpenVPN changes
Michael Tremer [Thu, 28 Sep 2023 09:35:33 +0000 (09:35 +0000)] 
core181: Ship OpenVPN changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoupdate.sh: Adds code to update an existing ovpnconfig with pass or no-pass
Adolf Belka [Mon, 25 Sep 2023 16:41:56 +0000 (18:41 +0200)] 
update.sh: Adds code to update an existing ovpnconfig with pass or no-pass

- The code checks first if ovpnconfig exists and is not empty.
- Then it makes all net2net connections no-pass since they do not use encryption
- Then it cycles through all .p12 files and checks with openssl if a password exists or not.
   If a password is present then pass is added to index 41 and if not then no-pass is added
   to index 41
- I had to add a blank line to the top of the ovpnconfig file otherwise the awk code
   treated the first line as a blank line and missed it out of the update. This was the
   problem that was discovered during the previous Testing Release evaluation.
   Tested out this time with several existing entries both encrypted and insecure and with
   additional entries of both added in afterwards and all connection entries were
   maintained - road warrior and net2net.
- This code should be left in update.sh for future Core Updates in case people don't update
   with Core Update 175 but leave it till later. This code works fine on code that already
   has pass or no-pass entered into index 41 in ovpnconfig

Fixes: Bug#11048
Suggested-by: Erik Kapfer <ummeegge@ipfire.org>
Suggested-by: Adolf Belka <adolf.belka@ipfire.org>
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoweb-user-interface: Addition of new icon for secure connection certificate download
Adolf Belka [Mon, 25 Sep 2023 16:41:55 +0000 (18:41 +0200)] 
web-user-interface: Addition of new icon for secure connection certificate download

- This uses a padlock icon from https://commons.wikimedia.org/wiki/File:Encrypted.png
- The license for this image is the following:-
   This library is free software; you can redistribute it and/or modify it under the terms
   of the GNU Lesser General Public License as published by the Free Software Foundation;
   either version 2.1 of the License, or (at your option) any later version. This library
   is distributed in the hope that it will be useful, but without any warranty; without
   even the implied warranty of merchantability or fitness for a particular purpose. See
   version 2.1 and version 3 of the GNU Lesser General Public License for more details.
- Based on the above license I believe it can be used by IPFire covered by the GNU General
   Public License that is used for it.
- The icon image was made by taking the existing openvpn.png file and superimposing the
   padlock icon on top of it as a 12x12 pixel format and naming it openvpn_encrypted.png

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agonl.pl: Change language text for secure icon wording
Adolf Belka [Mon, 25 Sep 2023 16:41:54 +0000 (18:41 +0200)] 
nl.pl: Change language text for secure icon wording

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoen.pl: Change language text for secure icon wording
Adolf Belka [Mon, 25 Sep 2023 16:41:53 +0000 (18:41 +0200)] 
en.pl: Change language text for secure icon wording

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agode.pl: Change language text for secure icon wording
Adolf Belka [Mon, 25 Sep 2023 16:41:52 +0000 (18:41 +0200)] 
de.pl: Change language text for secure icon wording

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Fix for bug#11048 - insecure download icon shown for connections with...
Adolf Belka [Mon, 25 Sep 2023 16:41:51 +0000 (18:41 +0200)] 
ovpnmain.cgi: Fix for bug#11048 - insecure download icon shown for connections with a password

- At long last I have re-visited the patch submission for bug #11048 and fixed the issues
   that caused the problems last time I evaluated it in Testing.
- The insecure package download icon is shown if entry 41 in /var/ipfire/ovpn/ovpnconfig
   is set to no-pass. The code block on ovpnmain.cgi that deals with this checks if the
   connection is a host and if the first password entry is a null. Then it adds no-pass
   to ovpnconfig.
- The same block of code is also used for when he connection is edited. However at this
   stage the password entry is back to null because the password value is only kept until
   the connection has been saved. Therefore doing an edit results in the password value
   being taken as null even for connections with a password.
- This fix enters no-pass if the connection type is host and the password is null, pass if
   the connection type is host and the password has characters. If the connection type is
   net then no-pass is used as net2net connections dop not have encrypted certificates.
- The code has been changed to show a different icon for unencrypted and encrypted
   certificates.
- Separate patches are provided for the language file change, the provision of a new icon
   and the code for the update.sh script for the Core Update to update all existing
   connections, if any exist, to have either pass or no-pass in index 41.
- This patch set was a joint collaboration between Erik Kapfer and Adolf Belka
- Patch set, including the code for the Core Update 180 update.sh script has been tested
   on a vm testbed

Fixes: Bug#11048
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Suggested-by: Adolf Belka <adolf.belka@ipfire.org>
Suggested-by: Erik Kapfer <ummeegge@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agokernel: update 6.1.53
Arne Fitzenreiter [Sat, 16 Sep 2023 14:44:38 +0000 (16:44 +0200)] 
kernel: update 6.1.53

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agokernel: update to 6.1.52
Arne Fitzenreiter [Sat, 9 Sep 2023 15:04:20 +0000 (17:04 +0200)] 
kernel: update to 6.1.52

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoStart Core Update 181 (with a kernel)
Michael Tremer [Thu, 28 Sep 2023 09:25:16 +0000 (09:25 +0000)] 
Start Core Update 181 (with a kernel)

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore180: Ship bind
Michael Tremer [Thu, 28 Sep 2023 09:19:07 +0000 (09:19 +0000)] 
core180: Ship bind

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agobind: Update to 9.16.44
Matthias Fischer [Fri, 22 Sep 2023 19:04:56 +0000 (21:04 +0200)] 
bind: Update to 9.16.44

For details see:
https://downloads.isc.org/isc/bind9/9.16.44/doc/arm/html/notes.html#notes-for-bind-9-16-44

Changes since 9.16.40:

9.16.44:
"Previously, sending a specially crafted message
over the control channel could cause the packet-parsing
code to run out of available stack memory, causing named
to terminate unexpectedly. This has been fixed. (CVE-2023-3341)"

9.16.43:
"Processing already-queued queries received over TCP could cause
an assertion failure, when the server was reconfigured at the
same time or the cache was being flushed. This has been fixed."

9.16.42:
"The overmem cleaning process has been improved, to prevent the
cache from significantly exceeding the configured max-cache-size
limit. (CVE-2023-2828)

A query that prioritizes stale data over lookup triggers a fetch
to refresh the stale data in cache. If the fetch is aborted for
exceeding the recursion quota, it was possible for named to enter
an infinite callback loop and crash due to stack overflow. This
has been fixed. (CVE-2023-2911)

Previously, it was possible for a delegation from cache to be
returned to the client after the stale-answer-client-timeout
duration. This has been fixed."

9.16.41:
"When removing delegations from an opt-out range, empty-non-terminal
NSEC3 records generated by those delegations were not cleaned up.
This has been fixed."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocore180: Ship extrahd.pl
Michael Tremer [Thu, 28 Sep 2023 09:18:12 +0000 (09:18 +0000)] 
core180: Ship extrahd.pl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoextrahd: add forgotten udev_event handler to mount partitions via udev
Arne Fitzenreiter [Wed, 27 Sep 2023 15:04:08 +0000 (17:04 +0200)] 
extrahd: add forgotten udev_event handler to mount partitions via udev

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Matthias Fischer [Fri, 22 Sep 2023 15:17:33 +0000 (17:17 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

7 months agocore180: Ship suricata
Michael Tremer [Tue, 19 Sep 2023 11:08:28 +0000 (11:08 +0000)] 
core180: Ship suricata

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agosuricata: Update to 6.0.14
Matthias Fischer [Sat, 16 Sep 2023 16:24:29 +0000 (18:24 +0200)] 
suricata: Update to 6.0.14

Excerpt from changelog:

"6.0.14 -- 2023-09-13

Security #6289: Crash in SMTP parser during parsing of email (6.0.x backport)
Security #6196: process exit in hyperscan error handling  (6.0.x backport)
Security #6156: dcerpc: max-tx config parameter, also for UDP (6.0.x backport)
Bug #6285: community-id: Fix IPv6 address sorting not respecting byte order (6.0.x backport)
Bug #6248: Multi-tenancy: crash under test mode when tenant signature load fails (6.0.x backport)
Bug #6245: tcp: RST with data used in reassembly (6.0.x backport)
Bug #6236: if protocol dcerpc first packet type is Alter_context, it will not parse dcerpc (6.0.x backport)
Bug #6228: ips/af-packet: crash when copy-iface is the same as the interface (6.0.x backport)
Bug #6227: windows: lua script path truncated (6.0.x backport)
Bug #6226: Decode-events of IPv6 GRE are not triggered (6.0.x backport)
Bug #6224: base64: complete support for RFC2045 (6.0.x backport)
Bug #6220: Backport tenant_id conversion to uint32_t
Bug #6213: file.magic: rule reload can lead to crashes (6.0.x backport)
Bug #6193: smtp: Attachment not being md5 matched (6.0.x backport)
Bug #6192: smtp: use every byte to compute email.body_md5 (6.0.x backport)
Bug #6182: log-pcap: fix segfault on lz4 compressed pcaps (6.0.x backport)
Bug #6181: eve/alert: deprecated fields can have unexpected side affects (6.0.x backport)
Bug #6174: FTP bounce detection doesn't work for big-endian platforms (6.0.x backport)
Bug #6166: http2: fileinfo events log http2 object instead of http object as alerts and http2 do (6.0.x backport)
Bug #6139: smb: wrong offset when parse SMB_COM_WRITE_ANDX record (6.0.x backport)
Bug #6082: pcap: device reopen broken (6.0.x backport)
Bug #6068: pcap: memory leaks (6.0.x backport)
Bug #6045: detect: multi-tenancy leaks memory if more than 1 tenant registered (6.0.x backport)
Bug #6035: stream.midstream: if enabled breaks exception policy (6.0.x backport)
Bug #5915: rfb: parser returns error on unimplemented record types (6.0.x backport)
Bug #5794: eve: if alert and drop rules match for a packet, "alert.action" is ambigious (6.0.x backport)
Bug #5439: Invalid certificate when Issuer is not present.
Optimization #6229: Performance impact of Cisco Fabricpath (6.0.x backport)
Optimization #6203: detect: modernize filename fileext filemagic (6.0.x backport)
Optimization #6153: suricatasc: Gracefully handle unsupported commands (6.0.x backport)
Feature #6282: dns/eve: add 'HTTPS' type logging (6.0.x backport)
Feature #5935: ips: add 'master switch' to enable dropping on traffic (handling) exceptions (6.0.x backport)
Documentation #6234: userguide: add installation from Ubuntu PPA section (6.0.x backport)"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoMerge remote-tracking branch 'origin/master' into next
Arne Fitzenreiter [Sun, 17 Sep 2023 12:20:33 +0000 (12:20 +0000)] 
Merge remote-tracking branch 'origin/master' into next

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agocore179: add extrahd changes
Arne Fitzenreiter [Sun, 17 Sep 2023 12:14:56 +0000 (12:14 +0000)] 
core179: add extrahd changes

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agoextrahd: use udev rule to mount extrahd partitions
Arne Fitzenreiter [Sun, 17 Sep 2023 11:58:54 +0000 (13:58 +0200)] 
extrahd: use udev rule to mount extrahd partitions

the previous patches for
https://bugzilla.ipfire.org/show_bug.cgi?id=12863
introduce a new bug that slow devices are not mounted
at boot. So now udev calls the extrahd script with
the uuid.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Matthias Fischer [Sat, 16 Sep 2023 12:59:13 +0000 (14:59 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

7 months agoTor: Do not attempt to establish connections via IPv6
Peter Müller [Thu, 14 Sep 2023 17:45:12 +0000 (17:45 +0000)] 
Tor: Do not attempt to establish connections via IPv6

To quote from the changelog of Tor 0.4.8.4:

  o Minor feature (client, IPv6):
    - Make client able to pick IPv6 relays by default now meaning
      ClientUseIPv6 option now defaults to 1. Closes ticket 40785.

In order to avoid any malfunctions on IPFire installations,
set this option to "0" explicitly.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoTor: Update to 0.4.8.5
Peter Müller [Thu, 14 Sep 2023 17:45:11 +0000 (17:45 +0000)] 
Tor: Update to 0.4.8.5

Changes in version 0.4.8.5 - 2023-08-30
  Quick second release after the first stable few days ago fixing minor
  annoying bugfixes creating log BUG stacktrace. We also fix BSD compilation
  failures and PoW unit test.

  o Minor features (fallbackdir):
    - Regenerate fallback directories generated on August 30, 2023.

  o Minor features (geoip data):
    - Update the geoip files to match the IPFire Location Database, as
      retrieved on 2023/08/30.

  o Minor bugfix (NetBSD, compilation):
    - Fix compilation issue on NetBSD by avoiding an unnecessary
      dependency on "huge" page mappings in Equi-X. Fixes bug 40843;
      bugfix on 0.4.8.1-alpha.

  o Minor bugfix (NetBSD, testing):
    - Fix test failures in "crypto/hashx" and "slow/crypto/equix" on
      x86_64 and aarch64 NetBSD hosts, by adding support for
      PROT_MPROTECT() flags. Fixes bug 40844; bugfix on 0.4.8.1-alpha.

  o Minor bugfixes (conflux):
    - Demote a relay-side warn about too many legs to ProtocolWarn, as
      there are conditions that it can briefly happen during set
      construction. Also add additional set logging details for all
      error cases. Fixes bug 40841; bugfix on 0.4.8.1-alpha.
    - Prevent non-fatal assert stacktrace caused by using conflux sets
      during their teardown process. Fixes bug 40842; bugfix
      on 0.4.8.1-alpha.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocore180: Ship logrotate.conf
Michael Tremer [Fri, 15 Sep 2023 06:54:39 +0000 (06:54 +0000)] 
core180: Ship logrotate.conf

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agologrotate: Rotate wtmp files monthly, and keep them for a year
Peter Müller [Thu, 14 Sep 2023 17:15:01 +0000 (17:15 +0000)] 
logrotate: Rotate wtmp files monthly, and keep them for a year

This prevents "last" being rendered unusable, and allows
for better and faster auditing of previous logins.

Fixes: #13322
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agosamba: Update aarch64 rootfile
Michael Tremer [Wed, 13 Sep 2023 18:18:24 +0000 (18:18 +0000)] 
samba: Update aarch64 rootfile

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoextrahd.cgi: Fix broken UUID check
Stefan Schantl [Tue, 12 Sep 2023 18:20:00 +0000 (20:20 +0200)] 
extrahd.cgi: Fix broken UUID check

This check was totaly broken and resulted into not beeing able to
configure/mount more than one extra harddrive.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoboost: Update aarch64 rootfile
Michael Tremer [Wed, 13 Sep 2023 09:31:21 +0000 (09:31 +0000)] 
boost: Update aarch64 rootfile

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoextrahd.cgi: Fix broken UUID check
Stefan Schantl [Tue, 12 Sep 2023 18:20:00 +0000 (20:20 +0200)] 
extrahd.cgi: Fix broken UUID check

This check was totaly broken and resulted into not beeing able to
configure/mount more than one extra harddrive.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agosdl2: Update to version 2.28.3
Adolf Belka [Thu, 7 Sep 2023 17:30:15 +0000 (19:30 +0200)] 
sdl2: Update to version 2.28.3

- Update from version 2.28.1 to 2.28.3
- Update of rootfile
- Changelog
    2.28.3
       This is a stable bugfix release, with the following changes:
    Added a gamepad mapping for the G-Shark GS-GP702
    Fixed touchpad events for the Razer Wolverine V2 Pro in PS5 mode
    Fixed getting key events from TV remotes on Android
    Updated to Android minSdkVersion 19 and targetSdkVersion 34 to meet Google
     Play Store requirements
    2.28.2
       This is a stable bugfix release, with the following changes:
    Fixed occasionally failing to open the clipboard on Windows
    Fixed crash at shutdown when using the D3D11 renderer
    Fixed setting the viewport when using the D3D12 renderer
    Fixed crash using SDL event functions before initializing SDL on Windows
    Fixed Xbox controller trigger motion events on Windows
    Fixed Xbox controller rumble in the background on Windows
    Added the hint SDL_HINT_JOYSTICK_WGI to control whether to use
     Windows.Gaming.Input for controllers
    Fixed 8BitDo gamepad mapping when in XInput mode on Linux
    Fixed controller lockup initializing some unofficial PS4 replica controllers
    Fixed video initialization on headless Linux systems using VNC
    Fixed large mouse jump when changing relative mouse mode on macOS
    Fixed hardware keyboard text input on iPadOS

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agosamba: Update to version 4.19.0
Adolf Belka [Thu, 7 Sep 2023 17:30:14 +0000 (19:30 +0200)] 
samba: Update to version 4.19.0

- Update from version 2.18.5 to 2.19.0
- Update of rootfile for x86_64
- Changelog is too large to include here
    4.19.0
See the WHATSNEW.txt file in the soiurce tarball
    4.18.6
   * BUG 15420: reply_sesssetup_and_X() can dereference uninitialized tmp
pointer.
   * BUG 15430: Missing return in reply_exit_done().
   * BUG 15289: post-exec password redaction for samba-tool is more reliable for
fully random passwords as it no longer uses regular expressions
containing the password value itself.
   * BUG 9959: Windows client join fails if a second container CN=System exists
somewhere.
   * BUG 15342: Spotlight sometimes returns no results on latest macOS.
   * BUG 15417: Renaming results in NT_STATUS_SHARING_VIOLATION if previously
attempted to remove the destination.
   * BUG 15427: Spotlight results return wrong date in result list.
   * BUG 15414: "net offlinejoin provision" does not work as non-root user.
   * BUG 15400: rpcserver no longer accepts double backslash in dfs pathname.
   * BUG 15433: cm_prepare_connection() calls close(fd) for the second time.
   * BUG 15346: 2-3min delays at reconnect with smb2_validate_sequence_number:
bad message_id 2.
   * BUG 15441: samba-tool ntacl get segfault if aio_pthread appended.
   * BUG 15446: DCERPC_PKT_CO_CANCEL and DCERPC_PKT_ORPHANED can't be parsed.
   * BUG 15390: Python tarfile extraction needs change to avoid a warning
(CVE-2007-4559 mitigation).
   * BUG 15435: Regression DFS not working with widelinks = true.
   * BUG 9959: Windows client join fails if a second container CN=System exists
somewhere.
   * BUG 15441: samba-tool ntacl get segfault if aio_pthread appended.
   * BUG 15449: mdssvc: Do an early talloc_free() in _mdssvc_open().

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocore180: Ship procps
Michael Tremer [Tue, 12 Sep 2023 16:19:13 +0000 (16:19 +0000)] 
core180: Ship procps

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoprocps: Update to version v4.0.4
Adolf Belka [Thu, 7 Sep 2023 17:30:13 +0000 (19:30 +0200)] 
procps: Update to version v4.0.4

- Update from version v4.0.3 to v4.0.4
- Update of rootfile
- Removal of patch to fix build failures with gettext-0.22 as this has been incorporated
   into the source tarball.
- Changelog
    procps-ng-4.0.4
  * library (API & ABI unchanged)
    increment revision: 0:2:0
    tolerates all potential 'cpuinfo' formats              issue #272
    restore the proper main thread tics valuations         issue #280
    Remove myself from proc count                          merge #193
    Refactor the escape code                               Debian #1035649
  * free: -L one line output                               issue #156
  * pgrep: Use only --signal option for signal             Debian #1031765
  * pgrep: suppress >15 warning if using regex             Debian #1037450
  * pidof: Add -t option to show threads                   merge #190
  * pmap: Reset totals between processes                   issue #298
  * ps: fixed missing or corrupted fields with -m option   Debian #1036631, issue #279
  * ps: Fix buffer overflow in -C option CVE-2023-4016     Debian #1042887, issue #297
  * ps: Add --signames to show signal names in masks       merge #98
  * sysctl: -N show names                                  merge #198, RH #2222056
  * tests: dont compare floats with ==                     issue #271
  * tests: skips tests if maps missing                     merge #197, Gentoo #583036
  * top: bad command line arguments yield EXIT_FAILURE     issue #273
  * top: avoids keystroke induced '%Cpu' distortions
  * top: includes VM (guest) tics in 'system' overhead     issue #274
  * top: includes VM (guest) tics with '!' toggle          merge #179
  * top: lessen summary cpu distortions on first display   merge #180
  * top: better backspace handling wtth line edits         issue #278
  * vmstat: Print guest time in non-wide mode
  * w: Fix musl UT_HOSTSIZE issue
  * watch: Add color support at compile time               issue #296

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>