Commit Graph

17793 Commits

Author SHA1 Message Date
Stefan Schantl
338cde5553 rust-cipher: New package.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-02 19:43:24 +00:00
Stefan Schantl
25a0339838 rust-generic-array: New package.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-02 19:43:24 +00:00
Stefan Schantl
b324df6b4b rust-version-check: New package.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-02 19:43:24 +00:00
Stefan Schantl
3062c37a29 rust-typenum: New package.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-02 19:43:24 +00:00
Stefan Schantl
6528a858c8 rust-getrandom: New package.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-02 19:43:24 +00:00
Stefan Schantl
4307805fd3 rust-libc: New package.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-02 19:43:24 +00:00
Stefan Schantl
df47bf8b0d rust-cfg-if: New package.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-02 19:43:24 +00:00
Michael Tremer
321e91cd23 rust-dissimilar: New package
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-02 19:43:24 +00:00
Stefan Schantl
150de02e75 rust: Build rust and all packages later when Python 3 is available
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-02 19:43:24 +00:00
Michael Tremer
ab7afad56c core164: Ship jq
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-02 19:39:21 +00:00
Michael Tremer
06fd5cdd8c Config: Remove /root/.cargo
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-01 13:50:44 +00:00
Michael Tremer
f50da967e8 rust: Upgrade to nightly build from today
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-01 13:50:32 +00:00
Michael Tremer
5352e92361 rust: Add script to automatically generate packages
This is a very tiring and repetitive process which is now automated in
this script which will find the latest version and create a LFS file for
it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-01 13:50:32 +00:00
Michael Tremer
4f6d6c4123 rust: Enable more checks for when to install package files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-01 13:50:32 +00:00
Michael Tremer
c16dd3aa0c rust: Add switch to skip bin check
This does not seem to work very reliable, so we need manually disable
this for some packages.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-01 13:50:32 +00:00
Michael Tremer
1aab9dfb5d rust: Avoid requiring development dependencies
Cargo will always require all depenendencies, even if the package is not
being built against them. In order to avoid that, we will need the
nightly build of the Rust compiler which supports skipping those
dependencies.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-01 13:50:32 +00:00
Michael Tremer
942b7d0d41 rust: List all files copied
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-01 13:50:32 +00:00
Michael Tremer
4f2a9813c0 make.sh: Add some commands to build Rust packages
This is a small set of commands that will be needed to build Rust
packages.

The idea is to have a couple of macros which do not have to rewritten,
but can be customised across the lfs files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-01 13:50:32 +00:00
Michael Tremer
c9fb880835 jq: New package
This allows parsing JSON strings on the console

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-01 13:50:32 +00:00
Michael Tremer
c75e90c8dc make.sh: Set a good default for rustc flags
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-01 13:48:24 +00:00
Arne Fitzenreiter
6b184642d2 leds: fix R4S sys led name at shutdown
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-30 08:50:22 +00:00
Arne Fitzenreiter
2ebbe5e105 core164: add u-boot and initskript for leds and partresize
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-29 20:36:23 +00:00
Arne Fitzenreiter
75c9d8c20c u-boot: add/fix NanoPi R2S and R4S
-update arm-trusted firmware to 2.6
-fix mac address generation on R2S because the CPUID fuses are not uniqe
-add support for NanoPi R4S

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-29 20:32:02 +00:00
Arne Fitzenreiter
75ccf29897 initskript leds: add NanoPi R4S
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-29 20:31:12 +00:00
Arne Fitzenreiter
b2b4417857 kernel: update to 5.15.17
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-29 20:30:21 +00:00
Peter Müller
15de7a78fe Revert "perl-libwww: Update to version 6.60 and rename from libwww-perl to perl-libwww"
This reverts commit 976b84ccb6.

See: https://bugzilla.ipfire.org/show_bug.cgi?id=12769#c4

Reported-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Cc: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-29 09:40:36 +00:00
Peter Müller
12f867444d Revert "Core Update 164: Ship perl-libwww and delete obsolete files"
This reverts commit e0a904f56a.

See: https://bugzilla.ipfire.org/show_bug.cgi?id=12769#c4

Reported-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Cc: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-29 09:38:56 +00:00
Peter Müller
397050eb22 Merge branch 'next' into temp-c164-development 2022-01-29 09:38:37 +00:00
Arne Fitzenreiter
7ef1698217 Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next 2022-01-28 14:49:50 +00:00
Arne Fitzenreiter
d68f875d61 kernel: enable support for compressed firmwares
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-28 14:44:03 +00:00
Arne Fitzenreiter
e385c965fa kernel: aarch64 enable KVM support
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-28 11:24:44 +00:00
Peter Müller
3bd2e49dda Core Update 164: Ship log.dat
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-25 17:34:05 +00:00
Matthias Fischer
8f58e6612b log.dat: Fix an error with 'monit' logging too much data.
Making the regex "non-greedy" fixes an error Jon found.

'monit' logged a whole line from '/var/log/messages' where it should only log the first part.

Reference:
https://www.ultraedit.com/support/tutorials-power-tips/ultraedit/non-greedy-perl-regex.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-25 17:33:00 +00:00
Peter Müller
e0a904f56a Core Update 164: Ship perl-libwww and delete obsolete files
Reported-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-25 16:50:26 +00:00
Peter Müller
e0d7964a6c Core Update 164: Ship Bind
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-25 16:39:13 +00:00
Matthias Fischer
ebbe05695d bind: Update to 9.11.25
For details (v9.16.22-v9.16.25) see:
https://downloads.isc.org/isc/bind9/9.16.25/doc/arm/html/notes.html#notes-for-bind-9-16-25

"Notes for BIND 9.16.25
Feature Changes

    Overall memory use by named has been optimized and reduced,
    especially on systems with many CPU cores. The default memory
    allocator has been switched from internal to external. A new
    command-line option -M internal allows named to be started with the
    old internal memory allocator. [GL #2398]

Bug Fixes

    On FreeBSD, TCP connections leaked a small amount of heap memory,
    leading to an eventual out-of-memory problem. This has been fixed.
    [GL #3051]

    If signatures created by the ZSK were expired and the ZSK private
    key was offline, the signatures were not replaced. This behavior has
    been amended to replace the expired signatures with new signatures
    created using the KSK. [GL #3049]

    Under certain circumstances, the signed version of an inline-signed
    zone could be dumped to disk without the serial number of the
    unsigned version of the zone. This prevented resynchronization
    of the zone contents after named restarted, if the unsigned zone
    file was modified while named was not running. This has been fixed.
    [GL #3071]
...
"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
2022-01-25 16:39:02 +00:00
Peter Müller
e975769800 Core Update 164: Ship pciutils
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-25 16:38:23 +00:00
Peter Müller
34a98832ee pciutils: Update to 3.7.0
Please refer to https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/log/
for a history of this release. Sourcecode retrieved from https://mj.ucw.cz/download/linux/pci/ .

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-25 16:38:09 +00:00
Peter Müller
b0759cc31c Core Update 164: Ship libyang
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-25 16:35:29 +00:00
Michael Tremer
b0fbd41651 frr: Depend on elfutils
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
2022-01-25 16:35:12 +00:00
Michael Tremer
853717ba40 libyang: Include in the core distribution
This isn't only a build dependency for FRR, but is required at runtime
as well.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
2022-01-25 16:35:05 +00:00
Arne Fitzenreiter
8b4396559b network-aqm: don't set cake for imq/ifb devices
fixes: #12765

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-24 16:19:26 +00:00
Arne Fitzenreiter
e22b42571a libvirt: enabled on aarch64
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-23 08:03:06 +00:00
Arne Fitzenreiter
8d01ff736d qemu: enable on and for all supported architectures
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-22 09:51:03 +00:00
Arne Fitzenreiter
48ec07649f qemu-ga: resolve conflict by using binary from qemu built
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-21 16:23:00 +00:00
Arne Fitzenreiter
0aec7cbf41 core164: add kernel to update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-21 10:09:22 +00:00
Arne Fitzenreiter
c18dda556b kernel: update to 5.15.16
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-21 10:06:22 +00:00
Peter Müller
9f3f612a5f Core Update 164: Ship and apply sysctl changes
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-19 17:47:19 +00:00
Peter Müller
d21e6d94cb sysctl.conf: Enable Loose Reverse Path Filter according to RFC 3704
For historical reasons, we were always reluctant to reverse path
filtering, since configuration changes were tricky to evaluate for a
larger userbase, IPFire permits a number of complex scenarios, and due
to limited resources.

As a compromise, this patch suggests to enable Loose Reverse Path
Filtering, as specified in RFC 3704 (section 2.4), to gain at least some
security achievement on this end.

To quote from that:

   Loose Reverse Path Forwarding (Loose RPF) is algorithmically similar
   to strict RPF, but differs in that it checks only for the existence
   of a route (even a default route, if applicable), not where the route
   points to.  Practically, this could be considered as a "route
   presence check" ("loose RPF is a misnomer in a sense because there is
   no "reverse path" check in the first place).

   The questionable benefit of Loose RPF is found in asymmetric routing
   situations: a packet is dropped if there is no route at all, such as
   to "Martian addresses" or addresses that are not currently routed,
   but is not dropped if a route exists.

There is no legitimate reason why we cannot enable this: If IPFire
receives a packet on some interface it cannot route on _any_ interface
at all, there is no sense in processing it.

While testing this change, I was unable to produce a situation where it
actually causes any harm. In theory, it shouldn't do so anyways.

In the future, we will hopefully be able to set these sysctl's to "1",
using Strict Reverse Path Filtering, as specified in RFC 3704 (section
2.2). Doing so was found to work fine in my testing environment as well,
but there is no asymmetric routing in place there.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-19 17:45:04 +00:00
smooky@v16.de
df0635abb5 New Addons: qemu-ga 6.0.1 second try
>>> https://www.qemu.org/ <<<

source = https://download.qemu.org/qemu-6.0.1.tar.xz

Hi @ all

I have the addon qemu-ga for people who virtualize IPFire and to read the status
without having to install the whole qemu package.
Modified following Michael's suggestions.

Signed-off-by: Marcel Follert (Smooky) <smooky@v16.de>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-01-18 21:26:56 +00:00