]> git.ipfire.org Git - people/ms/ipfire-2.x.git/log
people/ms/ipfire-2.x.git
8 months agosuricata: Enable scanning IPsec packets suricata
Michael Tremer [Tue, 24 Sep 2024 08:33:22 +0000 (10:33 +0200)] 
suricata: Enable scanning IPsec packets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Add UI to enable scanning on IPsec
Michael Tremer [Sun, 22 Sep 2024 15:22:48 +0000 (17:22 +0200)] 
ids.cgi: Add UI to enable scanning on IPsec

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Add support for zones having multiple interfaces
Michael Tremer [Sun, 22 Sep 2024 15:08:03 +0000 (17:08 +0200)] 
suricata: Add support for zones having multiple interfaces

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Split marking packets off into a separate chain
Michael Tremer [Sun, 22 Sep 2024 15:06:21 +0000 (17:06 +0200)] 
suricata: Split marking packets off into a separate chain

This is required so that we can have different policies for incoming and
outgoing packets.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Clear IPS bits after use
Michael Tremer [Sat, 21 Sep 2024 15:55:09 +0000 (17:55 +0200)] 
suricata: Clear IPS bits after use

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Always count the whitelisted packets
Michael Tremer [Sat, 21 Sep 2024 10:39:32 +0000 (12:39 +0200)] 
suricata: Always count the whitelisted packets

Even if there are no rules, if this does not exist, collectd will be
unhappy and we cannot generate the graph.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Don't show the graph if there is no RRD data
Michael Tremer [Sat, 21 Sep 2024 10:37:09 +0000 (12:37 +0200)] 
ids.cgi: Don't show the graph if there is no RRD data

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Fix empty states of tables
Michael Tremer [Sat, 21 Sep 2024 10:34:56 +0000 (12:34 +0200)] 
ids.cgi: Fix empty states of tables

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agographs.pl: Fix suricata graph name
Michael Tremer [Sat, 21 Sep 2024 10:28:50 +0000 (12:28 +0200)] 
graphs.pl: Fix suricata graph name

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agofirewall: Move the IPS back to INPUT/FORWARD/OUTPUT
Michael Tremer [Tue, 17 Sep 2024 02:04:07 +0000 (04:04 +0200)] 
firewall: Move the IPS back to INPUT/FORWARD/OUTPUT

We cannot use the PREROUTING/POSTROUTING chains here because Suricata
will fail to track NAT-ed connections.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Track whitelisted traffic and add it to the IPS graph
Michael Tremer [Fri, 13 Sep 2024 08:12:30 +0000 (10:12 +0200)] 
suricata: Track whitelisted traffic and add it to the IPS graph

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoIPS: Ada a graph that shows the IPS throughput
Michael Tremer [Tue, 10 Sep 2024 22:43:59 +0000 (00:43 +0200)] 
IPS: Ada a graph that shows the IPS throughput

This graph is split into three parts. One shows bypassed packets, the
next one shows the actually scanned packets and lastly we show the total
throughput.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Collect metrics on scanned and bypassed packets
Michael Tremer [Tue, 10 Sep 2024 21:45:53 +0000 (23:45 +0200)] 
suricata: Collect metrics on scanned and bypassed packets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Force Suricata to write a PID file again
Michael Tremer [Tue, 10 Sep 2024 21:23:38 +0000 (23:23 +0200)] 
suricata: Force Suricata to write a PID file again

The PID file does not get written when Suricata is not being started in
daemon mode and therefore we need to pass it as a command line
parameter.

The initscript should not deal with the PID file when starting but needs
it to terminate the process and to check the process status.

The web UI can use the PID file again.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Fix syntax error in watcher script
Michael Tremer [Tue, 10 Sep 2024 21:23:18 +0000 (23:23 +0200)] 
suricata: Fix syntax error in watcher script

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Remove debugging code
Michael Tremer [Tue, 10 Sep 2024 21:17:20 +0000 (23:17 +0200)] 
suricata: Remove debugging code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agofirewall: Move the IPS after the NAT marking
Michael Tremer [Tue, 10 Sep 2024 09:37:38 +0000 (11:37 +0200)] 
firewall: Move the IPS after the NAT marking

This is because we might still land in the scenario where Suricata
crashes and NFQUEUE will simply ACCEPT all packets which will terminate
the processing of the mangle table.

Therefore the NFQUEUE rule should be the last one so that we never skip
any of the other processing.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Fix detection for the Suricata process
Michael Tremer [Tue, 10 Sep 2024 09:35:18 +0000 (11:35 +0200)] 
ids.cgi: Fix detection for the Suricata process

We don't seem to have a PID file any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Remove box from the top section
Michael Tremer [Tue, 10 Sep 2024 09:24:01 +0000 (11:24 +0200)] 
ids.cgi: Remove box from the top section

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Sort whitelist entries
Michael Tremer [Tue, 10 Sep 2024 09:22:59 +0000 (11:22 +0200)] 
ids.cgi: Sort whitelist entries

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Use new-style table for whitelist entries
Michael Tremer [Tue, 10 Sep 2024 09:17:33 +0000 (11:17 +0200)] 
ids.cgi: Use new-style table for whitelist entries

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Use new style tables for rulesets
Michael Tremer [Tue, 10 Sep 2024 09:09:58 +0000 (11:09 +0200)] 
ids.cgi: Use new style tables for rulesets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Fix broken spacing in the settings section
Michael Tremer [Tue, 10 Sep 2024 09:01:52 +0000 (11:01 +0200)] 
suricata: Fix broken spacing in the settings section

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Add option to scan WireGuard
Michael Tremer [Tue, 10 Sep 2024 08:50:15 +0000 (10:50 +0200)] 
suricata: Add option to scan WireGuard

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Don't load /var/ipfire/ethernet/settings
Michael Tremer [Tue, 10 Sep 2024 08:42:11 +0000 (10:42 +0200)] 
suricata: Don't load /var/ipfire/ethernet/settings

We no longer need this directly as it is being pulled in from the
network functions.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Remove superfluous bits from the initscript
Michael Tremer [Tue, 10 Sep 2024 08:41:19 +0000 (10:41 +0200)] 
suricata: Remove superfluous bits from the initscript

I don't know why these hacks are here.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Restore the interface selection
Michael Tremer [Tue, 10 Sep 2024 08:40:28 +0000 (10:40 +0200)] 
suricata: Restore the interface selection

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Start the new watcher in the background
Michael Tremer [Mon, 9 Sep 2024 21:08:11 +0000 (23:08 +0200)] 
suricata: Start the new watcher in the background

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Add a watcher to restart on unexpected termination
Michael Tremer [Mon, 9 Sep 2024 18:09:22 +0000 (20:09 +0200)] 
suricata: Add a watcher to restart on unexpected termination

This patch adds a watcher process that will restart suricata when it is
being killed by SIGKILL (e.g. by the OOM killer) or after a SEGV.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Be more efficient with marks
Michael Tremer [Mon, 9 Sep 2024 17:38:47 +0000 (19:38 +0200)] 
suricata: Be more efficient with marks

This patch changes that we introduce a new mark which allows us to
identify any newly bypassed connections and permanently store the bypass
flag.

We also only restore marks from the connection tracking when a packet
has no marks, yet.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Replace removed CPU count function
Michael Tremer [Mon, 9 Sep 2024 17:37:56 +0000 (19:37 +0200)] 
suricata: Replace removed CPU count function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Add whitelist to iptables
Michael Tremer [Mon, 9 Sep 2024 10:46:23 +0000 (12:46 +0200)] 
suricata: Add whitelist to iptables

This allows us to workaround better against any problems in Suricata
because we never send any whitelisted packets to the IPS in the first
place.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Remove some unused constants
Michael Tremer [Mon, 9 Sep 2024 09:58:50 +0000 (11:58 +0200)] 
suricata: Remove some unused constants

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Use getconf to determine the number of processors
Michael Tremer [Mon, 9 Sep 2024 09:55:34 +0000 (11:55 +0200)] 
suricata: Use getconf to determine the number of processors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoinitscripts: Fix bash function definitions in suricata
Michael Tremer [Mon, 9 Sep 2024 09:54:04 +0000 (11:54 +0200)] 
initscripts: Fix bash function definitions in suricata

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Move the IPS into the mangle table
Michael Tremer [Mon, 9 Sep 2024 09:49:30 +0000 (11:49 +0200)] 
suricata: Move the IPS into the mangle table

This should make the IPS more efficient, we should have fewer rules and
the IPS will now sit at the edge of the networking stack as it will see
packets immediately when they come and and just before they leave.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship ca-certificates
Michael Tremer [Fri, 20 Sep 2024 13:07:00 +0000 (13:07 +0000)] 
core190: Ship ca-certificates

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoca-certificates: Remove distrusted root CA operated by "e-commerce monitoring GmbH"
Peter Müller [Fri, 20 Sep 2024 12:32:45 +0000 (12:32 +0000)] 
ca-certificates: Remove distrusted root CA operated by "e-commerce monitoring GmbH"

See: https://bugzilla.mozilla.org/show_bug.cgi?id=1897457

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoca-certificates: Update root CA certificates bundle
Peter Müller [Fri, 20 Sep 2024 12:32:44 +0000 (12:32 +0000)] 
ca-certificates: Update root CA certificates bundle

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship changed network-functions.pl & index.cgi
Michael Tremer [Fri, 20 Sep 2024 12:40:19 +0000 (12:40 +0000)] 
core190: Ship changed network-functions.pl & index.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agowlanap.cgi: Fix copying configuration
Michael Tremer [Fri, 20 Sep 2024 12:12:07 +0000 (14:12 +0200)] 
wlanap.cgi: Fix copying configuration

This allows to uncheck checkboxes again.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agowlanap.cgi: Change broadcast SSID to hide SSID
Michael Tremer [Fri, 20 Sep 2024 11:55:40 +0000 (13:55 +0200)] 
wlanap.cgi: Change broadcast SSID to hide SSID

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoindex.cgi: Update wireless functions to use iw instead of iwconfig
Michael Tremer [Fri, 20 Sep 2024 11:42:05 +0000 (13:42 +0200)] 
index.cgi: Update wireless functions to use iw instead of iwconfig

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agowlanap.cgi: Default to channel 0 for ACS
Michael Tremer [Fri, 20 Sep 2024 11:19:10 +0000 (13:19 +0200)] 
wlanap.cgi: Default to channel 0 for ACS

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agowlanap.cgi: Enable Neighbourhood Scan by default
Michael Tremer [Fri, 20 Sep 2024 11:17:59 +0000 (13:17 +0200)] 
wlanap.cgi: Enable Neighbourhood Scan by default

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agowlanap.cgi: Don't try to show status if there is no interface
Michael Tremer [Fri, 20 Sep 2024 11:16:44 +0000 (13:16 +0200)] 
wlanap.cgi: Don't try to show status if there is no interface

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agowlanap.cgi: Correctly show broadcast SSID status
Michael Tremer [Fri, 20 Sep 2024 11:13:41 +0000 (13:13 +0200)] 
wlanap.cgi: Correctly show broadcast SSID status

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agowlanap.cgi: Disable generating Perl warnings
Michael Tremer [Fri, 20 Sep 2024 10:30:03 +0000 (11:30 +0100)] 
wlanap.cgi: Disable generating Perl warnings

Reported-by: Waynie <waynet@ucpix.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoMerge branch 'master' into next
Michael Tremer [Wed, 18 Sep 2024 10:07:13 +0000 (10:07 +0000)] 
Merge branch 'master' into next

8 months agoMerge branch 'core188'
Michael Tremer [Wed, 18 Sep 2024 10:06:54 +0000 (10:06 +0000)] 
Merge branch 'core188'

8 months agoncat: Fix rootfile and bump release
Michael Tremer [Wed, 18 Sep 2024 10:06:24 +0000 (10:06 +0000)] 
ncat: Fix rootfile and bump release

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoninja: Update to version 1.12.1
Adolf Belka [Sun, 15 Sep 2024 16:43:42 +0000 (18:43 +0200)] 
ninja: Update to version 1.12.1

- Update from version 1.11.1 to 1.12.1
- Update of rootfile not required
- Changelog
    1.12.1
Bugfixes:
    Screen updates extremely slow on Windows #2435
    Dry run error if the build directory does not exist #2431
    New critical path scheduler performance improvements #2443
    1.12.0
    Critical path scheduler which orders the jobs by their runtime history #2177
     This may break your build if you haven't specified your dependencies
     correctly.
    Resiliency against inputs changing during the build #1943
    Reliable ETA and progress percentage in status #1963
    Support for path lengths over 260 characters on Windows #1900
    ARM binaries are now available for Windows and Linux, too
    Several bugfixes

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agonginx: Update to version 1.26.2
Adolf Belka [Sun, 15 Sep 2024 16:43:41 +0000 (18:43 +0200)] 
nginx: Update to version 1.26.2

- Update from version 1.26.1 to 1.26.2
- Update of rootfile not required
- CVE Fix in this version
- Changelog
    1.26.2
    *) Security: processing of a specially crafted mp4 file by the
       ngx_http_mp4_module might cause a worker process crash
       (CVE-2024-7347).
       Thanks to Nils Bars.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agonfs: Update to version 2.7.1
Adolf Belka [Sun, 15 Sep 2024 16:43:40 +0000 (18:43 +0200)] 
nfs: Update to version 2.7.1

- Update from version 2.6.4 to 2.7.1
- Update of rootfile
- Changelog is a list of all the commits and it is made available in the file
   2.7.1-Changelog in the sourceforge site
    https://sourceforge.net/projects/nfs/files/nfs-utils/2.7.1/

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship nettle
Michael Tremer [Mon, 16 Sep 2024 17:08:56 +0000 (17:08 +0000)] 
core190: Ship nettle

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agonettle: Update to version 3.10
Adolf Belka [Sun, 15 Sep 2024 16:43:39 +0000 (18:43 +0200)] 
nettle: Update to version 3.10

- Update from version 3.9 to 3.10
- Update of rootfile
- Changelog
    3.10
This is a maintenance release, including a few each of bug
 fixes, new features and optimizations.
The new version is intended to be fully source and binary
 compatible with Nettle-3.6. The shared library names are
 libnettle.so.8.9 and libhogweed.so.6.9, with sonames
 libnettle.so.8 and libhogweed.so.6.
Bug fixes:
* Add missing hash functions sha512_224 and sha512_256 to the
  nettle_get_hashes() list. The name values in the
  corresponding nettle_hash structs also changed to use
  underscore instead of dash, for consistency.
* Fix a few cases of formally undefined calls to memcpy(dst,
  NULL, 0), resulting from valid calls to, e.g.,
  sha256_update(ctx, 0, NULL).
New features:
* Support RSA-OAEP encryption. Contributed by Nicolas Mora and
  Daiki Ueno.
* New function sha3_256_shake_output, new functions
  sha3_128_init, sha3_128_update, sha3_128_shake,
  sha3_128_shake_output. Contributed by Daiki Ueno.
* Added DRBG-CTR with AES256, contributed by Simon Josefsson.
Optimizations:
* New combined gcm-aes assembly for powerpc64, contributed by
  Danny Tsen.
* New sha256 assembly for powerpc64, contributed by Eric
          Richter.
* Improved performance for powerpc64 AES decrypt, by skipping
  subkey transformations that don't suit the vncipher
  instructions.
* Add arm64 CPU feature detection for Android and for Apple systems,
  contributed by Foolbar and Tim Kosse, prespectively.
Miscellaneous:
* New tests for side-channel silence, based on valgrind.
* Delete all md5 assembly code. Delete all sparc32 assembly code.
    3.9.1
This is a bugfix release, fixing a few bugs reported for
 Nettle-3.9. The bug in the new OCB code may be exploitable for
 denial of service or worse, since triggering it leads to
 memory corruption. Upgrading from Nettle-3.9 to the new
 version is strongly recommended.
The new version is intended to be fully source and binary
 compatible with Nettle-3.6. The shared library names are
 libnettle.so.8.8 and libhogweed.so.6.8, with sonames
 libnettle.so.8 and libhogweed.so.6.
Bug fixes:
* Fix OCB loop for processing messages of size 272 bytes or
  larger. Reported and fixed by Jussi Kivilinna.
* Fix alignment bug in the new x86_64 non-pclmul assembly
  implementation of ghash. Reported by Henrik Grubbström.
* Fix build-time memory leak in eccdata. Reported by Noah
  Watkins.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agonetatalk: Update to version 3.2.8
Adolf Belka [Sun, 15 Sep 2024 16:43:38 +0000 (18:43 +0200)] 
netatalk: Update to version 3.2.8

- Update from version 3.2.5 to 3.2.8
- Update of rootfile not required
- Changelog
    3.2.8
* UPD: Bump bundled WolfSSL library to stable version 5.7.2, GitHub #1433
       Resolves CVE-2024-1544, CVE-2024-5288, CVE-2024-5991, CVE-2024-5814
* UPD: Revert local modifications to the bundled WolfSSL library, GitHub #1432
* FIX: Enable building against a shared WolfSSL 5.7.2 library, GitHub #1421
* FIX: meson: Do not define rpath with a linker argument, GitHub #1443
    3.2.7
* NEW: meson: Ability to control the run-time linker path config file,
       GitHub #1396
       New boolean Meson option: `-Dwith-ldsoconf'
       When set to false, do not create /etc/ld.so.conf.d/libatalk.conf
* BREAKING: meson: Enable rpath by default, while disabling ldsoconf
       by default, GitHub #1417
* FIX: meson: Allow ldconfig to run unprivileged during setup, GitHub #1407
* FIX: docker: Add entry script step to clean up any residual lock file,
       GitHub #1412
* NEW: docker: Ship a docker-compose.yml sample file, GitHub #1414
* NEW: docker: Check for AFP_USER and AFP_PASS when launching container,
       GitHub #1415
    3.2.6
* BREAKING: meson: Refresh the dynamic linker cache when installing on Linux,
       GitHub #1386
       This fixes the issue of the libatalk.so shared library not being found
       when configuring with a non-standard library path, e.g. /usr/local/lib .
       New Meson option `-Dwith-install-hooks' controls this behavior,
       allowing you to disable the install hook in non-privileged environments.
       On Linux systems with glibc, we now install the following config file:
       /etc/ld.so.conf.d/libatalk.conf
* BREAKING: meson: Introduce option to control which manual l10n to build,
       GitHub #1390
       New Meson option `-Dwith-manual-l10n' default to empty, can be set to
       `ja' to build the Japanese localization of the html manual.
       This changes the default behavior of the build system
       to not build the Japanese html manual by default.
* BREAKING: meson: Install htmldocs into htmldocs subdir, GitHub #1391
       Previously, the html manual files were installed into the root
       of the netatalk doc directory. Now they are put under netatalk/htmldocs .
* BREAKING: meson: Use modern linker flag for rpath, remove dtags override,
       GitHub #1384
       When configuring with `-Dwith-rpath=true' the linker flags
       `-Wl,-rpath,' will be prepended instead of the old `-R' flag.
       On Linux platforms, we no longer prepend `-Wl,--enable-new-dtags',
       either.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship LVM2
Michael Tremer [Mon, 16 Sep 2024 17:08:17 +0000 (17:08 +0000)] 
core190: Ship LVM2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agolvm2: Update to version 2.03.26
Adolf Belka [Sun, 15 Sep 2024 16:43:37 +0000 (18:43 +0200)] 
lvm2: Update to version 2.03.26

- Update from version 2.03.23 to 2.03.26
- Update of rootfile not required
- Changelog
    2.03.26
  Fix internal error reported by pvmove on a VG with single PV.
  Also accept --mknodes --refresh for vgscan.
  Fix vgmknodes --refresh to wait for udev before checking /dev content.
  Use log/report_command_log=1 config setting by default for JSON output format.
  Fix unreleased memory pools on RAID lvextend.
  Add --integritysettings option to manipuilate dm-integrity settings.
    2.03.25
  Utilize more radix_tree instead of dm_hash and btree.
  Refactor DM uuid caching from device_mapper directory.
  Enhance checking for DM uuid device.
  Fix lvm shell command completion on tab key (2.03.24).
  Avoid lockd_vg call to lvmlockd for local VGs.
  Allow forced change of locktype from none.
  Handle OPTIONS defined in /etc/sysconfig/lvmlockd.
    2.03.24
  Lvconvert supports VDO options for thin-pool with vdo conversion.
  Improve placement to .data.rel.ro and .rodata sections.
  Fix support for -y and -W when creating thinpool with vdo.
  Bettter support for runtime valgrind detection.
  Allow command interruption when communicating with dmeventd.
  Fix resize of VDO volume used for thin pool data volume.
  Use -Wl,-z,now and -Wl,--as-needed for compilation by default.
  Require 3.7 as minimal version for sanlock.
  Share code for closing opened desriptors on program startup.
  Fix memleak in lvmcache.
  Add configure --with-default-event-activation=ON setting.
  Fix return value from reporter function when hitting internal error.
  Skip checking of pools for lvremove and vgremove commands.
  VDO modprobes dm-vdo for 6.9 kernel and kvdo for older kernel version.
  Fix lvs reporting for VDO volumes with new upstream kernel driver.
  Don't import DM_UDEV_DISABLE_OTHER_RULES_FLAG in LVM rules, DM rules cover it.
  Fix table line generation for cache snapshots using cachevol.
  Enhance lvconvert support for external origins stacking.
  When swapping LV names also swap properties like hostname, time and data.
  Fix removal of stacked external origins.
  Lock filesystem when converting volume to read-only external origin.
  Support external origin between different thin-pool.
  Improve validation of acceptable volumes for external origins.
  Reduce amount of preloaded devices for complex device trees.
  Avoid logging problems from monitoring snapshots with inactive origins.
  Check for cache policy module presence in kernel's builtin modules file.
  Add configure --with-modulesdir to select kernel modules directory.
  Support creation of thin-pool with VDO use for its data volume.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship logrotate
Michael Tremer [Mon, 16 Sep 2024 17:07:56 +0000 (17:07 +0000)] 
core190: Ship logrotate

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agologrotate: Update to version 3.22.0
Adolf Belka [Sun, 15 Sep 2024 16:43:36 +0000 (18:43 +0200)] 
logrotate: Update to version 3.22.0

- Update from version 3.21.0 to 3.22.0
- Update for rootfile not required
- autogen.sh step not required as configure file has been available in source tarball
   since version 3.10.0 in 2016
- xz version of logrotate available so changed to that.
- Changelog
   3.22.0
 - fix calculations for time differences (#516)
 - fix extension for zip compression (#545)
 - fix omitted copy for logs with `mail` and `rotate 0` (#553)
 - fix wrongly skipping copy with `copytruncate` and `compress` (#553)
 - fix ambiguities between `mode`, `UID` and `GID` parsing when not specifying all options (#575)
 - fix hang when encountering a named pipe (#607)
 - on prerotate failure logs are preserved instead of rotated (#506)
 - in case a configuration file was skipped due to unsafe permissions the
   exit status after rotattion will be `1` (#508)
 - the state is no longer written to non-regular files (#529)
 - the systemd timer now correctly utilizes load distribution (#574)
 - add dateformat specifier `%z` for timezone offsets (#594)
 - change default mode for created `olddir` directories to `0755` (#560)
 - support quoted user and group names in `su`, `create`, and `createolddir` (#575)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship lmdb
Michael Tremer [Mon, 16 Sep 2024 17:07:33 +0000 (17:07 +0000)] 
core190: Ship lmdb

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agolmdb: Update to version 0.9.33
Adolf Belka [Sun, 15 Sep 2024 16:43:35 +0000 (18:43 +0200)] 
lmdb: Update to version 0.9.33

- Update from 0.9.31 to 0.9.33
- Update of rootfile not required
- Changelog
    0.9.33
ITS#9037 mdb_page_search: fix error code when DBI record is missing
ITS#10198 For win32, stop passing ignored parameter
ITS#10212 Fix meta page usage by read only tools
    0.9.32
ITS#9378 - Add ability to replay log and replay log tool
ITS#10095 - partial revert of ITS#9278. The patch was incorrect and introduced numerous race conditions.
ITS#10125 - mdb_load: fix cursor reinit in Append mode
ITS#10137 - Allow users to define MDB_IDL_LOGN

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship libpng
Michael Tremer [Mon, 16 Sep 2024 17:07:07 +0000 (17:07 +0000)] 
core190: Ship libpng

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agolibpng: Update to version 1.6.44
Adolf Belka [Sun, 15 Sep 2024 16:43:34 +0000 (18:43 +0200)] 
libpng: Update to version 1.6.44

- Update from version 1.6.42 to 1.6.44
- Update of rootfile
- Changelog
    1.6.44
  Hardened calculations in chroma handling to prevent overflows, and
    relaxed a constraint in cHRM validation to accomodate the standard
    ACES AP1 set of color primaries.
    (Contributed by John Bowler)
  Removed the ASM implementation of ARM Neon optimizations and updated
    the build accordingly. Only the remaining C implementation shall be
    used from now on, thus ensuring the support of the PAC/BTI security
    features on ARM64.
    (Contributed by Ross Burton and John Bowler)
  Fixed the pickup of the PNG_HARDWARE_OPTIMIZATIONS option in the
    CMake build on FreeBSD/amd64. This is an important performance fix
    on this platform.
  Applied various fixes and improvements to the CMake build.
    (Contributed by Eric Riff, Benjamin Buch and Erik Scholz)
  Added fuzzing targets for the simplified read API.
    (Contributed by Mikhail Khachayants)
  Fixed a build error involving pngtest.c under a custom config.
    This was a regression introduced in a code cleanup in libpng-1.6.43.
    (Contributed by Ben Wagner)
  Fixed and improved the config files for AppVeyor CI and Travis CI.
    1.6.43
  Fixed the row width check in png_check_IHDR().
    This corrected a bug that was specific to the 16-bit platforms,
    and removed a spurious compiler warning from the 64-bit builds.
    (Reported by Jacek Caban; fixed by John Bowler)
  Added eXIf chunk support to the push-mode reader in pngpread.c.
    (Contributed by Chris Blume)
  Added contrib/pngexif for the benefit of the users who would like
    to inspect the content of eXIf chunks.
  Added contrib/conftest/basic.dfa, a basic build-time configuration.
    (Contributed by John Bowler)
  Fixed a preprocessor condition in pngread.c that broke build-time
    configurations like contrib/conftest/pngcp.dfa.
    (Contributed by John Bowler)
  Added CMake build support for LoongArch LSX.
    (Contributed by GuXiWei)
  Fixed a CMake build error that occurred under a peculiar state of the
    dependency tree. This was a regression introduced in libpng-1.6.41.
    (Contributed by Dan Rosser)
  Marked the installed libpng headers as system headers in CMake.
    (Contributed by Benjamin Buch)
  Updated the build support for RISCOS.
    (Contributed by Cameron Cawley)
  Updated the makefiles to allow cross-platform builds to initialize
    conventional make variables like AR and ARFLAGS.
  Added various improvements to the CI scripts in areas like version
    consistency verification and text linting.
  Added version consistency verification to pngtest.c also.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoperl-JSON: removal of module as it is now in the perl core modules
Adolf Belka [Sat, 14 Sep 2024 15:28:31 +0000 (17:28 +0200)] 
perl-JSON: removal of module as it is now in the perl core modules

- Used in the samba addon.
- With the old separate module removed samba still successfully built, installed and was
   able to be run from the WUI.

Fixes: bug13640
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>
8 months agoperl-MIME-Base64: removal of module as it is now in the perl core modules
Adolf Belka [Sat, 14 Sep 2024 15:28:30 +0000 (17:28 +0200)] 
perl-MIME-Base64: removal of module as it is now in the perl core modules

- Used by the git addon.
- With the old separate module removed git still successfully built, installed and was
   able to be run, cloning the ipfire git repo, changing to next, modifying a file and
   the running a commit with the change.

Fixes: bug13640
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>
8 months agoperl-Digest-HMAC: removal of module as it is now in the perl core modules
Adolf Belka [Sat, 14 Sep 2024 15:28:29 +0000 (17:28 +0200)] 
perl-Digest-HMAC: removal of module as it is now in the perl core modules

- Used in install-ipfire.sh script that is run by the install of vdradmin.
- With the old separate module removed vdradmin still successfully built and installed.

Fixes: bug13640
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>
8 months agoperl-Compress-Zlib: removal of module as it is now in the perl core modules
Adolf Belka [Sat, 14 Sep 2024 15:28:28 +0000 (17:28 +0200)] 
perl-Compress-Zlib: removal of module as it is now in the perl core modules

- Used in install-ipfire.sh script that is run by the install of vdradmin.
- With the old separate module removed vdradmin still successfully built and installed.

Fixes: bug13640
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>
8 months agoperl-Digest-SHA1: removal of module as it is now in the perl core modules
Adolf Belka [Sat, 14 Sep 2024 15:28:27 +0000 (17:28 +0200)] 
perl-Digest-SHA1: removal of module as it is now in the perl core modules

- Not referenced in the IPFire git repo so looks like not actively used

Fixes: bug13640
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoperl-Digest: removal of module as it is now in the perl core modules
Adolf Belka [Sat, 14 Sep 2024 15:28:26 +0000 (17:28 +0200)] 
perl-Digest: removal of module as it is now in the perl core modules

- Not referenced in the IPFire git repo so looks like not actively used

Fixes: bug13640
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoperl-Archive-Tar: removal of module as it is now in the perl core modules
Adolf Belka [Sat, 14 Sep 2024 15:28:25 +0000 (17:28 +0200)] 
perl-Archive-Tar: removal of module as it is now in the perl core modules

- Not referenced in the IPFire git repo so looks like not actively used

Fixes: bug13640
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agomake.sh: Fixes bug13640 - removal of perl modules that are now core modules
Adolf Belka [Sat, 14 Sep 2024 15:28:24 +0000 (17:28 +0200)] 
make.sh: Fixes bug13640 - removal of perl modules that are now core modules

- Removed
perl-Archive-Tar
perl-Compress-Zlib
perl-Digest
perl-Digest-HMAC
perl-Digest-SHA1
perl-JSON
perl-MIME-Base64
- Tested out on a vm system and no issues identified.

Fixes: bug13640
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>
8 months agocore190: Ship protobuf and protobuf-c
Michael Tremer [Mon, 16 Sep 2024 17:04:45 +0000 (17:04 +0000)] 
core190: Ship protobuf and protobuf-c

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoprotobuf-c: Update of protobuf removed SYNTAX_PROTO3 used by protobuf-c-1.5.0
Adolf Belka [Fri, 13 Sep 2024 16:26:11 +0000 (18:26 +0200)] 
protobuf-c: Update of protobuf removed SYNTAX_PROTO3 used by protobuf-c-1.5.0

- Addition of patch to enable protobuf-c to be built with protobuf version > 26
- When protobuf-c is upgraded to version 1.5.1 it will include this patch

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoprotobuf: Update to version 28.1
Adolf Belka [Fri, 13 Sep 2024 16:26:10 +0000 (18:26 +0200)] 
protobuf: Update to version 28.1

- Update from version 25.2 to 28.1
- Update of rootfile
- Changelog is too large to include here. Details can be found at
   https://github.com/protocolbuffers/protobuf/releases

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship texinfo
Michael Tremer [Mon, 16 Sep 2024 17:03:34 +0000 (17:03 +0000)] 
core190: Ship texinfo

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agotexinfo: Update to version 7.1.1
Adolf Belka [Fri, 13 Sep 2024 16:25:20 +0000 (18:25 +0200)] 
texinfo: Update to version 7.1.1

- Update from version 7.1 to 7.1.1
- Update of rootfile not required
- Changelog
    7.1.1
* texi2any
  . fix potential crash when @include is used inside a table
  . do not complain about presence of @anchor inside @item in a table
  . C source files that are generated from *.xs files are no no longer
    distributed, so xsubpp from Perl is needed to build XS modules.
  . fix bug that led to memory alignment error on SPARC
  . performance improvement and fixes for MinGW
  . test failures due to floating point rounding error fixed (observed
    on IBM POWER9 processor)
* info
  . crash when setting style to invalid value fixed
  . potential call of memcpy with null argument fixed

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agonano: Update to version 8.2
Adolf Belka [Fri, 13 Sep 2024 16:25:18 +0000 (18:25 +0200)] 
nano: Update to version 8.2

- Update from version 8.1 to 8.2
- Update of rootfile not required
- Changelog
    8.2
• At a Yes-No prompt, beside Y and the localized initial for "Yes",
  also ^Y is accepted.  Similarly, ^N for "No", and ^A for "All".
• A text-highlighting bug with Alt+Home/Alt+End is fixed.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship liburcu
Michael Tremer [Mon, 16 Sep 2024 17:03:08 +0000 (17:03 +0000)] 
core190: Ship liburcu

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoliburcu: Update to version 0.14.1
Adolf Belka [Fri, 13 Sep 2024 16:25:17 +0000 (18:25 +0200)] 
liburcu: Update to version 0.14.1

- Update from version 0.14.0 to 0.14.1
- Update of rootfile
- Changelog
    0.14.1
* Fix: missing typename in URCU_FORCE_CAST
* Allow building with GCC >= 13.3 on RISC-V
* pointer.h: Fix the rcu_cmpxchg_pointer documentation
* Adjust shell script to allow Bash in other locations
* fix: handle EINTR correctly in get_cpu_mask_from_sysfs
* Relicense src/compat-smp.h to MIT
* ppc.h: use mftb on ppc
* Fix: allow clang to build liburcu on RISC-V
* Fix -Walloc-size
* urcu/uatomic/riscv: Mark RISC-V as broken
* Fix: urcu-bp: misaligned reader accesses
* LoongArch: Document that byte and short atomics are implemented with LL/SC
* Add LoongArch support
* tests/regression/rcutorture: Add wait state
* urcu-wait: Initialize node in URCU_WAIT_NODE_INIT
* Fix: urcu-wait: add missing futex.h include
* Adjust shell scripts to allow Bash in other locations
* Add support for OpenBSD
* Revert "compiler.h: Introduce caa_unqual_scalar_typeof"
* rculfhash: Use caa_container_of_check_null in cds_lfht_entry
* compiler.h: Introduce caa_container_of_check_null
* compiler.h: Introduce caa_unqual_scalar_typeof
* Avoid calling caa_container_of on NULL pointer in cds_lfht macros
* Fix: revise urcu_read_lock_update() comment
* Fix: uatomic powerpc comment about lwsync
* fix: aarch64: allow RHEL7 gcc 4.8.5-11
* fix: warning 'noreturn' function does return on ppc
* Fix: use __noreturn__ for C11-compatibility

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship cURL
Michael Tremer [Mon, 16 Sep 2024 17:02:43 +0000 (17:02 +0000)] 
core190: Ship cURL

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocurl: Update to version 8.10.0
Adolf Belka [Fri, 13 Sep 2024 16:25:16 +0000 (18:25 +0200)] 
curl: Update to version 8.10.0

- Update from vesion 8.9.1 to 8.10.0
- Update of rootfile
- In previous versions if libpsl was not found then the build excluded it. Now it needs
   to be explicitly disabled otherwise the build will stop with a warning that it could
   not be found.
- Changelog
    8.10.0
      changes:
 o autotools: add `--enable-windows-unicode` option [103]
 o curl: --help [option] displays documentation for given cmdline option [19]
 o curl: add --skip-existing [54]
 o curl: for -O, use "default" as filename when the URL has none [34]
 o curl: make --rate accept "number of units" [4]
 o curl: make --show-headers the same as --include [6]
 o curl: support --dump-header % to direct to stderr [31]
 o curl: support embedding a CA bundle and --dump-ca-embed [20]
 o curl: support repeated use of the verbose option; -vv etc [35]
 o curl: use libuv for parallel transfers with --test-event [82]
 o getinfo: add CURLINFO_POSTTRANSFER_TIME_T [87]
 o mbedtls: add CURLOPT_TLS13_CIPHERS support [78]
 o rustls: add support for setting TLS version and ciphers [113]
 o vtls: stop offering alpn http/1.1 for http2-prior-knowledge [53]
 o wolfssl: add CURLOPT_TLS13_CIPHERS support [76]
 o wolfssl: add support for ssl cert blob / ssl key blob options [50]
      bugfixes:
 o asyn-thread: stop using GetAddrInfoExW on Windows [241]
 o autotools: fix MS-DOS builds [249]
 o autotools: fix typo in tests/data target [30]
 o aws_sigv4: fix canon order for headers with same prefix [74]
 o bearssl: fix setting tls version [203]
 o bearssl: improve shutdown handling [45]
 o BINDINGS: add zig binding [100]
 o build: add `iphlpapi` lib for libssh on Windows [166]
 o build: add `poll()` detection for cross-builds [244]
 o build: add options to disable SHA-512/256 hash algo [239]
 o build: check OS-native IDN first, then libidn2 [223]
 o build: delete unused `REQUIRE_LIB_DEPS` [226]
 o build: drop unused `NROFF` reference [253]
 o build: drop unused feature-detection code for Apple `poll()` [227]
 o build: generate `buildinfo.txt` for test logs [256]
 o build: improve compiler version detection portability
 o build: make `CURL_FORMAT_CURL_OFF_T[U]` work with mingw-w64 <=7.0.0 [207]
 o build: silence C4232 MSVC warnings in vcpkg ngtcp2 builds [137]
 o build: use -Wno-format-overflow [195]
 o buildconf.bat: fix tool_hugehelp.c generation [173]
 o cf-socket: fix pollset for listening [179]
 o cf-socket: prevent KEEPALIVE_FACTOR being set to 1000 for Windows [185]
 o cfilters: send flush [13]
 o CHANGES: rename to CHANGES.md, no longer generated [40]
 o CI: enable parallel testing in CI builds [18]
 o ci: Update actions/upload-artifact digest to 89ef406 [24]
 o cmake: `Libs.private` improvements [215]
 o cmake: add `CURL_USE_PKGCONFIG` option [138]
 o cmake: add Linux CI job, fix pytest with cmake [71]
 o cmake: add math library when using wolfssl and ngtcp2 [66]
 o cmake: add missing `pkg-config` hints to Find modules [158]
 o cmake: add missing version detection to Find modules [170]
 o cmake: add rustls [116]
 o cmake: add support for versioned symbols option [51]
 o cmake: add wolfSSH support [117]
 o cmake: allow `pkg-config` in more envs [147]
 o cmake: cleanup header paths [59]
 o cmake: default `CURL_DISABLE_LDAPS` to the value of `CURL_DISABLE_LDAP` [231]
 o cmake: delete MSVC warning suppression for tests/server [101]
 o cmake: detect `nghttp2` via `pkg-config`, enable by default [21]
 o cmake: detect and show VCPKG in platform flags [84]
 o cmake: distcheck for files in CMake subdir [9]
 o cmake: drop custom `CMakeOutput.log`/`CMakeError.log` logs [27]
 o cmake: drop libssh CONFIG-style detection [167]
 o cmake: drop no-op `tests/data/CMakeLists.txt` [26]
 o cmake: drop reference to undefined variable [25]
 o cmake: drop unused `HAVE_IDNA_STRERROR` [62]
 o cmake: drop unused internal variable [22]
 o cmake: exclude tests/http/clients builds by default [110]
 o cmake: fix `GSS_VERSION` for Heimdal found via pkg-config [77]
 o cmake: fix `pkg-config`-based detection in `FindGSS.cmake` [94]
 o cmake: fix and tidy up c-ares builds, enable in more CI jobs [156]
 o cmake: fix find rustls [148]
 o cmake: fixup linking libgsasl when detected via CMake-native
 o cmake: honor custom `CMAKE_UNITY_BUILD_BATCH_SIZE` [163]
 o cmake: limit `pkg-config` to UNIX and MSVC+vcpkg by default [188]
 o cmake: limit libidn2 `pkg-config` detection to `UNIX` [109]
 o cmake: migrate dependency detections to Find modules [183]
 o cmake: more small tidy-ups and fixes [80]
 o cmake: rename wolfSSL and zstd config variables to uppercase [151]
 o cmake: respect cflags/libdirs of native pkg-config detections [175]
 o cmake: show CMake platform/compiler flags [63]
 o cmake: show warning if libpsl is not found [154]
 o cmake: sync code between test/example targets [234]
 o cmake: sync up formatting in Find modules [129]
 o cmake: TLS 1.3 warning only for bearssl and sectranp [118]
 o cmake: update `curl-config.cmake.in` template var list
 o cmake: update list of "advanced" variables [119]
 o cmake: use numeric comparison for `HAVE_WIN32_WINNT` [69]
 o cmdline-opts: language fix for expect100-timeout.md and max-time.md [192]
 o configure: delete unused `CURL_DEFINE_UNQUOTED` function [224]
 o configure: delete unused `HAVE_OPENSSL3` macro [225]
 o configure: delete unused `m4/xc-translit.m4` [114]
 o configure: detect AppleIDN [70]
 o configure: fail if PSL is not disabled but not found [46]
 o configure: fix WinIDN builds targeting old Windows [210]
 o configure: remove USE_EXPLICIT_LIB_DEPS [199]
 o configure: replace nonportable grep -o with awk [111]
 o connect: always prefer ipv6 in IP eyeballing [209]
 o connect: limit update IP info [191]
 o cookie.md: try to articulate the two different uses this option has [92]
 o curl: allow 500MB data URL encode strings [38]
 o curl: find curlrc in XDG_CONFIG_HOME without leading dot [186]
 o curl: fix --proxy-pinnedpubkey [91]
 o curl: fix the -w urle.* variables [153]
 o curl: make the progress bar detect terminal width changes [169]
 o curl: warn on unsupported SSL options [106]
 o Curl_rand_bytes to control env override [17]
 o curl_sha512_256: fix symbol collisions with nettle library [131]
 o CURLMOPT_SOCKETFUNCTION.md: expand on the easy argument [216]
 o CURLOPT_XFERINFOFUNCTION: clarify the callback return codes [141]
 o dist: add missing `docs/examples/CMakeLists.txt` [58]
 o dist: add missing `FindNettle.cmake` [11]
 o dist: add missing `lib/optiontable.pl` [115]
 o dist: add missing `test_*.py` scripts [102]
 o dist: drop buildconf [65]
 o dist: fix reproducible build from release tarball [36]
 o dmaketgz: only run 'make distclean' if Makefile exists
 o docs/SSLCERTS: rewrite [174]
 o docs: add description of effect of --location-trusted on cookie [157]
 o docs: document the (weak) random value situation in rustls builds [252]
 o docs: fix some examples in man pages
 o docs: improve cipher options documentation [159]
 o docs: mention "@-" in more places [67]
 o docs: remove ALTSVC.md, HSTS.md, HTTP2.md and PARALLEL-TRANSFERS.md [105]
 o docs: update CIPHERS.md [140]
 o doh-url.md: point out DOH server IP pinning [37]
 o doh: remove redundant checks [242]
 o easy: fix curl_easy_upkeep for shared connection caches [52]
 o escape: allow curl_easy_escape to generate 3*input length output [39]
 o FEATURES.md: fix typo [180]
 o ftp: always offer line end conversions [219]
 o ftp: flush pingpong before response [73]
 o getinfo: return zero for unsupported options (when disabled) [189]
 o GHA/windows: enable MulitSSL in an MSVC job [2]
 o GHA: scan git repository and detect unvetted binary files [3]
 o gnutls/wolfssl: improve error message when certificate fails [125]
 o gnutls: send all data [230]
 o gtls: fix OCSP stapling management [206]
 o haproxy: send though next filter [222]
 o hash: provide asserts to verify API use [96]
 o http/2: simplify eos/blocked handling [90]
 o http2+h3 filters: fix ctx init [142]
 o http2: fix GOAWAY message sent to server [171]
 o http2: improve rate limiting of downloads [33]
 o http2: improved upload eos handling [41]
 o http3.md: mention how the fallback can be h1 or h2 [194]
 o hyper: call Curl_req_set_upload_done() [126]
 o idn: more strictly check AppleIDN errors [98]
 o idn: support non-UTF-8 input under AppleIDN [99]
 o INSTALL.md: MultiSSL and QUIC are mutually exclusive [7]
 o KNOWN_BUGS: "special characers" in URL works with aws-sigv4 [81]
 o krb5: add Linux/macOS CI tests, fix cmake GSS detection [83]
 o krb5: fix `-Wcast-align` [95]
 o lib: add eos flag to send methods [14]
 o lib: avoid macro collisions between wolfSSL and GnuTLS headers [133]
 o lib: convert some debugf()s into traces [8]
 o lib: delete stray undefs for `vsnprintf`, `vsprintf` [152]
 o lib: fix AIX build issues [112]
 o lib: fix building with wolfSSL without DES support [134]
 o lib: make SSPI global symbols use Curl_ prefix [251]
 o lib: prefer `CURL_SHA256_DIGEST_LENGTH` over the unprefixed name [132]
 o lib: remove the final strncpy() calls [240]
 o lib: remove use of RANDOM_FILE [235]
 o libcurl.def: move from / into lib [238]
 o libcurl.pc: add `Cflags.private` [10]
 o libcurl.pc: add reference to `libgsasl` [150]
 o libcurl/docs: expand on redirect following and secrets to other hosts [85]
 o llist: remove direct struct accesses, use only functions [72]
 o Makefile.dist: fix `ca-firefox` target [254]
 o Makefile.mk: fixup enabling libidn2 [61]
 o Makefile: remove 'scripts' duplicate from DIST_SUBDIRS
 o maketgz: accept option to include latest commit hash [5]
 o maketgz: fix RELEASE-TOOLS.md for daily tarballs [243]
 o maketgz: move from / into scripts [237]
 o managen: fix superfluous leading blank line in quoted sections [211]
 o managen: in man output, remove the leading space from examples [198]
 o managen: wordwrap long example lines in ASCII output [143]
 o manpage: ensure a maximum width for the text version [75]
 o max-filesize.md: mention zero disables the limit [93]
 o mbedtls: add more informative logging [162]
 o mbedtls: fix setting tls version [200]
 o mbedtls: no longer use MBEDTLS_SSL_VERIFY_OPTIONAL [181]
 o mime: avoid inifite loop in client reader [155]
 o mk-ca-bundle.pl: include a link to the caextract webpage [68]
 o multi: make the "general" list of easy handles a Curl_llist [97]
 o multi: on socket callback error, remove socket hash entry nonetheless [149]
 o ngtcp2/osslq: remove NULL pointer dereferences [213]
 o ngtcp2: use NGHTTP3 prefix instead of NGTCP2 for errors in h3 callbacks [79]
 o openssl quic: fix memory leak [229]
 o openssl: certinfo errors now fail correctly [250]
 o openssl: fix the data race when sharing an SSL session between threads [221]
 o openssl: improve shutdown handling [44]
 o pingpong: drain the input buffer when reading responses [193]
 o POP3: fix multi-line responses [168]
 o pop3: use the protocol handler ->write_resp [220]
 o printf: fix mingw-w64 format checks [228]
 o progress: ratelimit/progress tweaks [32]
 o pytests: add tests for HEAD requests in all HTTP versions [42]
 o rand: only provide weak random when needed [233]
 o runtests: if DISABLED cannot be read, error out [56]
 o runtests: log ignored but passed tests [130]
 o runtests: remove "has_textaware" [217]
 o rustls: fix setting tls version [202]
 o rustls: make all tests pass [1]
 o schannel: avoid malloc for CAinfo_blob_digest [247]
 o scorecard: tweak request measurements [139]
 o sectransp: fix setting tls version [204]
 o SECURITY: mention OpenSSF best practices gold badge [161]
 o setopt: allow CURLOPT_INTERFACE to be set to NULL [165]
 o setopt: let CURLOPT_ECH set to NULL reset to default [187]
 o setopt: make CURLOPT_TFTP_BLKSIZE accept bad values [184]
 o sha256: fix symbol collision between nettle (GnuTLS) and OpenSSL [135]
 o share: don't reinitialize conncache [214]
 o sigpipe: init the struct so that first apply ignores [49]
 o smb: convert superflous assign into assert [246]
 o smtp: add tracing feature [120]
 o splay: use access functions, add asserts, use Curl_timediff [121]
 o spnego_gssapi: implement TLS channel bindings for openssl [146]
 o src: delete `curlx_m*printf()` aliases [197]
 o src: fix potential macro confusion in cmake unity builds [208]
 o src: namespace symbols clashing with lib [248]
 o src: replace copy of printf mappings with an include [190]
 o ssh: deduplicate SSH backend includes (and fix libssh cmake unity build) [177]
 o system_win32: fix typo
 o test httpd: tweak cipher list [124]
 o test1521: verify setting options to NULL better [182]
 o test1707: output diff more for debugging differences in CI outputs
 o test556: improve robustness [64]
 o test579: improve robustness [60]
 o test587: improve robustness [123]
 o test649: improve robustness [122]
 o test677: improve robustness [47]
 o tests/runner: only allow [!A-Za-z0-9_-] in %if feature names [55]
 o tests: constrain http pytest to tests/http directory [205]
 o tests: don't mangle output if hostname or type unknown
 o tests: ignore QUIT from FTP protocol comparisons [108]
 o tests: provide docs as curldown, not nroff [12]
 o tidy-up: misc build, tests, `lib/macos.c` [172]
 o tidy-up: OS names [57]
 o tool_operhlp: fix  "potentially uninitialized local variable 'pc' used" [48]
 o tool_paramhlp: bump maximum post data size in memory to 16GB [128]
 o transfer: Curl_sendrecv() and event related improvements [164]
 o transfer: remove comments, add asserts [218]
 o transfer: skip EOS read when download done [196]
 o url: dns_entry related improvements [16]
 o url: fix connection reuse for HTTP/2 upgrades [236]
 o urlapi: verify URL *decoded* hostname when set [160]
 o urldata: introduce `data->mid`, a unique identifier inside a multi [127]
 o urldata: remove 'scratch' from the UrlState struct [86]
 o urldata: remove crlf_conversions counter [232]
 o urldata: remove proxy_connect_closed bit [178]
 o verify-release: shell script that verifies a release tarball [29]
 o version: fix shadowing a `libssh.h` symbol [176]
 o vtls: add SSLSUPP_CIPHER_LIST [107]
 o vtls: fix MSVC 'cast truncates constant value' warning [23]
 o vtls: fix static function name collisions between TLS backends [136]
 o vtls: init ssl peer only once [15]
 o websocket: introduce blocking sends [145]
 o wolfssl: avoid taking cached x509 store ref if sslctx already using it [88]
 o wolfssl: fix CURLOPT_SSLVERSION [144]
 o wolfssl: fix setting tls version [201]
 o wolfssl: improve shutdown handling [43]
 o ws: flags to opcodes should ignore CURLWS_CONT flag [104]
 o x509asn1: raise size limit for x509 certification information [28]

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoStart Core Update 190
Michael Tremer [Mon, 16 Sep 2024 17:01:55 +0000 (17:01 +0000)] 
Start Core Update 190

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoMerge branch 'next'
Michael Tremer [Mon, 16 Sep 2024 14:49:58 +0000 (14:49 +0000)] 
Merge branch 'next'

8 months agomake.sh: Run "update-contributors"
Michael Tremer [Mon, 16 Sep 2024 14:48:50 +0000 (14:48 +0000)] 
make.sh: Run "update-contributors"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agomake.sh: Use devtmpfs to initialize /dev
Michael Tremer [Thu, 12 Sep 2024 09:17:05 +0000 (09:17 +0000)] 
make.sh: Use devtmpfs to initialize /dev

If we set up our /dev manually, we fail to deal with dynmically allocated loop
devices which are more common on modern distributions.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agoRevert "make.sh: Bind-mount all loop devices"
Michael Tremer [Thu, 12 Sep 2024 09:07:02 +0000 (09:07 +0000)] 
Revert "make.sh: Bind-mount all loop devices"

This reverts commit 7ad12edfb0d233498410f2afc09753e70de50f80.

This patch does not fix the original problem and still leaves the build
environment without usable loop devices.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agocore189: Ship intel microcode and regenerate initramdisks
Michael Tremer [Thu, 12 Sep 2024 09:06:36 +0000 (09:06 +0000)] 
core189: Ship intel microcode and regenerate initramdisks

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agointel-microcode: Update to version 20240910
Adolf Belka [Wed, 11 Sep 2024 15:04:23 +0000 (17:04 +0200)] 
intel-microcode: Update to version 20240910

- Update from version 20240813 to 20240910
- Update of rootfile not required
- Changelog
    20240910
Security updates for INTEL-SA-01103
Security updates for INTEL-SA-01097
Update for functional issues. Refer to Intel® Core™ Ultra Processor for details.
Update for functional issues. Refer to 13th Generation Intel® Core™ Processor
 Specification Update for details.
Update for functional issues. Refer to 12th Generation Intel® Core™ Processor
 Family for details.
Update for functional issues. Refer to Intel® Processors and Intel® Core™ i3
 N-Series for details.
For information on New Platforms and Updated Platforms see
 https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20240910

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agocore189: Ship header.pl
Michael Tremer [Wed, 11 Sep 2024 09:45:58 +0000 (09:45 +0000)] 
core189: Ship header.pl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agoheader.pl: only get memory consumption when service is running
Robin Roevens [Tue, 10 Sep 2024 21:32:32 +0000 (23:32 +0200)] 
header.pl: only get memory consumption when service is running

It probably doesn't matter much as the get_memory_consumption function just returns 0 when no pids are found. But it shouldn't even try as the mem var is never used when the service is not running.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agozabbix_agentd: Add IPFire services.get item
Robin Roevens [Tue, 10 Sep 2024 21:12:31 +0000 (23:12 +0200)] 
zabbix_agentd: Add IPFire services.get item

- Adds Zabbix Agent userparameter `ipfire.services.get` for the agent to get details about configured IPFire services (builtin and addon-services)
- Includes `ipfire_services.pl` script in sudoers for Zabbix Agent as it needs root permission to call addonctrl for addon service states.
- Adapts lfs install script to install new script
- Adds new script to rootfiles

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agozabbix_agentd: Update to 6.0.33 (LTS)
Robin Roevens [Tue, 10 Sep 2024 18:25:59 +0000 (20:25 +0200)] 
zabbix_agentd: Update to 6.0.33 (LTS)

- Update from version 6.0.30 to 6.0.33
- Update of rootfile not required

Bugs fixed:
- ZBX-20766: Fixed confusing port binding error message
- ZBX-24391: Fixed Zabbix agent to return net.tcp.socket.count result without error if IPv6 is disabled

Full changelogs since 6.0.30:
- https://www.zabbix.com/rn/rn6.0.31
- https://www.zabbix.com/rn/rn6.0.32
- https://www.zabbix.com/rn/rn6.0.33

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agomake.sh: Bind-mount all loop devices
Michael Tremer [Wed, 11 Sep 2024 09:31:43 +0000 (09:31 +0000)] 
make.sh: Bind-mount all loop devices

There seems to be a different way how to create loop devices. On my
Debian system, the first loop device is a block device with major=7 and
minor=0, the second device is major=7 and minor=1, and so on.

On a system running Grml, the second loop device has major=7 and
minor=32, and all following ones are increasing their minor by 32
as well instead of one.

Since I don't have an easy way to detect this, we will simply bind-mount
all available loop devices in to the build environment.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agomake.sh: Copy the proxy configuration whenever we enable networking
Michael Tremer [Tue, 10 Sep 2024 16:30:31 +0000 (16:30 +0000)] 
make.sh: Copy the proxy configuration whenever we enable networking

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agocore189: Ship OpenVPN
Michael Tremer [Mon, 9 Sep 2024 15:42:59 +0000 (15:42 +0000)] 
core189: Ship OpenVPN

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agoopenvpn: Update to version 2.5.10
Adolf Belka [Sat, 7 Sep 2024 17:29:27 +0000 (19:29 +0200)] 
openvpn: Update to version 2.5.10

- Update from version 2.5.9 to 2.5.10
- Update of rootfile not required
- 3 CVE Fixes in this version but all are for Windows installations.
- Changelog
    2.5.10
Security fixes
- CVE-2024-27459: Windows: fix a possible stack overflow in the
  interactive service component which might lead to a local privilege
  escalation.
Reported-by: Vladimir Tokarev <vtokarev@microsoft.com>
- CVE-2024-24974: Windows: disallow access to the interactive service
  pipe from remote computers.
Reported-by: Vladimir Tokarev <vtokarev@microsoft.com>
- CVE-2024-27903: Windows: disallow loading of plugins from untrusted
  installation paths, which could be used to attack openvpn.exe via
  a malicious plugin.  Plugins can now only be loaded from the OpenVPN
  install directory, the Windows system directory, and possibly from
  a directory specified by HKLM\SOFTWARE\OpenVPN\plugin_dir.
Reported-by: Vladimir Tokarev <vtokarev@microsoft.com>
User visible changes
- License amendment: all NEW commits fall under a modified license that
  explicitly permits linking with Apache2 libraries (mbedTLS, OpenSSL) -
  see COPYING for details.  Existing code in the release/2.5 branch
  will not been relicensed (only in release/2.6 and later branches).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agocore189: Ship sudo
Michael Tremer [Fri, 6 Sep 2024 10:42:27 +0000 (10:42 +0000)] 
core189: Ship sudo

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 months agosudo: Update to version 1.9.16
Adolf Belka [Thu, 5 Sep 2024 13:28:50 +0000 (15:28 +0200)] 
sudo: Update to version 1.9.16

- Update from version 1.9.15p5 to 1.9.16
- Update of rootfile
- Changelog
    1.9.16
 * Added the "cmddenial_message" sudoers option to provide additional
   information to the user when a command is denied by the sudoers
   policy.  The default message is still displayed.
 * The time stamp used for file-based logs is now more consistent
   with the time stamp produced by syslog.  GitHub issues #327.
 * Sudo will now warn the user if it can detect the user's terminal
   but cannot determine the path to the terminal device.  The sudoers
   time stamp file will now use the terminal device number directly.
   GitHub issue #329.
 * The embedded copy of zlib has been updated to version 1.3.1.
 * Improved error handling if generating the list of signals and signal
   names fails at build time.
 * Fixed a compilation issue on Linux systems without process_vm_readv().
 * Fixed cross-compilation with WolfSSL.
 * Added a "json_compact" value for the sudoers "log_format" option
   which can be used when logging to a file.  The existing "json"
   value has been aliased to "json_pretty".  In a future release,
   "json" will be an alias for "json_compact".  GitHub issue #357.
 * A new "pam_silent" sudoers option has been added which may be
   negated to avoid suppressing output from PAM authentication modules.
   GitHub issue #216.
 * Fixed several cvtsudoers JSON output problems.
   GitHub issues #369, #370, #371, #373, #381.
 * When sudo runs a command in a pseudo-terminal and the user's
   terminal is revoked, the pseudo-terminal's foreground process
   group will now receive SIGHUP before the terminal is revoked.
   This emulates the behavior of the session leader exiting and is
   consistent with what happens when, for example, an ssh session
   is closed.  GitHub issue #367.
 * Fixed "make test" with Python 3.12.  GitHub issue #374.
 * In schema.ActiveDirectory, fixed the quoting in the example command.
   GitHub issue #376.
 * Paths specified via a Chdir_Spec or Chroot_Spec in sudoers may
   now be double-quoted.
 * Sudo insults are now included by default, but disabled unless
   the --with-insults configure option is specified or the "insults"
   sudoers option is enabled.
 * The default sudoers file now enables the "secure_path" option by
   default and preserves the EDITOR, VISUAL, and SUDO_EDITOR environment
   variables when running visudo.  The new --with-secure-path-value
   configure option can be used to set the value of "secure_path" in
   the default sudoers file.  GitHub issue #387.
 * A sudoers schema for IBM Directory Server (aka IBM Tivoli Directory
   Server, IBM Security Directory Server, and IBM Security Verify
   Directory) is now included.
 * When cross-compiling sudo, the configure script now assumes that
   the snprintf() function is C99-compliant if the C compiler
   supports the C99 standard.  Previously, configure would use
   sudo's own snprintf() when cross-compiling.  GitHub issue #386.

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