feed/routing.git
4 days agoluci-app-olsrd2: upgrade uci-defaults for ucitrack handling to use json master
Florian Eckert [Thu, 11 Apr 2024 14:37:28 +0000 (16:37 +0200)]
luci-app-olsrd2: upgrade uci-defaults for ucitrack handling to use json

Conversion of the 'uci-defaults' script for ucitrack handling to the new
json processing.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
4 days agocjdns: upgrade uci-defaults for ucitrack handling to use json
Florian Eckert [Thu, 11 Apr 2024 14:30:13 +0000 (16:30 +0200)]
cjdns: upgrade uci-defaults for ucitrack handling to use json

Conversion of the 'uci-defaults' script for ucitrack handling to the new
json processing.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
12 days agotreewide: refresh hashes after move to use ZSTD as default
Robert Marko [Sun, 7 Apr 2024 15:35:58 +0000 (17:35 +0200)]
treewide: refresh hashes after move to use ZSTD as default

With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agocjdns: switch version to be APK compatible (#1060)
Paul Spooren [Sun, 7 Apr 2024 11:46:59 +0000 (13:46 +0200)]
cjdns: switch version to be APK compatible (#1060)

13 days agomesh11sd: update to version 3.1.1
Rob White [Sat, 6 Apr 2024 08:03:07 +0000 (09:03 +0100)]
mesh11sd: update to version 3.1.1

Maintainer: Rob White rob@blue-wave.net

Compile tested: All

Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, mips_24kc, aarch64_cortex-a53, x86-64
    On 23.5 and master/snapshot.

Description:
    mesh11sd (3.1.1)
    This release contains several bug fixes.
    These fixes include improved ndp scan and more reliable peer node identification.

Details can be found here:
    https://github.com/openNDS/mesh11sd/releases/tag/v3.1.1

Signed-off-by: Rob White <rob@blue-wave.net>
13 days agoMerge pull request #1055 from ecsv/batadv-2024.1
Simon Wunderlich [Sat, 6 Apr 2024 08:39:13 +0000 (10:39 +0200)]
Merge pull request #1055 from ecsv/batadv-2024.1

batman-adv: update packages to version 2024.1

2 weeks agobatman-adv: update to version 2024.1 1055/head
Sven Eckelmann [Fri, 5 Apr 2024 19:35:20 +0000 (21:35 +0200)]
batman-adv: update to version 2024.1

* support latest kernels (4.19 - 6.9)
* coding style cleanups and refactoring
* bugs squashed:
  - avoid infinite loop while trying to resize local translation table

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 weeks agobatctl: update to version 2024.1
Sven Eckelmann [Fri, 5 Apr 2024 19:35:20 +0000 (21:35 +0200)]
batctl: update to version 2024.1

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 weeks agoalfred: update to version 2024.1
Sven Eckelmann [Fri, 5 Apr 2024 19:35:20 +0000 (21:35 +0200)]
alfred: update to version 2024.1

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 weeks agomesh11sd: update to version 3.1.0
Rob White [Thu, 21 Mar 2024 20:39:24 +0000 (20:39 +0000)]
mesh11sd: update to version 3.1.0

Maintainer: Rob White rob@blue-wave.net

Compile tested: All

Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, mips_24kc, aarch64_cortex-a53, x86-64
    On 23.5 and master/snapshot.

Description:
    mesh11sd (3.1.0)
    This release contains new functionality and numerous fixes.
    New functionality includes support of non-mesh segments of backhaul
    with blocking of bridge loops and spanning tree priority settable in the configuration

Details can be found here:
    https://github.com/openNDS/mesh11sd/releases/tag/v3.1.0

Signed-off-by: Rob White <rob@blue-wave.net>
3 weeks agoci: set correct arch for rootfs tests
Paul Spooren [Thu, 14 Mar 2024 13:46:15 +0000 (14:46 +0100)]
ci: set correct arch for rootfs tests

With the commit 01e5cfc "CI: Add target/arch tags (no suffix) for
snapshot images"[1] the os/platform is set for all images, which is usually
different from what the GitHub action runner uses (x86). The Docker
deamon still tries to fetch the x86 version and fails.

This commit explicitly sets the fitting arch.

[1]: https://github.com/openwrt/docker/commit/01e5cfccd73a72ecab730496607c7c22b904f366

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit d359fa04eda29638b9326c194490685c1177fd49)

3 weeks agoci: no longer require real name
Paul Spooren [Wed, 10 Jan 2024 16:22:54 +0000 (17:22 +0100)]
ci: no longer require real name

This goes in accordance with the Linux Kernel:

> using a known identity (sorry, no anonymous contributions.)

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=HEAD#n442

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 7e6cd98ad481184b1a620a9862aa3713d1ab85cc)

2 months agoMerge pull request #1045 from ecsv/batadv-2024.0
Simon Wunderlich [Mon, 5 Feb 2024 09:54:07 +0000 (10:54 +0100)]
Merge pull request #1045 from ecsv/batadv-2024.0

batman-adv: Provide teardown hook for batadv_vlan proto

2 months agobatman-adv: Provide teardown hook for batadv_vlan proto 1045/head
Sven Eckelmann [Mon, 5 Feb 2024 07:52:23 +0000 (08:52 +0100)]
batman-adv: Provide teardown hook for batadv_vlan proto

The batadv_vlan proto doesn't need to do anything when it gets teared down.
But the scripts are still trying to call the teardown function of this
proto. This results in warnings like:

    daemon.notice netifd: batmesh1 (18940): ./batadv_vlan.sh: eval: line 37: proto_batadv_vlan_teardown: not found

Just providing a stub function avoids this log spam.

Fixes: #1044
Reported-by: Rani Hod <rani.hod@gmail.com>
Fixes: f5205d7d2434 ("batman-adv: upgrade package to latest release 2014.2.0")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 months agobatman-adv: update to version 2024.0
Sven Eckelmann [Fri, 2 Feb 2024 21:46:09 +0000 (22:46 +0100)]
batman-adv: update to version 2024.0

* support latest kernels (4.19 - 6.8)
* coding style cleanups and refactoring
* add stateless multicast packet format support

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 months agobatctl: update to version 2024.0
Sven Eckelmann [Fri, 2 Feb 2024 21:45:32 +0000 (22:45 +0100)]
batctl: update to version 2024.0

* add stateless multicast packet format support
* bugs squashed:
  - Fix various length checks in tcpdump-like subcommand

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 months agoalfred: update to version 2024.0
Sven Eckelmann [Fri, 2 Feb 2024 21:44:57 +0000 (22:44 +0100)]
alfred: update to version 2024.0

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agoMerge pull request #1038 from ecsv/batadv-2023.3
Simon Wunderlich [Sat, 23 Dec 2023 17:05:57 +0000 (18:05 +0100)]
Merge pull request #1038 from ecsv/batadv-2023.3

batman-adv: compat: Fix skb_vlan_eth_hdr conflict in stable kernels

3 months agobatman-adv: compat: Fix skb_vlan_eth_hdr conflict in stable kernels 1038/head
Sven Eckelmann [Sat, 23 Dec 2023 10:55:49 +0000 (11:55 +0100)]
batman-adv: compat: Fix skb_vlan_eth_hdr conflict in stable kernels

The newest Linux stable kernel releases:

* v5.10.205
* v5.15.144
* v6.1.69

received a backported version of commit 1f5020acb33f ("net: vlan: introduce
skb_vlan_eth_hdr()"). batman-adv must therefore not provide this function
any longer for these kernel versions.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 months agoopennds: update to version 10.2.0
Rob White [Thu, 23 Nov 2023 16:06:11 +0000 (16:06 +0000)]
opennds: update to version 10.2.0

Maintainer: Rob White rob@blue-wave.net

Compile tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64

Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64; on snapshot, 23.05, 22.03

Description:
opennds (10.2.0) - This version is a minor upgrade that introduces some significant additional functionality.
In addition it includes numerous enhancements bug fixes and cosmetic fixes.

Additional functionality includes:

 * Pre-emptive Client Lists
 * Autonomous Block Lists
 * Internet hosted https FAS support for resource limited routers
 * Fair Usage Policy

Details can be found here:
https://github.com/openNDS/openNDS/releases/tag/v10.2.0

Signed-off-by: Rob White <rob@blue-wave.net>
5 months agoMerge pull request #1033 from ecsv/batadv-2023.3
Simon Wunderlich [Fri, 17 Nov 2023 21:05:13 +0000 (22:05 +0100)]
Merge pull request #1033 from ecsv/batadv-2023.3

batman-adv: update packages to version 2023.3

5 months agobatman-adv: update to version 2023.3 1033/head
Sven Eckelmann [Fri, 17 Nov 2023 20:31:47 +0000 (21:31 +0100)]
batman-adv: update to version 2023.3

* support latest kernels (4.14 - 6.7)
* coding style cleanups and refactoring
* only warn about too small MTU when soft interfaces wasn't already reduced
* bugs squashed:
  - Hold rtnl lock during MTU update via netlink

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 months agobatctl: update to version 2023.3
Sven Eckelmann [Fri, 17 Nov 2023 20:31:28 +0000 (21:31 +0100)]
batctl: update to version 2023.3

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 months agoalfred: update to version 2023.3
Sven Eckelmann [Fri, 17 Nov 2023 20:30:59 +0000 (21:30 +0100)]
alfred: update to version 2023.3

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 months agocjdns: always build without ccache prefix
William Fleurant [Sun, 29 Oct 2023 09:05:17 +0000 (10:05 +0100)]
cjdns: always build without ccache prefix

Signed-off-by: William Fleurant <meshnet@protonmail.com>
5 months agonodogsplash: explicit file copy
Moritz Warning [Tue, 10 Oct 2023 18:51:00 +0000 (20:51 +0200)]
nodogsplash: explicit file copy

Signed-off-by: Moritz Warning <moritzwarning@web.de>
6 months agobird2: bump to version 2.14
Bradford Zhang [Sat, 7 Oct 2023 13:41:10 +0000 (21:41 +0800)]
bird2: bump to version 2.14

Signed-off-by: Bradford Zhang <zyc@zyc.name>
6 months agonodogsplash: update to version 5.0.2
Moritz Warning [Mon, 9 Oct 2023 22:35:21 +0000 (00:35 +0200)]
nodogsplash: update to version 5.0.2

Fix a buffer overflow in case the
query string is too long.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
6 months agoluci-app-bmx6: drop this because of security vulnerabilities
Josef Schlehofer [Thu, 28 Sep 2023 07:34:27 +0000 (09:34 +0200)]
luci-app-bmx6: drop this because of security vulnerabilities

DependencyBot, which are using is sending us emails about these CVEs:
CVE-2012-6708
CVE-2020-23064
CVE-2019-11358

This was reported to maintainer in April 2023, but no one stepped it to fix that,
so let's drop this.

Replacement could be luci-app-bmx7.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
6 months agobmx6: drop package
Josef Schlehofer [Thu, 28 Sep 2023 07:31:02 +0000 (09:31 +0200)]
bmx6: drop package

This package is no longer maintained by us or by upstream developers.
The last version in the GitHub repository is from 2020 with no activity so far.
We are using version 0.1-alpha.

Because LuCI app is vulnerable to several CVEs and DependencyBot still
sends emails about it, let's drop it.

If anyone wants, they can use bmx7.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
7 months agoopennds: update to version 10.1.3
Rob White [Mon, 28 Aug 2023 15:19:06 +0000 (16:19 +0100)]
opennds: update to version 10.1.3

Maintainer: Rob White rob@blue-wave.net

Compile tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64

Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64; on snapshot, 23.05, 22.03

Description:
opennds (10.1.3)

Security Advisory. This version contains fixes for multiple potential security vulnerabilities
Credit - Stanislav Dashevskyi - standash.github.io [standash]
It also contains some minor bug fixes

  * Fix - Buffer overflow causing segfault - CVE-2023-41101 [bluewavenet]
  * Fix - Memory leaks due to passing allocated buffer into safe_asprintf() - CVE-2023-41102 [bluewavenet]
  * Fix - Remove deprecated preauth option [bluewavenet]
  * Fix - missing free in show_preauth_page if MHD does not respond [bluewavenet]
  * Fix - more safe_asprintf memory leaks [bluewavenet]
  * Fix - missing free for mark_auth [bluewavenet]
  * Fix - memory leak after starting authmon daemon [bluewavenet]
  * Fix - memory leak in encode_and_redirect_to_splashpage [bluewavenet]
  * Fix - Community themespec, voucher css and logo image [bluewavenet]
  * Fix - ThemeSpec, path to logo in page footer [bluewavenet]
  * Fix - ensure gatewayurl is urldecoded to fix broken css and images in themespec [bluewavenet]
  * Add - set default fas remote fqdn to disabled [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
7 months agoMerge pull request #1015 from ecsv/batman-adv-2023.2
Simon Wunderlich [Wed, 23 Aug 2023 07:14:28 +0000 (09:14 +0200)]
Merge pull request #1015 from ecsv/batman-adv-2023.2

batman-adv: Fix lock assert after fragmentation change

7 months agobatman-adv: Fix lock assert after fragmentation change 1015/head
Sven Eckelmann [Tue, 22 Aug 2023 16:26:35 +0000 (18:26 +0200)]
batman-adv: Fix lock assert after fragmentation change

The automatic recalculation of the maximum allowed MTU is usually triggered
by code sections which are already rtnl lock protected by callers outside
of batman-adv. But when the fragmentation setting is changed via
batman-adv's own batadv genl family, then the rtnl lock is not yet taken.

But dev_set_mtu requires that the caller holds the rtnl lock because it
uses netdevice notifiers. And this code will then fail the check for this
lock:

  RTNL: assertion failed at net/core/dev.c (1953)

Fixes: e7ee4c55ded3 ("batman-adv: update to version 2023.2")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
8 months agoMerge pull request #1012 from ecsv/batman-adv-2023.2
Simon Wunderlich [Fri, 18 Aug 2023 15:06:22 +0000 (17:06 +0200)]
Merge pull request #1012 from ecsv/batman-adv-2023.2

batman-adv: update packages to version 2023.2

8 months agoalfred: update to version 2023.2 1012/head
Sven Eckelmann [Fri, 18 Aug 2023 14:01:22 +0000 (16:01 +0200)]
alfred: update to version 2023.2

* receive data with valid source on unix sock without active interface

Signed-off-by: Sven Eckelmann <sven@narfation.org>
8 months agobatctl: update to version 2023.2
Sven Eckelmann [Fri, 18 Aug 2023 14:01:22 +0000 (16:01 +0200)]
batctl: update to version 2023.2

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
8 months agobatman-adv: update to version 2023.2
Sven Eckelmann [Fri, 18 Aug 2023 14:01:22 +0000 (16:01 +0200)]
batman-adv: update to version 2023.2

* support latest kernels (4.14 - 6.5)
* bugs squashed:
  - avoid potential invalid memory access when processing ELP/OGM2 packets
  - drop pending DAT worker when interface shuts down
  - inform network stack about automatically adjusted MTUs
  - keep user defined MTU limit when MTU is recalculated
  - fix packet memory leak when sending OGM2 via inactive interfaces
  - fix TT memory leak for roamed back clients

Signed-off-by: Sven Eckelmann <sven@narfation.org>
8 months agomesh11sd: Release v2.0.0
Rob White [Mon, 31 Jul 2023 20:33:11 +0000 (21:33 +0100)]
mesh11sd: Release v2.0.0

Maintainer: Rob White rob@blue-wave.net
Compile tested: All
Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64, on 21.02, 22.03 and snapshot.

Description:
mesh11sd (2.0.0)

This release contains new functionality.

Autonomous portal mode is introduced. This simplifies the rollout of meshnodes allowing a common configuration to be used on all nodes.
Remote administration is introduced, allowing files to be copied and terminal sessions to be opened on established meshnodes, identifying remote nodes by mac address.

 * Add - Update config file [bluewavenet]
 * Add - implementation of remote copy [bluewavenet]
 * Add - implementation of remote connect [bluewavenet]
 * Add - Autonomous portal mode [bluewavenet]

-- Rob White dot@blue-wave.net Mon, 31 Jul 2023 16:59:52 +0000

Signed-off-by: Rob White <rob@blue-wave.net>
8 months agoopennds: Release v10.1.2
Rob White [Sun, 30 Jul 2023 20:02:17 +0000 (21:02 +0100)]
opennds: Release v10.1.2

Reinstate CONFLICTS:=nodogsplash

Signed-off-by: Rob White <rob@blue-wave.net>
8 months agoopennds: Release v10.1.2
Rob White [Sat, 29 Jul 2023 18:26:10 +0000 (19:26 +0100)]
opennds: Release v10.1.2

Maintainer: Rob White rob@blue-wave.net

Compile tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64

Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64; on snapshot, 23.05, 22.03

Description:
opennds (10.1.2)

Security Advisory. This version contains fixes for multiple potential security vulnerabilities
Credit - Stanislav Dashevskyi - standash.github.io [standash]
It also contains some minor bug fixes
  * Fix - Generate unique sha256 faskey if not set in config - CVE-2023-38324 [bluewavenet]
  * Fix - NULL pointer dereference if user_agent is NULL - CVE-2023-38320, CVE-2023-38322 [bluewavenet]
  * Fix - NULL pointer dereference if authdir is called with an incomplete or missing query string - CVE-2023-38313, CVE-2023-38314, CVE-2023-38315 [bluewavenet]
  * Fix - remove deprecated and non-functioning unescape callback - CVE-2023-38316 [bluewavenet]
  * Fix - prevent potential recursive dependency and detect if conflicting package is installed [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
8 months agonodogsplash: remove opennds from conflicts
Moritz Warning [Thu, 27 Jul 2023 19:03:57 +0000 (21:03 +0200)]
nodogsplash: remove opennds from conflicts

OpenNDS lists nodogsplash a conflict as well.
This causes a circular reference that is not allowed.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
8 months agobabeld: update to 1.13.1
Nick Hainke [Thu, 27 Jul 2023 09:19:09 +0000 (11:19 +0200)]
babeld: update to 1.13.1

Announcement:
https://alioth-lists.debian.net/pipermail/babel-users/2023-July/004125.html

Remove upstreamed patch:
- 100-local-make-local_kind-function-accessible.patch

Refresh patch:
- 600-add-ubus.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
8 months agonodogsplash: update to 5.0.1
Moritz Warning [Sat, 22 Jul 2023 17:12:29 +0000 (19:12 +0200)]
nodogsplash: update to 5.0.1

Signed-off-by: Moritz Warning <moritzwarning@web.de>
8 months agoquagga: Remove, as is no longer being developed
Marek Küthe [Fri, 21 Jul 2023 11:00:42 +0000 (13:00 +0200)]
quagga: Remove, as is no longer being developed

Closes https://github.com/openwrt/routing/issues/994

Signed-off-by: Marek Küthe <m.k@mk16.de>
8 months agoMerge pull request #995 from marek22k/master
Josef Schlehofer [Fri, 21 Jul 2023 18:01:49 +0000 (20:01 +0200)]
Merge pull request #995 from marek22k/master

bird1: Remove, as EOL has been reached

9 months agobird1: Remove, as EOL has been reached 995/head
Marek Küthe [Fri, 21 Jul 2023 10:28:35 +0000 (12:28 +0200)]
bird1: Remove, as EOL has been reached

Closes https://github.com/openwrt/routing/issues/993

Deprecation:
https://marc.info/?l=bird-users&m=168682998827356&w=2
https://trubka.network.cz/pipermail/bird-users/attachments/20230615/8517953d/attachment.pdf

Signed-off-by: Marek Küthe <m.k@mk16.de>
9 months agobabeld: update to 1.13
Nick Hainke [Tue, 18 Jul 2023 21:32:04 +0000 (23:32 +0200)]
babeld: update to 1.13

Announcement:
https://alioth-lists.debian.net/pipermail/babel-users/2023-July/004100.html

Babeld removed diversity routing [0], so we need to adjust ubus
bindings. Further. we need to add a patch that makes local_kind
accessible again: "100-local-make-local_kind-function-accessible.patch"

Refresh patches:
- 600-add-ubus.patch

[0] - https://github.com/jech/babeld/commit/a0816083356e5d33fb71e0e30d92aa3bf335d7ea

Signed-off-by: Nick Hainke <vincent@systemli.org>
9 months agoopennds: Release v10.1.1
Rob White [Fri, 14 Jul 2023 20:32:34 +0000 (21:32 +0100)]
opennds: Release v10.1.1

Maintainer: Rob White rob@blue-wave.net

Compile tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64

Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64; on snapshot, 23.05, 22.03

opennds (10.1.1)
  * This version contains some minor bug fixes and documentation updates
  * Fix - send only contents of buffer, not entire buffer when serving page511 [bluewavenet]
  * Fix - Set fas_remotefqdn to gw_fqdn when overriding FAS settings [bluewavenet]
  * Fix - use absolute path for css and images in ThemeSpec [bluewavenet]
  * Fix - revert to old option names without underscores [bluewavenet]
  * Fix - FAS URL when fas_remotefqdn is not set [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
9 months agobird2: bump to version 2.13.1
Bradford Zhang [Thu, 29 Jun 2023 16:03:37 +0000 (00:03 +0800)]
bird2: bump to version 2.13.1

Signed-off-by: Bradford Zhang <zyc@zyc.name>
9 months agoCI: update build architectures
Tianling Shen [Sun, 11 Jun 2023 05:28:03 +0000 (13:28 +0800)]
CI: update build architectures

- armvirt target has been renamed to armsr (Arm SystemReady) [1].
- armsr-armv8 has been switched to aarch64_generic architecture [2].

1. https://github.com/openwrt/openwrt/commit/40b02a230167626def69389452f19b7109aaeac1
2. https://github.com/openwrt/openwrt/commit/e0f06ddc23b2503a1791ae7e97b02e2647e8a70d

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
9 months agoCI: Add build test for riscv64_riscv64
Jeffery To [Fri, 2 Jun 2023 14:09:46 +0000 (22:09 +0800)]
CI: Add build test for riscv64_riscv64

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
9 months agoCI: Sort build architectures in alphabetical order
Jeffery To [Fri, 2 Jun 2023 14:04:38 +0000 (22:04 +0800)]
CI: Sort build architectures in alphabetical order

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
9 months agoCI: add concurrency rules to skip redundant build
Christian Marangi [Fri, 26 May 2023 12:43:12 +0000 (14:43 +0200)]
CI: add concurrency rules to skip redundant build

Add concurrency rules to skip redundant build to skip extra build test
on force push on pull request.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoCI: Do package run-tests only if target packages were built
Jeffery To [Wed, 10 May 2023 06:10:37 +0000 (14:10 +0800)]
CI: Do package run-tests only if target packages were built

Currently, the package run-test phase will fail for PRs that only
add/update host-only packages, as no target packages (*.ipk) are built.

This checks if any target packages are built before attempting the
run-tests.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
9 months agoCI: Run "apt-get update" before installing signify-openbsd
Jeffery To [Wed, 10 May 2023 05:51:59 +0000 (13:51 +0800)]
CI: Run "apt-get update" before installing signify-openbsd

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
9 months agoCI: Enable runtime_test for mips_24kc
Van Waholtz [Mon, 1 May 2023 11:04:24 +0000 (19:04 +0800)]
CI: Enable runtime_test for mips_24kc

Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
9 months agocache-domains: added pre-test.sh CI step
Gerard Ryan [Sat, 29 Apr 2023 06:25:49 +0000 (16:25 +1000)]
cache-domains: added pre-test.sh CI step

Some packages variants have conflicting dependencies with the
base packages and the CI test will fail to install before anything
can be done by the packages to setup the system for install.

This change adds a pre-test.sh that runs before the install so things
like the default libustream variant can be swapped out as shown in the
updated cache-domains.

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
9 months agoCI: Add local feed for CI-built packages
Jeffery To [Wed, 22 Mar 2023 07:46:13 +0000 (15:46 +0800)]
CI: Add local feed for CI-built packages

To test each package, the CI-built target package (ipk) file is
installed, but currently the target package's dependencies are installed
from the standard opkg feeds.

There are cases when the CI-built target packages should be
installed/tested together:

* If a pull request contains several new packages that depend on each
  other, the test step will fail as the new dependencies cannot be found
  in the current packages feed.

* If a pull request upgrades a source package that builds several target
  packages that depend on each other, the test step may fail due to the
  version/ABI mismatch between a newer target package and the older
  dependencies installed from the packages feed.

This sets up a local feed for the CI-built packages so that dependencies
are also installed from the same set of packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
9 months agoCI: Add --autoremove, ignore removal errors
Jeffery To [Tue, 21 Mar 2023 06:41:48 +0000 (14:41 +0800)]
CI: Add --autoremove, ignore removal errors

836b4e1c734f9705bfd8db0da0c04214c2647932 added
--force-removal-of-dependent-packages but it does not do what the commit
message says it does.

When package A depends on package B (package B is a dependency of
package A; package A is a dependent of package B), trying to remove
package B while package A is installed will result in an error. Adding
--force-removal-of-dependent-packages in this case will cause the
removal of package B and package A (package B's dependent).

But in the case of the CI testing step, it is package A that is being
installed and removed. Removing package A with
--force-removal-of-dependent-packages will not cause package B (package
A's dependency) to be removed.

This adds --autoremove to actually remove the package's dependencies.

This also ignores any errors returned by opkg remove as --autoremove can
sometimes falsely return an error[1].

[1]: https://github.com/openwrt/openwrt/issues/12241

Fixes: 836b4e1c734f ("github-ci: add --force-removal-of-dependent-packages")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
9 months agoCI: update build architectures
Tianling Shen [Thu, 9 Mar 2023 06:17:35 +0000 (14:17 +0800)]
CI: update build architectures

Removed arc_archs - archs38 was marked as source-only [1].
Renamed powerpc_8540 to powerpc_8548 [2].

1. https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=c01641bcc7236d2e2de3ea65444b0cf2898df351
2. https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=2cad88b99fdae9766de84e6c1cb56f111eb53748

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
9 months agoci: only comment AUTORELEASE deprecation if exists
Paul Spooren [Thu, 1 Dec 2022 20:02:10 +0000 (21:02 +0100)]
ci: only comment AUTORELEASE deprecation if exists

If it doesn't exists, don't confuse the contributors.

Signed-off-by: Paul Spooren <mail@aparcar.org>
9 months agoCI: deprecate $(AUTORELEASE) via comments
Paul Spooren [Wed, 16 Nov 2022 18:06:20 +0000 (19:06 +0100)]
CI: deprecate $(AUTORELEASE) via comments

Autorelease causes some issues like heavy bandwidth usage as well as
non-deterministic package releases whenever someone doesn't use the full
git log.

With this comment all modified packages are checked and if they use
the autorelease feature, kindly comment to the user to change that.

Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
[ move check to separate workflow to handle ci limitation ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoopennds: Release v10.1.0
Rob White [Mon, 19 Jun 2023 08:11:43 +0000 (09:11 +0100)]
opennds: Release v10.1.0

Maintainer: Rob White rob@blue-wave.net

Compile tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64

Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64; on snapshot, 23.05, 22.03

opennds (10.1.0)

  This version is a major upgrade including full migration to nftables
  and native uci configuration support even for generic Linux distributions.
  It also includes a significant refactoring of inbuilt memory management,
  improving long term reliability, fixing several memory leaks, buffer overflows and several edge case crashes.

  * Add - support for included custom binauth script [bluewavenet]
  * Add - emit a useful stderr message if auth_restore fails [bluewavenet]
  * Add - procd respawn threshold, respawn timeout and respawn retry parameters [bluewavenet]
  * Add - user friendly commandline message if already running [bluewavenet]
  * Fix - Enabling of Data volume quotas [bluewavenet]
  * Fix - use get_list_from_config instead of get_option_from_config [bluewavenet]
  * Fix - compiler warning - unused variable [bluewavenet]
  * Fix - remove redundant function call ipsetconf [bluewavenet]
  * Fix - walledgarden for both nftset and ipset on OpenWrt [bluewavenet]
  * Add - more meaningful output if attempt is made to restart when already running [bluewavenet]
  * Fix - resolve gatewayfqdn after startup [bluewavenet]
  * Fix - Choose forground or background running according to commandline arguments [bluewavenet]
  * Fix - remove superfluous debug message [bluewavenet]
  * Fix - replace sleep with procd_set_param term_timeout [bluewavenet]
  * Fix - make option enabled default to enabled [bluewavenet]
  * Fix - report authmon pid instead of opennds pid from authmon [bluewavenet]
  * Fix - ensure correct pid obtained for opennds [bluewavenet]
  * Add - StartLimitIntervalSec and StartLimitBurst to systemd service script [bluewavenet]
  * Fix - refactor remote downloads [bluewavenet]
  * Fix - suppress error message on ipset test failure [bluewavenet]
  * Fix - send non-syslog debug information to stdout by default [bluewavenet]
  * Add - C function to check heartbeat watchdog [bluewavenet]
  * Fix - Update generic Linux makefile [bluewavenet]
  * Fix - remove redundant ruleset struct definition [bluewavenet]
  * Fix - potential buffer overflow issue during config stage [bluewavenet]
  * Fix - remove unnecessary calls to free() in page 404 processing [bluewavenet]
  * Fix - remove redundant code from fw_iptables [bluewavenet]
  * Add - updates to binauth_log script [bluewavenet]
  * Add - updates for service startup, systemd and procd [bluewavenet]
  * Add - refactoring of commandline processing [bluewavenet]
  * Fix - remove debugging message [bluewavenet]
  * Fix - typo in client ruleset [bluewavenet]
  * Add - Refactor to use uci config directly even for Generic Linux [bluewavenet]
  * Add - Parsing for multi item lists with spaces in items [bluewavenet]
  * Add - use common library call get_option_fom_config [bluewavenet]
  * Add - support for direct use of uci format config file - string and integer parameters [bluewavenet]
  * Fix - Remove deprecated syslog_facility config setting [bluewavenet]
  * Add - thread busy message to ndsctl [bluewavenet]
  * Add - refactor configure_log_location [bluewavenet]
  * Fix - suppress LOG_NOTICE message when getting mac of interface [bluewavenet]
  * Fix - ndsctl error message [bluewavenet]
  * Fix - get_client_interface for levels 2 and 3 [bluewavenet]
  * Add - use common library write_log function [bluewavenet]
  * Add - Refactor memory management [bluewavenet]
  * Fix - fix and refactor upload rate limiting rules [bluewavenet]
  * Fix - Change a debug message from err to info [bluewavenet]
  * Add - refine common buffer sizes [bluewavenet]
  * Add - use initialised heap memory for redirect_to_splashpage [bluewavenet]
  * Add - user message to themespec [bluewavenet]
  * Add - auth_restore support ie reauth clients after a restart by default. [bluewavenet]
  * Add - Library call to preemptively re-auth clients after a restart or crash [bluewavenet]
  * Add - BinAuth, write an authenticated clients list [bluewavenet]
  * Add - library call "check_heartbeat" [bluewavenet]
  * Fix - Tidy up redundant code [bluewavenet]
  * Fix - change warning message to debug message when iw not installed [bluewavenet]
  * Add - library call to log to syslog [bluewavenet]
  * Fix - use initialised heap memory for client list entries [bluewavenet]
  * Fix - ignore legacy ipset firewall rule [bluewavenet]
  * Fix - refactor memory management for MHD calls - use heap memory for buffers etc [bluewavenet]
  * Fix - missing free causing memory leak [bluewavenet]
  * Fix  - predefine and initialise buffer for send_redirect_temp [bluewavenet]
  * Add - support protocol "all" in firewall ruleset [bluewavenet]
  * Add - pre-allocation of initialised buffers [bluewavenet]
  * Fix  - prevent buffer overrun on removing client [bluewavenet]
  * Add - update MHD connection timeout and connection limit [bluewavenet]
  * Add - chain ndsDLR for dynamic client download rate limiting rules [bluewavenet]
  * Add - Use Internal Polling Thread / Thread Per Connection in MHD [bluewavenet]
  * Add - some new default values [bluewavenet]
  * Fix - remove some redundant code and fix some compiler warnings [bluewavenet]
  * Fix - remove redundant library command string [bluewavenet]
  * Fix - Tidy up redundant iptables code [bluewavenet]
  * Add - convert trusted client support to nftables [bluewavenet]
  * Add - refer to nftables [bluewavenet]
  * Add - move code for generating authentication mark string to initial setup [bluewavenet]
  * Add - full nftset support with ipset import where required [bluewavenet]
  * Add - nftset support library calls [bluewavenet]
  * Add - ipset_to_nftset library call [bluewavenet]
  * Add - support for nftables version of append_ruleset and nftables_compile [bluewavenet]
  * Fix - buffer overflow in page_511 generation [bluewavenet]
  * Add - more nftables migration including rate quotas [bluewavenet]
  * Fix - change GatewayInterface to lower case [bluewavenet]
  * Add - upload and download limiting client flags for future use [bluewavenet]
  * add - lib calls "pad_string" and "replace_client_rule" [bluewavenet]
  * Add - further nftables migration [bluewavenet]
  * Fix - correctly parse options from legacy conf file [bluewavenet]
  * Fix - some compiler warnings and set min iptables version [bluewavenet]
  * Add - Generic Linux configure walledgarden [bluewavenet]
  * Add - Implementation of nftsets for walledgarden [bluewavenet]
  * Add - migration to nftables, next phase. [bluewavenet]
  * Add - library function delete_client_rule [bluewavenet]
  * Fix - remove duplicate definition [bluewavenet]
  * Add - First stage migration to nftables [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
10 months agoolsrd: update to 2023-06-12
Nick Hainke [Mon, 12 Jun 2023 10:42:42 +0000 (12:42 +0200)]
olsrd: update to 2023-06-12

Update to latest version.

Remove upstreamed patch:
- 100-rename-avl-to-olsrd_avl.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
10 months agoluci-app-olsrd2: add html table for all LAN prefixes
Patrick Grimm [Sun, 26 Feb 2023 11:06:16 +0000 (12:06 +0100)]
luci-app-olsrd2: add html table for all LAN prefixes

Maintainer: patrick@lunatiki.de @stargieg
Compile tested: mips_24kc, arm_cortex-a9_vfpv3-d16, i386_pentium4, x86_64, i386_pentium-mmx, mipsel_24kc
Run tested: Firefox, Safari

Description: add html table for all LAN prefixes instead of a list with the one/first prefix

Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
10 months agooonf-olsrd2: add support to check if service is running
Maciej Krüger [Sat, 9 Apr 2022 23:58:41 +0000 (01:58 +0200)]
oonf-olsrd2: add support to check if service is running

Signed-off-by: Maciej Krüger <mkg20001@gmail.com>
10 months agoMerge pull request #975 from ecsv/batadv-2023.1
Simon Wunderlich [Sat, 27 May 2023 19:59:55 +0000 (21:59 +0200)]
Merge pull request #975 from ecsv/batadv-2023.1

 batman-adv: update packages to version 2023.1

10 months agobatman-adv: Drop support for kernel < 5.15 975/head
Sven Eckelmann [Sat, 27 May 2023 10:15:47 +0000 (12:15 +0200)]
batman-adv: Drop support for kernel < 5.15

OpenWrt master is no longer providing any kernels older than 5.15. Just
drop the compat-hacks/patches for older kernels to make it easier to
maintain the package.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
10 months agoalfred: update to version 2023.1
Sven Eckelmann [Sat, 27 May 2023 10:10:09 +0000 (12:10 +0200)]
alfred: update to version 2023.1

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
10 months agobatctl: update to version 2023.1
Sven Eckelmann [Sat, 27 May 2023 10:09:50 +0000 (12:09 +0200)]
batctl: update to version 2023.1

* Synchronize with kernel headers

Signed-off-by: Sven Eckelmann <sven@narfation.org>
10 months agobatman-adv: update to version 2023.1
Sven Eckelmann [Sat, 27 May 2023 10:09:02 +0000 (12:09 +0200)]
batman-adv: update to version 2023.1

* support latest kernels (4.14 - 6.4)
* drop single unicast transfer optimization for unsnoopable IP addresses
* prepare infrastructure for multicast packets with multiple unicast destination
  addresses

Signed-off-by: Sven Eckelmann <sven@narfation.org>
11 months agocjdns: patch of gyp imports support python3.10 (#974)
William Fleurant [Sun, 21 May 2023 01:33:54 +0000 (03:33 +0200)]
cjdns: patch of gyp imports support python3.10 (#974)

11 months agoci: change default packages
Josef Schlehofer [Fri, 3 Mar 2023 10:04:50 +0000 (11:04 +0100)]
ci: change default packages

Since this file was taken from packages repository, it tries to compile
packages from that repository as fallback if changes are not detected.

Let's change these packages to some, which are present in this
repository, so they will be compiled as test.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
11 months agogithub-ci: error on any shell errors
Alois Klink [Wed, 23 Nov 2022 18:37:01 +0000 (18:37 +0000)]
github-ci: error on any shell errors

Enable `errexit` and `nounset` [POSIX shell options][1]
in `.github/workflows/entrypoint.sh` so that the script fails
if any command within the script fails.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799//utilities/V3_chap02.html#set

Reported-by: Marius Dinu <m95d+git@psihoexpert.ro>
Fixes: https://github.com/openwrt/packages/issues/19953
Signed-off-by: Alois Klink <alois@aloisklink.com>
11 months agobird2: bump to version 2.13
Bradford Zhang [Sat, 13 May 2023 13:55:27 +0000 (21:55 +0800)]
bird2: bump to version 2.13

Signed-off-by: Bradford Zhang <zyc@zyc.name>
11 months agotreewide: remove AUTORELEASE
Nick Hainke [Wed, 26 Apr 2023 09:40:36 +0000 (11:40 +0200)]
treewide: remove AUTORELEASE

OpenWrt/packages removed AUTORELEASE treewide. Remove it also in the
routing feed.

This is just copied from [0] with modification to the sed cmd because it
was not working for the routing feed:

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/routing; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's/\/Makefile$//';);
do
  make package/$i/download
done

[0] - https://github.com/openwrt/packages/commit/0c10c224be81f9221dabfab449855ab6718d2a0c

Signed-off-by: Nick Hainke <vincent@systemli.org>
12 months agocjdns: Fix dangling pointer bug (#964)
Caleb James DeLisle [Tue, 18 Apr 2023 13:14:08 +0000 (15:14 +0200)]
cjdns: Fix dangling pointer bug (#964)

Maintainer: @wfleurant
Compile tested: builds for x86_64
Run tested: Build only testing

Description: same build error seen on my machine as seen in #958
Whereas #961 removes the compiler warning, this fixes the underlying problem in the code.

Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
12 months agotreewide: refactor to use PKG_BUILD_FLAGS:=lto
Andre Heider [Thu, 23 Mar 2023 08:53:12 +0000 (09:53 +0100)]
treewide: refactor to use PKG_BUILD_FLAGS:=lto

See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS"
on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
12 months agotreewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
Andre Heider [Thu, 23 Mar 2023 08:52:20 +0000 (09:52 +0100)]
treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections

See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
12 months agoprince: refactor to use PKG_BUILD_FLAGS:=no-mips16
Andre Heider [Thu, 23 Mar 2023 08:51:00 +0000 (09:51 +0100)]
prince: refactor to use PKG_BUILD_FLAGS:=no-mips16

See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
12 months agoMerge pull request #962 from mrnuke/batfix
Simon Wunderlich [Tue, 11 Apr 2023 09:21:38 +0000 (11:21 +0200)]
Merge pull request #962 from mrnuke/batfix

batman-adv: fix compilation bug in batadv_is_cfg80211_netdev()

12 months agobatman-adv: fix compilation bug in batadv_is_cfg80211_netdev() 962/head
Alexandru Gagniuc [Thu, 6 Apr 2023 23:05:50 +0000 (18:05 -0500)]
batman-adv: fix compilation bug in batadv_is_cfg80211_netdev()

Because batman-adv is built under backports, not a clean linux tree,
the CONFIG_CFG80211 does not exist. The evaluation of IS_ENABLED() in
batadv_is_cfg80211_netdev() will be false, causing the funtion to
always return false.

This means that the wifi_flags of an interface don't get set, causing
batadv_is_wifi_hardif() to always return false. As a result,
batadv_v_elp_get_throughput() never tries to get the station info from
cfg80211, resulting in the following warning:

    batman_adv: bat0: WiFi driver or ethtool info does not provide
    information about link speeds on interface phy1-mesh0,
    therefore defaulting to hardcoded throughput values of 1.0 Mbps.

So replace CONFIG_CFG80211 with CPTCFG_CFG80211, which is the correct
macro to use under backports.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
13 months agooonf-olsrd2: update to current develop branch - fixes routing#899
Jakob Riepler [Sat, 4 Mar 2023 13:55:53 +0000 (14:55 +0100)]
oonf-olsrd2: update to current develop branch - fixes routing#899

Development of OONF is very slow. The master branch is completely out of
date and new releases haven't been tagged since 2018.
According to this PR https://github.com/OLSR/OONF/pull/49#issuecomment-1229195523 the authors will probably just abandon the current master branch and replace it by the develop branch.
During my testing, the current development branch is more stable than
the latest tagged version on current OpenWrt versions.

Signed-off-by: Jakob Riepler <jakob+openwrt@chaosfield.at>
13 months agobird1: fix "Form token mismatch" errors in luci-app-bird1-ipv{4,6}
Roger Pueyo Centelles [Sun, 26 Feb 2023 16:18:19 +0000 (17:18 +0100)]
bird1: fix "Form token mismatch" errors in luci-app-bird1-ipv{4,6}

The "Filters", "Functions" and "Status" sections of the web interfaces
for both Bird4 and Bird6 threw the following error upon performing any
action:

   Form token mismatch
   The submitted security token is invalid or already expired!

Changing their entry types from "cbi" to "form" fixes them.

Fixes #922.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
13 months agobird1: rename get_bool() to get_a_bool() in bird{4,6}-lib.sh
Roger Pueyo Centelles [Sun, 26 Feb 2023 16:02:08 +0000 (17:02 +0100)]
bird1: rename get_bool() to get_a_bool() in bird{4,6}-lib.sh

This patch renames the get_bool() function, implemented in the
bird4-lib.sh and bird6-lib.sh files (respectively, for the IPv4 and
the IPv6 versions of the package), as well as all the calls to it.
This way, we avoid a function name collision with the one provided by
file /lib/functions.sh, which is slightly different and caused an
out-of-memory error when parsing the bird4/bird6 UCI config files.

Fixes #920.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
13 months agobird1-openwrt: fix Makefile issues
Roger Pueyo Centelles [Fri, 3 Mar 2023 09:13:32 +0000 (10:13 +0100)]
bird1-openwrt: fix Makefile issues

This commit replaces the deprecated licensing text with an SPDX license
identifier, and removes tab indentations in the conffiles sections.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
13 months agobird1-openwrt: use a single Makefile for IPv4 and IPv6 packages
Roger Pueyo Centelles [Tue, 13 Dec 2022 15:53:04 +0000 (16:53 +0100)]
bird1-openwrt: use a single Makefile for IPv4 and IPv6 packages

Having two Makefile files, respectively in the bird1-openwrt-ipv4 and
bird1-ipv6-openwrt folders, made the CI tests fail at the time of
building the packages, due to a compilation error. This patch merges
both Makefile files into a single one. As a result, package compilation
succeeds during the CI tests.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
13 months agoci: update github actions to v3
Christian Marangi [Tue, 25 Oct 2022 09:03:01 +0000 (11:03 +0200)]
ci: update github actions to v3

Update checkout and upload-artifact action to v3 to mute nodejs
deprecation warning.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 52570d4242822e3db678f5484c2ca3e72f485d52)

13 months agooonf-olsrd2: a usable default configuration
Patrick Grimm [Sat, 28 Jan 2023 10:28:00 +0000 (11:28 +0100)]
oonf-olsrd2: a usable default configuration

Compile tested: mips_24kc, arm_cortex-a9_vfpv3-d16, i386_pentium4, x86_64, i386_pentium-mmx, mipsel_24kc

Description:
- OONF_OLSRV2_LAN_IMPORT for integration off other routing protocol (OLSR1, BGP, ...)
- OONF_OLSRV2_ROUTE_MODIFIER for overwriting the link qualitty of a neighbor, called LinkQuality Multiplicator in OLSR1
- OONF_GENERIC_REMOTECONTROL one of the goal of olsrv2
- OONF_OLSRV2_MPR reduce the routing graph when the network gets bigger

Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
13 months agooonf-olsrd2: fix building with multiple plugins - fixes #826
Maciej Krüger [Mon, 2 Jan 2023 00:45:37 +0000 (01:45 +0100)]
oonf-olsrd2: fix building with multiple plugins - fixes #826

Code to replace colons wasn't working (debian stable)
Took it from stackoverflow, works now

Signed-off-by: Maciej Krüger <mkg20001@gmail.com>
13 months agooonf-olsrd2: change to git version from 2022-08-25
Patrick Grimm [Tue, 21 Feb 2023 01:19:58 +0000 (02:19 +0100)]
oonf-olsrd2: change to git version from 2022-08-25

Compile tested: mips_24kc, arm_cortex-a9_vfpv3-d16, i386_pentium4, x86_64, i386_pentium-mmx, mipsel_24kc
Description:
c7d404f8 build lan_import
bbbd4f3d the package dh-systemd is not longer present in recent Ubuntu versions
1a5fa2a7 add missing extern to global symbol
5ea168ce fix build for gcc-10 (-fno-common default)
ced3ace0 Fix schema name for logging in README
c6dd02a1 test_config_delta: fix the build on GCC 9
f40be238 include unistd.h in oonf.h to keep modern GCC (e.g. in LEDE) from complaining about ssize_t
95fbcb35 Do avl_for_each_elements_with_key_safe() by hand until we had a closer look at the macro
e9b08759 use scaling factor when dealing with fixed integer conversion calls
2f615dab Prevent division by zero through (malformed) RLQ value
8d424b24 Fix NHDP link status for interfaces without MAC addresses
eecc3333 Add missing telnet dependency to layer2-config
965c2f73 Allow "non-unicast" routes to be imported
243e17e3 Allow setting l2config via telnet
40f24ab9 Partly working telnet code for l2config
c33d680e Add LID capability to oonf_layer2 and l2config subsystem
bad48ebc Do not accept configuration with unknown sections/values if 'global.failfast' is true. Set 'global.failfast' to true by default
05682c0c Make VIF sockets non-blocking
63345654 Reorder libraries for testcase creation to prevent Ubuntu 16.04 Bug (MOTOR-50)
3c1984f8 Fix compilation issue with "no-debug" logging
3765eb01 Cleanup ffdat metric to be able to import rx_throughput.
bdee26ba Improve combination of DAT speed and L2 throughput values
a1c3ea66 Allow ffdat metric to consider rx_throughput field
c8ec8301 Fix token validation
ad72038e Improve DAT-Metric by shifting hysteresis to the loss side and consider other layer2 parameters
9addfba4 Fix fixed integer arithmetics handling
f9ccd26b Track scaling factors of layer2 data elements. Handle different scaling for DLEP conversion.
603e48e8 Fix router_id for Netjson domain output
234e9109 Improve hello interval overwriting
7fc0f50b Add SNR to layer2 neighbor data
f9ebcf8e Fix bad 'is in list' test in stream socket processing
29a2a385 Set path prefix length in CMakeListsGlobal
a2ea9186 Replace VIF name pointer with array
e8f04530 Simplify test case creation
271ff097 Move 'enable test' to CMakeListsGlobal.cmake
0482db42 Fix no-debug/no-info compilation
38edcced Add more doxygen comments for layer2 import
1a709b5c Add missing comment for subsystem shutdown initiation, remove empty files
c7a68650 Fix the handling of neighbor IPs in dlep radio.
c255ead5 Add avl_for_each_elements_with_key_safe() macro and do some basic tests
5f835533 Don't filter for protocol for routes being removed (linux does not report protocol in this case)
83b19c54 Allow imported routed to be combined by l2import into the same l2 network. Allow multiple IP addresses being reported by DLEP
5274ce6a Fix tarball generator
6dd188ed Use relative path for calling archive builder
988aac6e Move included cmake files into CMakeListsGlobal to allow inclusion in wrapper projects
2a072733 Cleanup build installation directories
fc1fbbed Move test include to include directory
4043202f Rename "subsystems" directory to "base"
2e3578ba Add "config query" command to remotecontrol plugin to query a configuration value including default
48c2cdcb Prevent theoretical buffer overlow to make Coverity more happy (Coverity #181104)
19583704 Fix possible Null reference in colored logging (Coverity #188445)
6fa04505 Fix GCC 8 warning about small buffer
356d3b9b Allow wrapped build directory around OONF directory
11be4696 Cleanup and simplify OONF directory strucure
f1a30ade Restructure import of FIB entries to go through the layer2 db allow export of layer2 IP entries to FIB allow transmission of layer2 IP entries over DLEP
32bf829c Remove debugging code accidently left in for LID preparation
f6b884b1 Hotfix for closing UDP socket behavior mentioned in Github Issue 14
e7e5b685 Add missing build target for test creation
88efd166 Cleanup build system for tests and add generic 'build_tests' target.
2e5803bd Add more linklayer data options and a better query function
2dac53d9 Restructure ffdat plugin as preparation for external metric calculation Fix compiler warning in routing code
8cb39863 Remove static modifier from olsrv2/nhdp logging sources. Otherwise they cannot be used by the other source files of the plugins.
3a2dd24e Fix return values of DLEP signal processing callbacks
b2e18c91 Fix handling of lid-length TLV in DLEP session ACK
2b7b3ef8 Add doxygen comments for link-id code
bc24cba0 Implement lid_length mechanism into DLEP
b12ef6ea Add basic link-id capability to DLEP
8cc2d03e Add a few example configurations to the repository
1e3fb288 Add support for Link-ID to layer2 database
28adaf5a Remove (done) TODO mark for outgoing TCP connection error handling
2bfbcff3 Improve error handling for failed outgoing TCP connections
1d1e8876 Add better debugging output to packet socket code
3b89103e Fix issues with DLEP udp_mode none and reconnect
d4d64875 Add function to calculate IPv6 address from MAC
bdc2c2e6 Fixes for doxygen comments
5e2a7b48 Fix variable used in layer2 generator loop
a38b6847 Fix DLEP handling of mandatory TLVs
d242e098 Add yet more Markdown formatting to BUILDING.md
074dd7c3 Add more Markdown formatting to BUILDING.md
51d78c27 Rename BUILDING to BUILDING.md

Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
13 months agobird2: bump to version 2.0.12
Bradford Zhang [Tue, 21 Feb 2023 04:53:55 +0000 (12:53 +0800)]
bird2: bump to version 2.0.12

Signed-off-by: Bradford Zhang <zyc@zyc.name>
13 months agooonf-olsrd2: add missing static plugin olsrv2_lan
Patrick Grimm [Sun, 8 Jan 2023 17:14:36 +0000 (18:14 +0100)]
oonf-olsrd2: add missing static plugin olsrv2_lan

Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
14 months agobabeld: remove AUTORELEASE
Nick Hainke [Fri, 10 Feb 2023 07:18:13 +0000 (08:18 +0100)]
babeld: remove AUTORELEASE

AUTOREMOVE is now deprecated.

Signed-off-by: Nick Hainke <vincent@systemli.org>
14 months agobabeld: update to 1.12.2
Nick Hainke [Tue, 7 Feb 2023 15:18:17 +0000 (16:18 +0100)]
babeld: update to 1.12.2

Release announcement:
https://alioth-lists.debian.net/pipermail/babel-users/2023-February/004038.html

Signed-off-by: Nick Hainke <vincent@systemli.org>
14 months agoMerge pull request #941 from ecsv/batadv-2023.0
Simon Wunderlich [Fri, 27 Jan 2023 09:05:43 +0000 (10:05 +0100)]
Merge pull request #941 from ecsv/batadv-2023.0

batman-adv: update packages to version 2023.0

14 months agoalfred: update to version 2023.0 941/head
Sven Eckelmann [Thu, 26 Jan 2023 21:29:55 +0000 (22:29 +0100)]
alfred: update to version 2023.0

* add support for gpsd 3.25

Signed-off-by: Sven Eckelmann <sven@narfation.org>
14 months agobatctl: update to version 2023.0
Sven Eckelmann [Thu, 26 Jan 2023 21:29:55 +0000 (22:29 +0100)]
batctl: update to version 2023.0

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
14 months agobatman-adv: update to version 2023.0
Sven Eckelmann [Thu, 26 Jan 2023 21:29:55 +0000 (22:29 +0100)]
batman-adv: update to version 2023.0

* support latest kernels (4.14 - 6.2)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
14 months agoopennds: Release v9.10.0
Rob White [Mon, 23 Jan 2023 16:45:31 +0000 (16:45 +0000)]
opennds: Release v9.10.0

Maintainer: Rob White rob@blue-wave.net
Compile tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64
Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64; on snapshot, 22.03

opennds (9.10.0)

  * This version adds new functionality, and fixes some issues
  * Fix - unable to read client upload traffic volume on some versions of iptables-nft (generic Linux) [bluewavenet]
  * Fix - compatibility with bash shell on generic Linux [bluewavenet]
  * Fix - compiler warning, unused variable [bluewavenet]
  * Fix - silently continue if fw4 table is not found [bluewavenet]
  * Add - Start daemon earlier on boot [bluewavenet]
  * Fix - compatibility with legacy iptables packages [bluewavenet]
  * Add - call to delete nft chains [bluewavenet]
  * Fix - stop using legacy INPUT and FORWARD chains [bluewavenet]
  * Add - watchdog restart if openNDS nftables ruleset is missing [bluewavenet]
  * Add - automated rule setting/deleting for users_to_router [bluewavenet]
  * Add - Change fwhook to add users to router rule to fw4 on OpenWrt [bluewavenet]
  * Add - Set allow or passthrough mode for users_to_router rules [bluewavenet]
  * Fix - set fwhook default to disabled to prevent restart on hotplug event [bluewavenet]
  * Fix - fas-aes-https description comments [bluewavenet]
  * Fix - icon overspill on splash pages [bluewavenet]
  * Fix - missing config option in community script [bluewavenet]
  * Fix - urlencode handling of "$" character and add htmlentity encode/decode library call [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>