]> git.ipfire.org Git - people/ms/ipfire-2.x.git/log
people/ms/ipfire-2.x.git
2 years agoQMI: Modify profile so that the modem will connect using IPv4 qmi
Michael Tremer [Wed, 26 Oct 2022 14:03:20 +0000 (16:03 +0200)] 
QMI: Modify profile so that the modem will connect using IPv4

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agonetworking: Include some status indicators after configuring QMI
Michael Tremer [Wed, 26 Oct 2022 14:01:01 +0000 (16:01 +0200)] 
networking: Include some status indicators after configuring QMI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Build some dependencies for glib earlier
Michael Tremer [Sun, 11 Sep 2022 09:41:07 +0000 (09:41 +0000)] 
make.sh: Build some dependencies for glib earlier

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agonetwork: Silence any output during the QMI setup
Michael Tremer [Thu, 8 Sep 2022 21:21:11 +0000 (23:21 +0200)] 
network: Silence any output during the QMI setup

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agonetwork: Assign "static" MAC addresses to QMI interfaces
Michael Tremer [Thu, 8 Sep 2022 20:35:47 +0000 (22:35 +0200)] 
network: Assign "static" MAC addresses to QMI interfaces

This is really badly hacky, but I do not know a better way to solve this
with our existing "setup" program which would be a nightmare to extend.

So we are using the device number to generate a static MAC address which
can then be used as usual. I doubt many people will have more than one
device.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agonetwork: Force dhcpcd to ask for an IP address
Michael Tremer [Thu, 8 Sep 2022 20:04:46 +0000 (22:04 +0200)] 
network: Force dhcpcd to ask for an IP address

So since all this static nonsense wasn't feeling right, I opened a
ticket upstream and got a lead how to actually get some proper DHCP
working.

  https://github.com/NetworkConfiguration/dhcpcd/issues/129

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Add a safety net to make sure we always have a route
Michael Tremer [Thu, 8 Sep 2022 15:44:43 +0000 (17:44 +0200)] 
dhcpcd.exe: Add a safety net to make sure we always have a route

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Ignore some events
Michael Tremer [Thu, 8 Sep 2022 15:13:40 +0000 (17:13 +0200)] 
dhcpcd.exe: Ignore some events

We don't want any log messages printed.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Reformat the reason dispatcher
Michael Tremer [Thu, 8 Sep 2022 15:07:05 +0000 (17:07 +0200)] 
dhcpcd.exe: Reformat the reason dispatcher

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agonetwork: dhcpcd fails to check link state for QMI interfaces
Michael Tremer [Thu, 8 Sep 2022 15:05:08 +0000 (17:05 +0200)] 
network: dhcpcd fails to check link state for QMI interfaces

When acquiring an IP address, dhcpcd seems to think that the interface
is down or does not work properly for some reason. It will
subsequentially decide to exit which is not what we want here.

Therefore this patch tells dhcpcd to ignore the link state and keep
happily running.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Fix typo in configuring DNS server
Michael Tremer [Thu, 8 Sep 2022 10:42:07 +0000 (12:42 +0200)] 
dhcpcd.exe: Fix typo in configuring DNS server

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Run everything no matter how RED is configured
Michael Tremer [Thu, 8 Sep 2022 10:38:45 +0000 (12:38 +0200)] 
dhcpcd.exe: Run everything no matter how RED is configured

This could potentially create problems when we abuse these functions to
launch the DHCP client on IPTV interfaces. This would have to be tested
and confirmed or potentially we would need some more changes to keep
supporting that use-case, too.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Only touch /var/ipfire/red/active once
Michael Tremer [Thu, 8 Sep 2022 10:37:00 +0000 (12:37 +0200)] 
dhcpcd.exe: Only touch /var/ipfire/red/active once

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Do not overwrite the default gateway when empty
Michael Tremer [Thu, 8 Sep 2022 10:35:40 +0000 (12:35 +0200)] 
dhcpcd.exe: Do not overwrite the default gateway when empty

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Use DNS servers from QMI
Michael Tremer [Thu, 8 Sep 2022 10:33:54 +0000 (12:33 +0200)] 
dhcpcd.exe: Use DNS servers from QMI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Store the default gateway when in QMI mode
Michael Tremer [Thu, 8 Sep 2022 10:26:25 +0000 (12:26 +0200)] 
dhcpcd.exe: Store the default gateway when in QMI mode

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Only set gateway when we have received one
Michael Tremer [Thu, 8 Sep 2022 10:23:38 +0000 (12:23 +0200)] 
dhcpcd.exe: Only set gateway when we have received one

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Actually use the received MTU
Michael Tremer [Thu, 8 Sep 2022 10:22:14 +0000 (12:22 +0200)] 
dhcpcd.exe: Actually use the received MTU

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Flush any configured IP addresses on shutdown
Michael Tremer [Thu, 8 Sep 2022 10:21:31 +0000 (12:21 +0200)] 
dhcpcd.exe: Flush any configured IP addresses on shutdown

This allows us to start with a fresh interface every time dhcpcd is
being restarted.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd: Only try to obtain an IP address for IPv4
Michael Tremer [Wed, 7 Sep 2022 16:53:19 +0000 (18:53 +0200)] 
dhcpcd: Only try to obtain an IP address for IPv4

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agonetwork: Remove --debug switch for dhcpcd in QMI mode
Michael Tremer [Wed, 7 Sep 2022 16:38:46 +0000 (18:38 +0200)] 
network: Remove --debug switch for dhcpcd in QMI mode

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopppsetup.cgi: Move authentication above MTU
Michael Tremer [Wed, 7 Sep 2022 16:37:04 +0000 (18:37 +0200)] 
pppsetup.cgi: Move authentication above MTU

I feel that authentication is more important.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopppsetup.cgi: Add support for QMI profiles
Michael Tremer [Wed, 7 Sep 2022 16:30:22 +0000 (18:30 +0200)] 
pppsetup.cgi: Add support for QMI profiles

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agonetwork: Drop any traces of ISDN
Michael Tremer [Wed, 7 Sep 2022 16:13:32 +0000 (18:13 +0200)] 
network: Drop any traces of ISDN

This has been removed a long time ago and we should probably spend a
little bit more time on keeping the networking code tidy :)

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agonetwork: Add support for QMI modems
Michael Tremer [Wed, 7 Sep 2022 15:55:40 +0000 (17:55 +0200)] 
network: Add support for QMI modems

QMI is a proprietary interface from Qualcomm which are absolute pioneers
when it comes to interfacing with modems. I don't think there would be
any way to make this any more complicated and bloated.

So, bascially we will put the modem into a raw IP mode which changes the
interface into Point-to-Point mode.

We then configure the provider settings using qmicli. After that, the
modem will try to connect to the provider and obtain an IP address.

We will then start a DHCP client which does not do any DHCP-ing because
implementing that would be too complicated. Instead we do something even
*more* complicated where we would launch a custom script which asks the
modem for the allocated IP address and will configure it into the
device. The DHCP client then reads that IP address from the device and
pretends it came up with it by itself. Such an easy way to do this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agonetwork: Allow passing custom options to dhcpcd
Michael Tremer [Wed, 7 Sep 2022 15:54:07 +0000 (17:54 +0200)] 
network: Allow passing custom options to dhcpcd

This is useful for debugging.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd.exe: Allow using the DHCP setup scripts when RED is not configured as DHCP
Michael Tremer [Wed, 7 Sep 2022 15:52:55 +0000 (17:52 +0200)] 
dhcpcd.exe: Allow using the DHCP setup scripts when RED is not configured as DHCP

This is useful for dial-up methods that use DHCP, but when RED_TYPE is
configured as PPP.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcpcd: Log any unhandled client events
Michael Tremer [Tue, 6 Sep 2022 13:36:36 +0000 (15:36 +0200)] 
dhcpcd: Log any unhandled client events

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agolibqmi: New package
Michael Tremer [Mon, 22 Aug 2022 09:43:10 +0000 (09:43 +0000)] 
libqmi: New package

This library implements the QMI modem protocol.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agolibgudev: New package
Michael Tremer [Mon, 22 Aug 2022 09:40:50 +0000 (09:40 +0000)] 
libgudev: New package

This is required for libqmi.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agolibloc: Update rootfile
Peter Müller [Mon, 24 Oct 2022 12:39:47 +0000 (12:39 +0000)] 
libloc: Update rootfile

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agosamba: Update to 4.17.0
Matthias Fischer [Sat, 8 Oct 2022 17:55:47 +0000 (19:55 +0200)] 
samba: Update to 4.17.0

For details see:
https://www.samba.org/samba/latest_news.html#4.17.0

This "just came my way" and I found the CVEs listed on
https://www.samba.org/samba/history/security.html which
address "All versions of Samba prior to 4.16.4" or
"All versions of Samba" rather long.

The 'glibc_headers' patch is now included.

Sad to say, due to the lack of hardware I can only include
the rootfile for x86_64.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
2 years agoCore Update 172: Ship changes related to OpenVPN CRL handling
Peter Müller [Mon, 24 Oct 2022 09:07:18 +0000 (09:07 +0000)] 
Core Update 172: Ship changes related to OpenVPN CRL handling

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoopenvpnctrl: Update CRL before starting the client daemon
Michael Tremer [Fri, 7 Oct 2022 14:50:17 +0000 (14:50 +0000)] 
openvpnctrl: Update CRL before starting the client daemon

If the CRL is outdated for some reason (e.g. a backup restored from ISO
where we don't run the migration scripts), this will update it on
reboot/restart of the service.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobackup: Update OpenVPN CRL
Michael Tremer [Fri, 7 Oct 2022 14:50:16 +0000 (14:50 +0000)] 
backup: Update OpenVPN CRL

After a backup is restored, the CRL might be out of data and client
won't be able to connect to the server any more.

This will immediately update the CRL should it require an update.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 172: Delete orphaned strongSwan files
Peter Müller [Mon, 24 Oct 2022 09:05:23 +0000 (09:05 +0000)] 
Core Update 172: Delete orphaned strongSwan files

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 172: Ship and restart Unbound
Peter Müller [Mon, 24 Oct 2022 09:04:29 +0000 (09:04 +0000)] 
Core Update 172: Ship and restart Unbound

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agounbound: Update to 1.17.0
Matthias Fischer [Fri, 14 Oct 2022 19:09:35 +0000 (21:09 +0200)] 
unbound: Update to 1.17.0

For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-17-0

"Features

    Merge #753: ACL per interface. (New interface-* configuration options).

    Merge #760: PROXYv2 downstream support. (New proxy-protocol-port configuration option).

Bug Fixes

    Fix #728: alloc_reg_obtain() core dump. Stop double alloc_reg_release
    when serviced_create fails.
    Fix edns subnet so that scope 0 answers only match sourcemask 0 queries
    for answers from cache if from a query with sourcemask 0.
    Fix unittest for edns subnet change.
    Merge #730 from luisdallos: Fix startup failure on Windows 8.1 due to
    unsupported IPV6_USER_MTU socket option being set.
    Fix ratelimit inconsistency, for ip-ratelimits the value is the amount
    allowed, like for ratelimits.
    Fix #734 [FR] enable unbound-checkconf to detect more (basic) errors.
    Fix to log accept error ENFILE and EMFILE errno, but slowly, once per
    10 seconds. Also log accept failures when no slow down is used.
    Fix to avoid process wide fcntl calls mixed with nonblocking operations
    after a blocked write.
    Patch from Vadim Fedorenko that adds MSG_DONTWAIT to receive
    operations, so that instruction reordering does not cause mistakenly
    blocking socket operations.
    Fix to wait for blocked write on UDP sockets, with a timeout if it
    takes too long the packet is dropped.
    Fix for wait for udp send to stop when packet is successfully sent.
    Fix #741: systemd socket activation fails on IPv6.
    Fix to update config tests to fix checking if nonblocking sockets work
    on OpenBSD.
    Slow down log frequency of write wait failures.
    Fix to set out of file descriptor warning to operational verbosity.
    Fix to log a verbose message at operational notice level if a thread is
    not responding, to stats requests. It is logged with thread
    identifiers.
    Remove include that was there for debug purposes.
    Fix to check pthread_t size after pthread has been detected.
    Convert tdir tests to use the new skip_test functionality.
    Remove unused testcode/mini_tpkg.sh file.
    Better output for skipped tdir tests.
    Fix doxygen warning in respip.h.
    Fix to remove erroneous TC flag from TCP upstream.
    Fix test tdir skip report printout.
    Fix windows compile, the identifier interface is defined in headers.
    Fix to close errno block in comm_point_tcp_handle_read outside of ifdef.
    Fix static analysis report to remove dead code from the
    rpz_callback_from_iterator_module function.
    Fix to clean up after the acl_interface unit test.
    Merge #764: Leniency for target discovery when under load (for
    NRDelegation changes).
    Use DEBUG_TDIR from environment in mini_tdir.sh for debugging.
    Fix string comparison in mini_tdir.sh.
    Make ede.tdir test more predictable by using static data.
    Fix checkconf test for dnscrypt and proxy port.
    Fix dnscrypt compile for proxy protocol code changes.
    Fix to stop responses with TC flag from resulting in partial responses.
    It retries to fetch the data elsewhere, or fails the query and in depth
    fix removes the TC flag from the cached item.
    Fix proxy length debug output printout typecasts.
    Fix to stop possible loops in the tcp reuse code (write_wait list and
    tcp_wait list). Based on analysis and patch from Prad Seniappan and
    Karthik Umashankar.
    Fix PROXYv2 header read for TCP connections when no proxied addresses
    are provided."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 172: Ship and restart OpenSSH
Peter Müller [Mon, 24 Oct 2022 09:03:08 +0000 (09:03 +0000)] 
Core Update 172: Ship and restart OpenSSH

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoOpenSSH: Update to 9.1p1
Peter Müller [Sat, 15 Oct 2022 15:47:51 +0000 (15:47 +0000)] 
OpenSSH: Update to 9.1p1

Please refer to https://www.openssh.com/releasenotes.html#9.1 for the
release announcement of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 172: Ship tzdata
Peter Müller [Mon, 24 Oct 2022 08:59:09 +0000 (08:59 +0000)] 
Core Update 172: Ship tzdata

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agotzdata: Update to 2022e
Peter Müller [Sat, 15 Oct 2022 15:51:05 +0000 (15:51 +0000)] 
tzdata: Update to 2022e

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 172: Ship libloc
Peter Müller [Mon, 24 Oct 2022 08:58:51 +0000 (08:58 +0000)] 
Core Update 172: Ship libloc

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibloc: Update to 0.9.15
Peter Müller [Sat, 15 Oct 2022 15:53:07 +0000 (15:53 +0000)] 
libloc: Update to 0.9.15

Please refer to https://lists.ipfire.org/pipermail/location/2022-September/000579.html
for the release announcement of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 172: Ship and restart strongSwan
Peter Müller [Mon, 24 Oct 2022 08:57:00 +0000 (08:57 +0000)] 
Core Update 172: Ship and restart strongSwan

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agostrongSwan: Update to 5.9.8
Peter Müller [Sat, 15 Oct 2022 16:01:26 +0000 (16:01 +0000)] 
strongSwan: Update to 5.9.8

Please refer to https://github.com/strongswan/strongswan/releases/tag/5.9.8
for the release announcement of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoStart Core Update 172
Peter Müller [Mon, 24 Oct 2022 08:55:12 +0000 (08:55 +0000)] 
Start Core Update 172

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolinux: Add upstream patches for CVE-2022-4{1674,2719-2722}
Peter Müller [Mon, 17 Oct 2022 16:26:19 +0000 (16:26 +0000)] 
linux: Add upstream patches for CVE-2022-4{1674,2719-2722}

https://lists.ipfire.org/pipermail/development/2022-October/014562.html

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agocore171: Ship dhcp
Michael Tremer [Mon, 10 Oct 2022 18:41:10 +0000 (18:41 +0000)] 
core171: Ship dhcp

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodhcp: Update to 4.4.3-P1
Matthias Fischer [Fri, 7 Oct 2022 19:59:21 +0000 (21:59 +0200)] 
dhcp: Update to 4.4.3-P1

For details see:
https://downloads.isc.org/isc/dhcp/4.4.3-P1/dhcp-4.4.3-P1-RELNOTES

Changelog since 4.4.1 is rather long...

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomanualpages: add and update help links to Wiki
Jon Murphy [Fri, 7 Oct 2022 18:45:17 +0000 (13:45 -0500)] 
manualpages: add and update help links to Wiki

- add help links for two new ipblocklist WebGUI pages
- update help links to proxy accounting
- add links to OpenVPN Net-to-Net Statistics,
    MD Raid State, Update Accelerator,
    OpenVPN Roadwarrior Connections Log

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoglibc: Fix added whitespace in syslog messages
Michael Tremer [Fri, 7 Oct 2022 16:24:15 +0000 (16:24 +0000)] 
glibc: Fix added whitespace in syslog messages

Fixes: #12949
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofirewall: Fix missing whitespace for blocklist messages
Michael Tremer [Fri, 7 Oct 2022 16:21:16 +0000 (16:21 +0000)] 
firewall: Fix missing whitespace for blocklist messages

Fixes: #12934
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agounbound-dhcp-leases-bridge: Fall back to the default domain
Michael Tremer [Tue, 4 Oct 2022 13:32:47 +0000 (13:32 +0000)] 
unbound-dhcp-leases-bridge: Fall back to the default domain

When the bridge cannot detect a domain name for any of the leases, it
uses localdomain which is not always the best choice. So instead, this
patches changes the behaviour that we read the default domain of the
firewall.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2 years agoCore Update 171: Ship setclock initscript
Peter Müller [Tue, 4 Oct 2022 14:48:04 +0000 (14:48 +0000)] 
Core Update 171: Ship setclock initscript

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoinitscripts: load RTC module (RX8025) for Ten64 board
Mathew McBride [Mon, 3 Oct 2022 06:20:19 +0000 (06:20 +0000)] 
initscripts: load RTC module (RX8025) for Ten64 board

For reasons I have not been able to determine, the RTC
module for the Ten64 board (rtc-rx8025) is not automatically
loaded at startup, despite every other relevant modules being
loaded.

modprobe it manually if we are on a Ten64 board.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoconfig: u-boot: bypass the u-boot script on Traverse Ten64
Mathew McBride [Mon, 3 Oct 2022 06:20:18 +0000 (06:20 +0000)] 
config: u-boot: bypass the u-boot script on Traverse Ten64

The Ten64 board runs a U-Boot which works best directly
booting EFI. Attempting to load your own DTB or other steps
will cause issues.
(see https://ten64doc.traverse.com.au/faq/#common-issues)

The current stable Ten64 firmware unfortunately searches for
boot.scr before bootaa64.efi. So redirect it back to the EFI path.

A future Ten64 firmware package will prefer EFI first before
any boot script avoiding this issue. I will provide a patch
reversing this when that day comes.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agokernel: add patches for SFP support on NXP Layerscape/DPAA2 (arm64)
Mathew McBride [Mon, 3 Oct 2022 06:20:17 +0000 (06:20 +0000)] 
kernel: add patches for SFP support on NXP Layerscape/DPAA2 (arm64)

These two patches are needed to support SFP's on NXP DPAA2 platforms
(e.g Traverse Ten64).

The deadlock issue patch was submitted upstream a while ago and
rejected, however I am not aware of any better solutions at present.

The 10G mode additions are part of mainline since 5.16.

These two .patches were sourced from our patchset over here:
https://gitlab.com/traversetech/traverse-kernel-patches/-/tree/lts-5-15/patches

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agolinux: enable options for NXP Layerscape
Mathew McBride [Mon, 3 Oct 2022 06:20:16 +0000 (06:20 +0000)] 
linux: enable options for NXP Layerscape

This change enables support for NXP's QorIQ/Layerscape platforms,
specifically the Traverse Technologies Ten64 (LS1088A).

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agorsync: Update to version 3.2.6 and fix Bug#12947
Adolf Belka [Tue, 4 Oct 2022 10:54:42 +0000 (12:54 +0200)] 
rsync: Update to version 3.2.6 and fix Bug#12947

- Update from version 3.2.4 plus CVE-2022-29154 patch to 3.2.6
- Patch for CVE-2022-29154 applied  in CU170 turned out to have a bug within it causing
   rsync to fail with an error. Four additional commits were done to fix this bug and
   its consequences but these were all applied in the rsync git repo after the patch had
   been merged into CU170.
- Version 3.2.5 onwards contains the CVE-2022-29154 fix and associated commits.
- No update of rootfile required.
- Changelog
    NEWS for rsync 3.2.6 (9 Sep 2022)
BUG FIXES:
    More path-cleaning improvements in the file-list validation code to avoid
             rejecting of valid args.
    A file-list validation fix for a --files-from file that ends without a
             line-terminating character.
    Added a safety check that prevents the sender from removing destination
             files when a local copy using --remove-source-files has some files that are
             shared between the sending & receiving hierarchies, including the case
             where the source dir & destination dir are identical.
    Fixed a bug in the internal MD4 checksum code that could cause the digest to
             be sporadically incorrect (the openssl version was/is fine).
    A minor tweak to rrsync added "copy-devices" to the list of known args, but
             left it disabled by default.
ENHANCEMENTS:
    Rename --protect-args to --secluded-args to make it clearer how it differs
             from the default backslash-escaped arg-protecting behavior of rsync. The
             old option names are still accepted. The environment-variable override did
             not change its name.
PACKAGING RELATED:
    The configure option --with-protected-args was renamed to
             --with-secluded-args. This option makes --secluded-args the default rsync
             behavior instead of using backslash escaping for protecting args.
    The mkgitver script now makes sure that a .git dir/file is in the top-level
             source dir before calling git describe. It also runs a basic check on the
             version value. This should avoid using an unrelated git description for
             rsync's version.
DEVELOPER RELATED:
    The configure script no longer sets the -⁠pedantic-errors CFLAG (which it
             used to try to do only for gcc).
    The name_num_obj struct was modified to allow its dynamic name_num_item list
             to be initialized in a better way.
    NEWS for rsync 3.2.5 (14 Aug 2022)
SECURITY FIXES:
    Added some file-list safety checking that helps to ensure that a rogue
             sending rsync can't add unrequested top-level names and/or include
             recursive names that should have been excluded by the sender. These extra
             safety checks only require the receiver rsync to be updated. When dealing
             with an untrusted sending host, it is safest to copy into a dedicated
             destination directory for the remote content (i.e. don't copy into a
             destination directory that contains files that aren't from the remote host
             unless you trust the remote host). Fixes CVE-2022-29154.
    A fix for CVE-2022-37434 in the bundled zlib (buffer overflow issue).
BUG FIXES:
    Fixed the handling of filenames specified with backslash-quoted wildcards
             when the default remote-arg-escaping is enabled.
    Fixed the configure check for signed char that was causing a host that
             defaults to unsigned characters to generate bogus rolling checksums. This
             made rsync send mostly literal data for a copy instead of finding matching
             data in the receiver's basis file (for a file that contains high-bit
             characters).
    Lots of manpage improvements, including an attempt to better describe how
             include/exclude filters work.
    If rsync is compiled with an xxhash 0.8 library and then moved to a system
             with a dynamically linked xxhash 0.7 library, we now detect this and
             disable the XX3 hashes (since these routines didn't stabilize until 0.8).
ENHANCEMENTS:
    The --trust-sender option was added as a way to bypass the extra file-list
             safety checking (should that be required).
PACKAGING RELATED:
    A note to those wanting to patch older rsync versions: the changes in this
             release requires the quoted argument change from 3.2.4. Then, you'll want
             every single code change from 3.2.5 since there is no fluff in this release.
    The build date that goes into the manpages is now based on the developer's
             release date, not on the build's local-timezone interpretation of the date.
DEVELOPER RELATED:
    Configure now defaults GETGROUPS_T to gid_t when cross compiling.
    Configure now looks for the bsd/string.h include file in order to fix the
             build on a host that has strlcpy() in the main libc but not defined in the
             main string.h file.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agolibseccomp: Bump package version
Peter Müller [Mon, 3 Oct 2022 21:58:25 +0000 (21:58 +0000)] 
libseccomp: Bump package version

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolinux: Enable seccomp filter on ARM
Peter Müller [Mon, 19 Sep 2022 12:35:41 +0000 (12:35 +0000)] 
linux: Enable seccomp filter on ARM

Since last time we checked, the kernel's security features on ARM have
improved notably (see CONFIG_RANDOMIZE_BASE discussion). This patch
therefore proposes to give the seccomp filter on both 32- and 64-bit ARM
another try, since it provides significant security benefit to
applications using it.

Due to operational constraints, rootfile changes have been omitted, and
will be conducted, should this patch be approved.

Note to future self: Once this patch is approved, applications using
seccomp (OpenSSH, Tor) need to be updated/shipped on ARM.

Fixes: #12366
Fixes: #12370
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolinux: Remove user-space probe support
Peter Müller [Sun, 2 Oct 2022 14:47:52 +0000 (14:47 +0000)] 
linux: Remove user-space probe support

From the kernels' documentation:

> Uprobes is the user-space counterpart to kprobes: they
> enable instrumentation applications (such as 'perf probe')
> to establish unintrusive probes in user-space binaries and
> libraries, by executing handler functions when the probes
> are hit by user-space applications.
>
> ( These probes come in the form of single-byte breakpoints,
> managed by the kernel and kept transparent to the probed
> application. )

To the best of the authors' understanding, no application on IPFire
needs this functionality, and given its abuse potential, we should
probably not enable it.

As expected, strace functionality is not impaired by this.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agosuricata 6.0.8 - suggested change in 'suricata.yaml': set app-layer mqtt: enabled...
Matthias Fischer [Thu, 29 Sep 2022 20:35:18 +0000 (22:35 +0200)] 
suricata 6.0.8 - suggested change in 'suricata.yaml': set app-layer mqtt: enabled: yes

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
2 years agomodules.d: Drop orphaned blacklist statements
Peter Müller [Mon, 3 Oct 2022 10:21:24 +0000 (10:21 +0000)] 
modules.d: Drop orphaned blacklist statements

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoUpdate contributor list
Peter Müller [Mon, 3 Oct 2022 10:07:49 +0000 (10:07 +0000)] 
Update contributor list

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agobackup: Fix file permissions of in-/exclude files, again
Peter Müller [Mon, 3 Oct 2022 09:22:57 +0000 (09:22 +0000)] 
backup: Fix file permissions of in-/exclude files, again

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 171: Do not ship /sbin/tipc
Peter Müller [Sun, 2 Oct 2022 10:20:38 +0000 (10:20 +0000)] 
Core Update 171: Do not ship /sbin/tipc

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 171: Fix Suricata stop/start
Peter Müller [Sun, 2 Oct 2022 09:46:47 +0000 (09:46 +0000)] 
Core Update 171: Fix Suricata stop/start

My fault, again. :-/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoAvoid manpages from being shipped and delete them on existing installations
Peter Müller [Sun, 2 Oct 2022 09:43:47 +0000 (09:43 +0000)] 
Avoid manpages from being shipped and delete them on existing installations

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 171: Ship proxy.cgi
Peter Müller [Sun, 2 Oct 2022 08:51:03 +0000 (08:51 +0000)] 
Core Update 171: Ship proxy.cgi

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoproxy.cgi: Fix for Bug #12826 'squid >=5 crashes on literal IPv6 addresses'
Matthias Fischer [Fri, 30 Sep 2022 19:05:56 +0000 (21:05 +0200)] 
proxy.cgi: Fix for Bug #12826 'squid >=5 crashes on literal IPv6 addresses'

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2 years agobackup: Increase chown verbosiness
Peter Müller [Sun, 2 Oct 2022 08:49:53 +0000 (08:49 +0000)] 
backup: Increase chown verbosiness

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolangs: Fix missing spaces for proxy password length error message
Peter Müller [Fri, 30 Sep 2022 22:09:31 +0000 (22:09 +0000)] 
langs: Fix missing spaces for proxy password length error message

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoncat: Update to 7.92
Peter Müller [Fri, 30 Sep 2022 21:18:38 +0000 (21:18 +0000)] 
ncat: Update to 7.92

This was forgotten when updating nmap to 7.92.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolinux: Update to 5.15.71
Peter Müller [Fri, 30 Sep 2022 17:20:37 +0000 (17:20 +0000)] 
linux: Update to 5.15.71

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoconfigroot: Increase verbosiness of chown operations
Peter Müller [Fri, 30 Sep 2022 17:20:17 +0000 (17:20 +0000)] 
configroot: Increase verbosiness of chown operations

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 171: Ship and restart Suricata
Peter Müller [Fri, 30 Sep 2022 15:48:03 +0000 (15:48 +0000)] 
Core Update 171: Ship and restart Suricata

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibhtp: Update to 0.5.41
Matthias Fischer [Thu, 29 Sep 2022 20:21:57 +0000 (22:21 +0200)] 
libhtp: Update to 0.5.41

Needed for 'suricata 6.0.8'

For details see:
https://github.com/OISF/libhtp/releases/tag/0.5.41

"trim white space of invalid folding for first header

clear buffered data for body data

minor optimization for decompression code"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agosuricata: Update to 6.0.8
Matthias Fischer [Thu, 29 Sep 2022 20:21:56 +0000 (22:21 +0200)] 
suricata: Update to 6.0.8

Changelog:

"6.0.8 -- 2022-09-27

Task #5552: libhtp 0.5.41

6.0.7 -- 2022-09-27

Security #5430: mqtt: DOS by quadratic with too many transactions in one parse (6.0.x backport)
Bug #5559: BUG_ON triggered from TmThreadsInjectFlowById (6.0.x backport)
Bug #5549: Failed assert DeStateSearchState (6.0.x)
Bug #5548: tcp: assertion failed in DoInsertSegment (BUG_ON) (6.0.x)
Bug #5547: rules: less strict parsing of unexpected flowbit options
Bug #5546: rules: don't error on bad hex in content
Bug #5540: detect: transform strip whitespace creates a 0-sized variable-length array: backport6
Bug #5505: http2: slow http2_frames_get_header_value_vec because of allocation [backport6]
Bug #5471: Reject action is no longer working (6.0.x backport)
Bug #5467: rules: more graceful handling of anomalies for stable versions
Bug #5459: Counters are not initialized in all places. (6.0.x backport)
Bug #5448: nfs: add maximum number of operations per compound (6.0.x backport)
Bug #5436: Infinite loop if the sniffing interface temporarily goes down (6.0.x backports)
Bug #5335: flow: vlan.use-for-tracking is not used for ICMPv4 (6.0.x backport)
Bug #4421: flow manager: using too much CPU during idle (6.0.x backport)
Feature #5535: ips: add "reject" action to exception policies (6.0.x backport)
Feature #5500: ips: midstream: add "exception policy" for midstream (6.0.x backport)
Task #5551: doc: add exception policy documentation (6.0.x)
Task #5533: detect/parse: add tests for parsing signatures with reject and drop action (6.0.x backport)
Task #5525: exceptions: error out when invalid configuration value is passed (6.0.x backport)
Task #5381: add `alert-queue-expand-fails` command-line option (6.0.x backport)
Task #5328: python: distutils deprecation warning (6.0.x backport)"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 171: Fix backup {ex,in}clude file permissions
Peter Müller [Tue, 27 Sep 2022 10:54:45 +0000 (10:54 +0000)] 
Core Update 171: Fix backup {ex,in}clude file permissions

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agobackup: Set owner of {ex,in}clude{,.user} files to "root"
Peter Müller [Mon, 26 Sep 2022 18:50:08 +0000 (18:50 +0000)] 
backup: Set owner of {ex,in}clude{,.user} files to "root"

Since these files are static, there is no legitimate reason why they
should be owned (hence writable) by "nobody". Also, according to
configroot's LFS file, this is the intended behaviour for the *.user
files, which is then overwritten by the backup LFS file. Therefore, set
the file mode of these statically - configroot does not feature other
files in /var/ipfire/backup/ anyway.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 171: Remove some orphaned files
Peter Müller [Mon, 26 Sep 2022 19:18:51 +0000 (19:18 +0000)] 
Core Update 171: Remove some orphaned files

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 171: Ship ipblocklist/sources
Peter Müller [Mon, 26 Sep 2022 08:54:36 +0000 (08:54 +0000)] 
Core Update 171: Ship ipblocklist/sources

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoipblocklist-sources: Correct the info url - Fixes bug#12938
Adolf Belka [Sat, 24 Sep 2022 11:53:12 +0000 (13:53 +0200)] 
ipblocklist-sources: Correct the info url - Fixes bug#12938

- With the .html ending the link gets a 404 Page not found error

Fixes: Bug#12938
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2 years agoCore Update 171: Ship expat
Peter Müller [Fri, 23 Sep 2022 10:43:27 +0000 (10:43 +0000)] 
Core Update 171: Ship expat

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoexpat: Update to version 2.4.9
Adolf Belka [Wed, 21 Sep 2022 17:16:11 +0000 (19:16 +0200)] 
expat: Update to version 2.4.9

- Update from version 2.4.8 to 2.4.9
- Update of rootfile
- Changelog
   Release 2.4.9 Tue September 20 2022
        Security fixes:
       #629 #640  CVE-2022-40674 -- Heap use-after-free vulnerability in
                    function doContent. Expected impact is denial of service
                    or potentially arbitrary code execution.
        Bug fixes:
            #634  MinGW: Fix mis-compilation for -D__USE_MINGW_ANSI_STDIO=0
            #614  docs: Fix documentation on effect of switch XML_DTD on
                    symbol visibility in doc/reference.html
        Other changes:
            #638  MinGW: Make fix-xmltest-log.sh drop more Wine bug output
       #596 #625  Autotools: Sync CMake templates with CMake 3.22
            #608  CMake: Migrate from use of CMAKE_*_POSTFIX to
                    dedicated variables EXPAT_*_POSTFIX to stop affecting
                    other projects
       #597 #599  Windows|CMake: Add missing -DXML_STATIC to test runners
                    and fuzzers
       #512 #621  Windows|CMake: Render .def file from a template to fix
                    linking with -DEXPAT_DTD=OFF and/or -DEXPAT_ATTR_INFO=ON
       #611 #621  MinGW|CMake: Apply MSVC .def file when linking
       #622 #624  MinGW|CMake: Sync library name with GNU Autotools,
                    i.e. produce libexpat-1.dll rather than libexpat.dll
                    by default.  Filename libexpat.dll.a is unaffected.
            #632  MinGW|CMake: Set missing variable CMAKE_RC_COMPILER in
                    toolchain file "cmake/mingw-toolchain.cmake" to avoid
                    error "windres: Command not found" on e.g. Ubuntu 20.04
       #597 #627  CMake: Unify inconsistent use of set() and option() in
                    context of public build time options to take need for
                    set(.. FORCE) in projects using Expat by means of
                    add_subdirectory(..) off Expat's users' shoulders
       #626 #641  Stop exporting API symbols when building a static library
            #644  Resolve use of deprecated "fgrep" by "grep -F"
            #620  CMake: Make documentation on variables a bit more consistent
            #636  CMake: Drop leading whitespace from a #cmakedefine line in
                    file expat_config.h.cmake
            #594  xmlwf: Fix harmless variable mix-up in function nsattcmp
  #592 #593 #610  Address Cppcheck warnings
            #643  Address Clang 15 compiler warnings
       #642 #644  Version info bumped from 9:8:8 to 9:9:8;
                    see https://verbump.de/ for what these numbers do
        Infrastructure:
       #597 #598  CI: Windows: Start covering MSVC 2022
            #619  CI: macOS: Migrate off deprecated macOS 10.15
            #632  CI: Linux: Make migration off deprecated Ubuntu 18.04 work
            #643  CI: Upgrade Clang from 14 to 15
            #637  apply-clang-format.sh: Add support for BSD find
            #633  coverage.sh: Exclude MinGW headers
    #635  coverage.sh: Fix name collision for -funsigned-char

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 171: Delete stale Bind 9.16.32 libraries
Peter Müller [Fri, 23 Sep 2022 10:42:14 +0000 (10:42 +0000)] 
Core Update 171: Delete stale Bind 9.16.32 libraries

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agobind: Update to 9.16.33
Matthias Fischer [Fri, 23 Sep 2022 07:03:02 +0000 (09:03 +0200)] 
bind: Update to 9.16.33

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

"Security Fixes

    Previously, there was no limit to the number of database lookups
    performed while processing large delegations, which could be abused to
    severely impact the performance of named running as a recursive
    resolver. This has been fixed. (CVE-2022-2795)

    ISC would like to thank Yehuda Afek from Tel-Aviv University and Anat
    Bremler-Barr & Shani Stajnrod from Reichman University for bringing
    this vulnerability to our attention. [GL #3394]

    named running as a resolver with the stale-answer-client-timeout option
    set to 0 could crash with an assertion failure, when there was a stale
    CNAME in the cache for the incoming query. This has been fixed.
    (CVE-2022-3080) [GL #3517]

    A memory leak was fixed that could be externally triggered in the
    DNSSEC verification code for the ECDSA algorithm. (CVE-2022-38177) [GL
    #3487]

    Memory leaks were fixed that could be externally triggered in the
    DNSSEC verification code for the EdDSA algorithm. (CVE-2022-38178) [GL
    #3487]

Feature Changes

    Response Rate Limiting (RRL) code now treats all QNAMEs that are
    subject to wildcard processing within a given zone as the same name, to
    prevent circumventing the limits enforced by RRL. [GL #3459]

    Zones using dnssec-policy now require dynamic DNS or inline-signing to
    be configured explicitly. [GL #3381]

    A backward-compatible approach was implemented for encoding
    internationalized domain names (IDN) in dig and converting the domain
    to IDNA2008 form; if that fails, BIND tries an IDNA2003 conversion. [GL
    #3485]

Bug Fixes

    A serve-stale bug was fixed, where BIND would try to return stale data
    from cache for lookups that received duplicate queries or queries that
    would be dropped. This bug resulted in premature SERVFAIL responses,
    and has now been resolved. [GL #2982]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 171: Ship manualpages
Peter Müller [Fri, 23 Sep 2022 10:39:57 +0000 (10:39 +0000)] 
Core Update 171: Ship manualpages

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agomanualpages: Correct link to wiki for Network (other)
Adolf Belka [Thu, 22 Sep 2022 11:43:10 +0000 (13:43 +0200)] 
manualpages: Correct link to wiki for Network (other)

- Network (other) help link was set to go to Network (internal) wiki page
  Link modified
- Running the check_manualpages.pl script requires it to be executable so the build
   changed the permissions mode from 644 to 755

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2 years agoCore Update 171: Ship and rebuild crontab
Peter Müller [Fri, 23 Sep 2022 10:39:04 +0000 (10:39 +0000)] 
Core Update 171: Ship and rebuild crontab

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agocrontab: add periodic cleanup the collectd RRD (graphs)
Jon Murphy [Thu, 25 Aug 2022 00:31:29 +0000 (19:31 -0500)] 
crontab: add periodic cleanup the collectd RRD (graphs)

- Created (mostly) for old openvpn graphs
- RRD removed when no graph modification for +365 days
  - chosen since graph max out is 365 days
- fcron job runs once per week
  - chosen since this is just a cleanup and it doesnt need to run everyday
Note: logging can be added if needed.

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 171: Ship log.dat
Peter Müller [Fri, 23 Sep 2022 10:37:33 +0000 (10:37 +0000)] 
Core Update 171: Ship log.dat

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolog.dat: Add NUT entry for System Logs - Fixes bug#12921
Adolf Belka [Mon, 19 Sep 2022 13:15:18 +0000 (15:15 +0200)] 
log.dat: Add NUT entry for System Logs - Fixes bug#12921

- Also aligned all the code entries in %sections and %trsections

Suggested-by: Michael <ip.fire@die-fritzens.de>
Tested-by: Michael <ip.fire@die-fritzens.de>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2 years agocpufrequtils: Remove SERVICES entry for this package - fixes Bug#12933
Adolf Belka [Wed, 21 Sep 2022 10:37:19 +0000 (12:37 +0200)] 
cpufrequtils: Remove SERVICES entry for this package - fixes Bug#12933

- cpufrequtils is a set of "tools" to manage and set cpu freq settings.
- There is an initscript but this is only loading the cpu dependent kernel modules that
   are required by cpufrequtils.
- Therefore cpufrequtils is not a service but a set of tools that are used when required.
- SERVICES line made blank so that this addon does not show up in the services addon table.
- Modified install initscript line to not use SERVICES variable

Fixes: Bug#12933
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2 years agoCore Update 171: Ship and restart Unbound
Peter Müller [Fri, 23 Sep 2022 10:35:39 +0000 (10:35 +0000)] 
Core Update 171: Ship and restart Unbound

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agounbound: Update to 1.16.3
Matthias Fischer [Fri, 23 Sep 2022 07:09:38 +0000 (09:09 +0200)] 
unbound: Update to 1.16.3

For details see:
https://lists.nlnetlabs.nl/pipermail/unbound-users/2022-September/007885.html

"This release fixes CVE-2022-3204 Non-Responsive Delegation
Attack. It was reported by Yehuda Afek from Tel-Aviv
University and Anat Bremler-Barr and Shani Stajnrod from
Reichman University.

This fixes for better performance when under load, by cutting
promiscuous queries for nameserver discovery and limiting the
number of times a delegation point can look in the cache for
missing records.

Bug Fixes
- Patch for CVE-2022-3204 Non-Responsive Delegation Attack."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolinux: Align configurations and rootfiles for ARM
Peter Müller [Wed, 21 Sep 2022 13:36:59 +0000 (13:36 +0000)] 
linux: Align configurations and rootfiles for ARM

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolinux: Prepare CONFIG_DEBUG_FS disabling on non-x86_64 architectures
Peter Müller [Tue, 20 Sep 2022 14:30:28 +0000 (14:30 +0000)] 
linux: Prepare CONFIG_DEBUG_FS disabling on non-x86_64 architectures

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>