Commit Graph

17112 Commits

Author SHA1 Message Date
Arne Fitzenreiter
954ac9df04 flash-images: install u-boot for nanopi r2s on aarch64
rockchip has a large bootloader so this also increase the gap between partitiontable
and fist partition to 16MB on aarch64

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-03 07:42:41 +00:00
Arne Fitzenreiter
1f38bac053 u-boot: add nanopi r2s build
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-03 07:39:04 +00:00
Arne Fitzenreiter
4c59cad1c0 dtc: add device tree compiler on aarch64
u-boot for nanopi r2s (rockchip rk3328) need dtc to build the image
so this adds dtc as build dependency for u-boot

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-03 07:30:57 +00:00
Arne Fitzenreiter
577c7c09fa kernel: update to 5.10.70
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-01 23:23:01 +02:00
Michael Tremer
b0bb1450fd media.cgi: Fix parsing output of iostat
Since the last update of sysstat, the output of iostat has changed and
the web user interface showed wrong values.

This is now being fixed in this patch.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-29 07:34:05 +00:00
Arne Fitzenreiter
3d17e0d683 kernel: update to 5.10.69
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-27 12:21:51 +02:00
Arne Fitzenreiter
13fcfb9a0e kernel: update to 5.10.68
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-26 14:58:27 +02:00
Arne Fitzenreiter
9d20b293b8 kernel: arm rootfile update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-26 08:40:32 +00:00
Arne Fitzenreiter
62f705316b kernel: aarch64 enable drivers for common ROCKCHIP boards
thx to Fukan K
fixes #12681

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-25 13:19:25 +00:00
Arne Fitzenreiter
a21d6a30ce kernel: aarch64 oldconfig
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-25 13:07:36 +00:00
Arne Fitzenreiter
5b659043a9 wlanap.cgi: fix typo at reading country list
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-24 09:31:52 +00:00
Arne Fitzenreiter
6d8cc5a74e kernel: x86 rootfile update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 23:46:14 +02:00
Arne Fitzenreiter
037dc6b9bc kernel: update to 5.10.67
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 23:45:56 +02:00
Michael Tremer
cbbed5bc14 kernel: Enable all cgroups on all architectures
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 14:04:36 +00:00
Michael Tremer
9df49966d6 kernel: Zero-init all stack variables by default
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 14:04:23 +00:00
Michael Tremer
b7ed5dc817 kernel: Enable support for TPM hardware
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 14:04:14 +00:00
Michael Tremer
9012cffdb6 kernel: Enable ExFAT on all architectures
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 14:01:02 +00:00
Michael Tremer
340f155649 kernel: Enable frontswap
"Frontswap provides a “transcendent memory” interface for swap pages. In
some environments, dramatic performance savings may be obtained because
swapped pages are saved in RAM (or a RAM-like device) instead of a swap
disk."

https://www.kernel.org/doc/html/latest/vm/frontswap.html

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 14:00:52 +00:00
Michael Tremer
15f53912a1 kernel: Disable network security hooks
This is a feature we do not use and it should therefore be disabled

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 14:00:41 +00:00
Michael Tremer
c913c9862c kernel: Disable OpenvSwitch
We do not use this and so we should not build it to save space.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 14:00:31 +00:00
Michael Tremer
fef9a33846 kernel: Disable any runtime testing
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 14:00:21 +00:00
Michael Tremer
828d3d2525 kernel: Disable SLUB debugging
This is not necessary on our systems and according to the documentation
will reduce code size of the allocator which will result in better
performance.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 14:00:10 +00:00
Michael Tremer
034a2402fc kernel: Enable Pressure Stall Information
This is a new type of metric to find out what resource is currently a
bottleneck for the whole system. We might use this for graphs.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 13:59:51 +00:00
Michael Tremer
f58a8cb16f kernel: Disable IRQ time accounting
This feature is now disabled (was disabled on ARM before) as we do not
need it:

"Select this option to enable fine granularity task irq time accounting.
This is done by reading a timestamp on each transitions between softirq
and hardirq state, so there can be a small performance impact."

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 13:59:19 +00:00
Michael Tremer
c0932f8fbe kernel: Disable suspending systems to RAM
We do not make any use of this functionality

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 13:59:06 +00:00
Michael Tremer
0e83b0d03c kernel: Change timer tick to 1000Hz
This change is required to make the system respond faster to any
realtime events (sending or receiving data packets).

It will wake up at least one core 1000 times a second which will result
in finer timer granularity and make scheduling smoother. HTB for
example sends large packet bursts on each timer even to keep up data
rates which is not helpful for most applications.

The change might increase resource consumption and overhead slightly on
some systems, but since we are running in an idle-dyntick configuration,
we should not keep awake any cores that have not been awake before.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 13:58:57 +00:00
Arne Fitzenreiter
f06578af15 core161: start updater
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-20 13:57:26 +00:00
Adolf Belka
8c855a5892 libyang: New dependency for frr build
- Impementation of libyang-2.0.7 as a dependency for the build of frr
- Creation of rootfile with all entries commented out so that it is only used for the build
   libyang is a YANG data modelling language parser and toolkit written (and providing API)
   in C.In the future if there is demand to use these functions in frr then this package
   may need to be moved from a build only option to a dependency for frr providing the
   yang libraries.
- Added into make.sh just before frr

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-17 09:01:16 +00:00
Adolf Belka
6594738bb6 frr: Update to version 8.0.1
- This v2 version used the frr-8.0.1 source instead of the frr-frr-8.0 source
- Update from 6.0 to 8.0.1
- 8.0.1 requires libyang for the build. Introduced with separate patch in this series.
- 6.0 is only compilable with python2.
  python3 compatability was introduced in version 7.4
- Previously confirmed that building frr-8.0 was successful with only python3 available
- Added --disable-static to the ./configure options.
- Rootfile updated
- Changelog from 6.0 to 8.0.1 is too large to include here. It can be viewed to obtain
   more details at https://github.com/FRRouting/frr/releases

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-17 09:01:12 +00:00
Adolf Belka
875f43830e freeradius: Update to 3.0.23 and disable python to allow running without python2
- Added --without-rlm_python to ./configure to allow running without python2
- Updated rootfile
- Updated patch for preventing cert generation during buildtime to work with new
   version of source code
- Update from 3.0.21 to 3.0.23

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-12 17:59:00 +00:00
Arne Fitzenreiter
3c691bcc7c Revert "client175: Convert python2 modules in source tarball to python3"
This reverts commit 6d11cd4375.

At my tests the server will not start because missing deps of cherrypy and not all files are properly converted yet.
2021-09-12 14:51:10 +00:00
Arne Fitzenreiter
cc84ba62f2 core160: apply ssh config, start/stop IPSec and set need_reboot flag
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-12 14:11:12 +00:00
Arne Fitzenreiter
8f5509c588 update-contributors
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-12 09:42:47 +00:00
Arne Fitzenreiter
fbd9b7e15e core160: add updatexlerator.cgi
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-12 09:39:20 +00:00
Leo-Andres Hofmann
21a6d01296 updatexlrator.cgi: Fix max disk usage input size
Increase to 3 digits to fit a percentage number.

Fixes: #12675

Reported-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-12 09:36:33 +00:00
Adolf Belka
b5dcd0daa4 updatexlrator.cgi: Fix Bug 10477 - Update Accelerator disk usage statistics are very cramped in 2.15 beta1
- This bug has been open for a long time and is still valid. The Cache statistics on
   the Update accelerator configuration page are jammed closely together making it
   not so easy to see what the numbers are.
- Implemented similar approach as used on the Memory table section of the Memory
   information page.
- Installed on vm testbed machine and confirmed to provide the desired layout.

Tested-by Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-12 09:35:58 +00:00
Adolf Belka
fa4b961179 Update language files: fix for Bug 12671 - remove evil spirits - demon vs daemon
- demon used in place of daemon in the language files
- This patch corrects that and fixes bug #12671

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-12 09:34:47 +00:00
Leo-Andres Hofmann
6eb9d445bc getrrdimage.cgi: Fix supported origins list
Support for the graphs of "services.cgi" is implemented,
but it was forgotten to add this to the list of origins.
This patch fixes the list and prevents possibly missing graphs.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-12 09:34:08 +00:00
Arne Fitzenreiter
f6e9b2a4b1 core160: add ovpnmain.cgi
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-12 09:31:19 +00:00
Leo-Andres Hofmann
d5f11f4e27 ovpnmain.cgi: Remove unnecessary check/error message
This parameter can either be "host" or "net", but the existing check
only allows "net" entries. Since other entries are also valid but
don't require further action, this patch removes the error message.

Fixes: #12686

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-12 09:29:15 +00:00
Arne Fitzenreiter
b9a0d7065b network_functions: fix _get_wireless_status function
the function has returned the number of lines instead of the output itself.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-12 10:55:43 +02:00
Arne Fitzenreiter
812faee44d samba: update rootfiles
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-11 08:46:48 +00:00
Adolf Belka
305e6ea60b spice-protocol: Update to 0.14.3 and enable build without python2
- v2 version adds $(MAKETUNING) variable to ninja build command
- Update from 0.12.13 to 0.14.3
- Update rootfile
- Remove automake py-compile line from lfs. This only works with python2
   Not clear why this line was put into the lfs. Searched the documentation of spice
   and qemu and could not find any reference to needing any of the python modules in spice
   to be installed either as modules or compiled in. The only references found in general
   searches were to modules such as python-virtinst, python-spice-client-gtk or
   python-websockify, none of which are in the python modules in spice.
- Removing the automake py-compile line from the lfs enables spice-protocol, spice and
   qemu to build without python2 being present.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-10 16:57:06 +00:00
Adolf Belka
919a0943ff spice: Update version to 0.15.0
- v2 version of series to add $(MAKETUNING) variable to ninja in spice-protocol
- Update from 0.14.0 to 0.15.0
- Update rootfile
- Version 0.15.0 of spice requires version 0.14.3 or higher of spice-protocol
- Changelog
   Major Changes in 0.15:
    This is the first release in the new 0.15.x stable series. This release should
    be ready for production use.
     * Minor updates to CI
     * Some compatibility with OpenSSL
     * Change the behavior of handle_dev_start ignoring multiple start requests
     * Ignore multiple calls to handle_dev_stop
     * Pick up newer spice-common to fix a buffer overflow issue
   Major Changes in 0.14.91:
    **IMPORTANT**
    0.14.91 is the first release candidate for the stable 0.15.x series. While some
    bugs might still be present, it should be reasonably stable. If you are looking
    for stability for daily use, please keep using the latest 0.14.x release.
     * Support UNIX abstract sockets
     * Fix some potential thread race condition in RedClient
     * Many cleanups in the code
     * Improve migration test script
     * Update in protocol documentation
     * Improve Meson build
     * Removed CELT support
     * Update CI
     * Removed QXLWorker definition, it was deprecated 6 years ago
     * Fix some compatibility with MacOS
     * Fix some compatibility with Windows
     * Move the project to C++
     * Some fixes for SASL dealing with WebDAV
     * Fix minor Coverity reports
     * Add Doxygen support, manually built with "make doxy"
     * Support more mouse buttons (up to 16 buttons)
     * CVE-2020-14355 multiple buffer overflow vulnerabilities in QUIC decoding
       code
   Major Changes in 0.14.3:
    Main changes are WebSocket and support for Windows.
     * Add support for WebSocket, this will allow to use spice-html5 without proxy
     * Support Windows, now Qemu Windows can be build enabling Spice
     * Fix some alignment problem
     * Converted some documentation to Asciidoc format to make easier to update,
       updated some
     * Minor compatibility fix for PPC64EL and ARMHF
     * Minor fixes for big endian machines like MIPS
     * Avoid some crashes with some buggy guest drivers, simply ignore the invalid
       request
     * Fix for old OpenSSL versions
     * Minor fix for Windows clients and brushes, fixed an issue with Photoshop
       under Windows 7
     * Add ability to query video-codecs
     * Small use-after-free fix
     * Fix for debugging recording/replaying using QUIC images
     * Fix a regression where spice reported no monitors to the client
     * Fix DoS in spicevmc if WebDAV used
     * Updated and improved test migration script
     * Some minor fixes to smartcard support
     * Avoid possible disconnection using proxies using a in-flow keepalive
       mechanism
   Major Changes in 0.14.2:
    Main changes are support for Meson build and graphic device info
    messages allowing to better support multi-monitor configurations.
     * CVE-2019-3813: fix off-by-one error in group/slot boundary check
     * support H265 in stream-channel
     * add support for building with meson/ninja
     * minor tests fixes improving CI
     * set char device state for smartcard, allowing Qemu optimization
     * improve red-parse-qxl.c interface making it more consistent
     * add some instrumentation for streaming device
     * QXL interface: add a function to identify monitors in the guest
       (spice_qxl_set_device_info)
     * add support for GraphicsDeviceInfo messages
     * video-stream: prevent crash on stream reattach
     * make channel client callbacks virtual functions
     * bumped minimum required glib version to 2.38
     * attempt to have a reliable led state for keyboard modifiers
   Major Changes in 0.14.1:
    The main change in this release is the addition of a new protocol extension
    in order to support streaming the remote display as a video stream rather than
    going through the QXL protocol. Together with spice-streaming-agent, and/or with
    more work on the qemu/spice-server side, this should allow streaming of 3D
    accelerated VMs in the future. At this point, this part of spice-server is
    still a work in progress (multi-monitor support and various features are
    missing).
     * add new org.spice-space.stream.0 channel used for passing an encoded video
       stream from the guest to the client
     * add support for TCP_CORK to reduce the amount of packets that we send
     * fix CVE-2018-10873
     * fix cursor related migration crash
     * fix regression causing sound recording to be muted after
       client disconnection/reconnection (introduced in 0.13.90)
     * fix regression in corner cases where images could be sent uncompressed
       when they used to be compressed with QUIC
     * disable TLS 1.0 support
     * CELT 0.5.1 support is now disabled by default. If celt051-devel is installed
       at build-time, --enable-celt051/--disable-celt051 must be explicitly specified
     * drop support for unsupported OpenSSL version. OpenSSL 1.0.0 or newer is now
       required
     * bumped minimum required glib version to 2.32
     * endianness fixes
     * (small) leak fixes
     * usual round of code cleanups
     * not directly related to this release, but the upstream git repository is now
       hosted on gitlab.freedesktop.org

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-10 16:57:06 +00:00
Arne Fitzenreiter
710838b045 core160: add libtasn1 and p11-kit
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-10 16:57:06 +00:00
Adolf Belka
7c5041698c libtasn1: New program required as build dependency for p11-kit
- creation of lfs and rootfile for libtasn1

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-10 16:57:06 +00:00
Adolf Belka
fbd7a03e78 p11-kit: New program required for python3 compatibility of ca-certificates
- creation of lfs and rootfile for implementation of p11-kit

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-10 16:57:06 +00:00
Adolf Belka
40cdf8962a make.sh: Added p11-kit and libtasn1 for python3 based ca-certificates approach
- p11-kit required for certs extraction in building of python3 compatible ca-certificates
- p11-kit requires libtasn1 as a build dependency
- p11-kit and libtasn1 added to make.sh

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-10 16:57:06 +00:00
Adolf Belka
043abb984b ca-certificates: Update to work with python3 version of certdata2pem.py
- Implement python3 version of certdata2pem.py script from fedora
- Modify build.sh to work with python3 script that uses p11-kit based on fedora
   approach - https://src.fedoraproject.org/rpms/ca-certificates/tree/rawhide
- Extraction of cert files now uses p11-kit which requires libtasn1 as a build
   dependency
- Updated rootfile
- Updated ca-certificates installed into a vm and confirmed to download a file from an
   https site with the same results as with existing ca-certfictaes system

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-10 16:57:06 +00:00
Arne Fitzenreiter
5b4fc4c849 core160: add ssh changes and stop/start ipsec at update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-10 16:57:06 +00:00