feed/routing.git
15 months agobmx7: bump PKG_RELEASE for libiwinfo ABI change 938/head
Christian Marangi [Sun, 22 Jan 2023 19:12:42 +0000 (20:12 +0100)]
bmx7: bump PKG_RELEASE for libiwinfo ABI change

Bump PKG_RELEASE for libiwinfo ABI change for bmx7 package.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
15 months agobird1-openwrt: change maintainer for bird1-ipv6-openwrt
Moritz Warning [Thu, 1 Dec 2022 19:10:00 +0000 (20:10 +0100)]
bird1-openwrt: change maintainer for bird1-ipv6-openwrt

Signed-off-by: Moritz Warning <moritzwarning@web.de>
15 months agobird1-openwrt: change maintainer for bird1-ipv4-openwrt
Moritz Warning [Thu, 1 Dec 2022 19:09:44 +0000 (20:09 +0100)]
bird1-openwrt: change maintainer for bird1-ipv4-openwrt

Signed-off-by: Moritz Warning <moritzwarning@web.de>
16 months agobird2: bump to version 2.0.11
Bradford Zhang [Mon, 12 Dec 2022 03:03:17 +0000 (11:03 +0800)]
bird2: bump to version 2.0.11

Signed-off-by: Bradford Zhang <zyc@zyc.name>
17 months agobird1: Add missing dependency on luci-compat
krzys-h [Sat, 23 Jul 2022 08:30:18 +0000 (10:30 +0200)]
bird1: Add missing dependency on luci-compat

17 months agoopennds: Release v9.9.1
Rob White [Sat, 19 Nov 2022 08:25:39 +0000 (08:25 +0000)]
opennds: Release v9.9.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, 22.03

opennds (9.9.1)

  * This version fixes some issues
  * Fix - minimalise deprecated legacy .conf file
  * Fix - Prevent rate limit refresh if rate limit is set to 0 [bluewavenet]
  * Fix - Mute some unneccessary debug messages [bluewavenet]
  * Fix - do not write unconfigured (null) parameters to client id file (cidfile) [bluewavenet]
  * Fix - Prevent error "Command process exited due to signal 13" when executing an external script [bluewavenet]
  * Fix - use WTERMSIG() return code for _execute_ret when execute fails [bluewavenet]
  * Fix - use correct response type for error 503 [bluewavenet]
  * Update Makefile description [bluewavenet]
  * Add - Community Local FAS install script [bluewavenet]
  * Update - Mention TCP port 80 requires AutonomousWG [afriza]

Signed-off-by: Rob White <rob@blue-wave.net>
17 months agoMerge pull request #917 from ecsv/batadv-2022.3
Simon Wunderlich [Fri, 11 Nov 2022 15:48:42 +0000 (16:48 +0100)]
Merge pull request #917 from ecsv/batadv-2022.3

batman-adv: update packages to version 2022.3

17 months agoalfred: update to version 2022.3 917/head
Sven Eckelmann [Thu, 10 Nov 2022 20:14:42 +0000 (21:14 +0100)]
alfred: update to version 2022.3

* coding style cleanups and refactoring

Signed-off-by: Sven Eckelmann <sven@narfation.org>
17 months agobatctl: update to version 2022.3
Sven Eckelmann [Thu, 10 Nov 2022 20:14:42 +0000 (21:14 +0100)]
batctl: update to version 2022.3

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
17 months agobatman-adv: update to version 2022.3
Sven Eckelmann [Thu, 10 Nov 2022 20:14:42 +0000 (21:14 +0100)]
batman-adv: update to version 2022.3

* support latest kernels (4.9 - 6.1)
* coding style cleanups and refactoring
* bugs squashed:

  - limit the minimum MTU of hard-interface to avoid
    "Forced to purge local tt entries" errors

Signed-off-by: Sven Eckelmann <sven@narfation.org>
17 months agoolsrd: trim trailing space
Stijn Tintel [Wed, 2 Nov 2022 13:32:29 +0000 (15:32 +0200)]
olsrd: trim trailing space

Found with modified Kconfiglib.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
18 months agoMerge pull request #912 from ecsv/batadv-2022.2
Simon Wunderlich [Mon, 24 Oct 2022 08:44:28 +0000 (10:44 +0200)]
Merge pull request #912 from ecsv/batadv-2022.2

alfred/batman-adv: Rebuild on CONFIG*_ALFRED_*/CONFIG_BATMAN_ADV_ changes

18 months agoalfred: Rebuild on CONFIG*_ALFRED_* changes 912/head
Sven Eckelmann [Sun, 23 Oct 2022 07:56:15 +0000 (09:56 +0200)]
alfred: Rebuild on CONFIG*_ALFRED_* changes

The buildsystem doesn't know that the Package/*/config kconfig symbols are
related to the alfred package build. It is necessary to explicitly define it
via PKG_CONFIG_DEPENDS.

Fixes: f76074d42429 ("alfred: add alfred 2013.3.0 to feed")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
18 months agobatman-adv: Rebuild on CONFIG_BATMAN_ADV_* changes
Sven Eckelmann [Sun, 23 Oct 2022 07:56:15 +0000 (09:56 +0200)]
batman-adv: Rebuild on CONFIG_BATMAN_ADV_* changes

The buildsystem doesn't know that the KernelPackage/*/config kconfig
symbols are related to the batman-adv package build. It is necessary to
explicitly define it via PKG_CONFIG_DEPENDS.

Fixes: 522ce8dfdb7f ("batman-adv: rename folder name to match project & package name")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
18 months agoopennds: Release v9.9.0
Rob White [Sun, 9 Oct 2022 12:32:45 +0000 (13:32 +0100)]
opennds: Release v9.9.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.9.0)

  * This version adds new functionality, and fixes some issues
  * Add - Community ThemeSpec to support legacy splash.html [bluewavenet]
  * Fix - ensure nat_traversal_poll_interval defaults to 10 seconds [bluewavenet]
  * Add - process send_to_fas_deauthed and send_to_fas_custom in fas-aes-https [bluewavenet]
  * Add - support for send_to_fas_deauthed library call in binauth_log.sh [bluewavenet]
  * Add - heartbeat file containing timestamp [bluewavenet]
  * Add - send_to_fas_deauthed and send_to_fas_custom library calls [bluewavenet]
  * Add - Save authmon daemon startup arguments for libopennds [bluewavenet]
  * Fix - potential divide by zero errors [bluewavenet]
  * Add - option nat_traversal_poll_interval [bluewavenet]
  * Add - Library calls for urlencode and urldecode[bluewavenet]
  * Fix - Don't download remotes if ThemeSpec not configured [bluewavenet]
  * Add - Error report in syslog if dhcp database is not found [bluewavenet]
  * Add - library calls, deauth and daemon_deauth [bluewavenet]
  * Fix - change WTERMSIG log from WARNING to NOTICE [bluewavenet]
  * Add - Set minimum bucket size to 5 regardless of configured bucket ratio [bluewavenet]
  * Fix - safe_vasprint return value [bluewavenet]
  * Add - test if safe_calloc failed and serve error 503 [bluewavenet]
  * Add - use calloc instead of malloc[bluewavenet]
  * fix - safe functions to return error rather than exit [bluewavenet]
  * Add - b64decode custom string received by binauth script [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
20 months agomesh11sd: Release v1.2.0
Rob White [Mon, 8 Aug 2022 13:18:26 +0000 (14:18 +0100)]
mesh11sd: Release v1.2.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:
  * This version adds new functionality.
  * Update README.md
  * Add - Traffic volume, Peers and stations to status output [bluewavenet]
  * Add - limit up-checks to mesh interfaces only [bluewavenet]

 -- Rob White <dot@blue-wave.net>  Mon, 08 Aug 2022 13:40:31 +0000

Signed-off-by: Rob White <rob@blue-wave.net>
20 months agoopennds: Release v9.8.0
Rob White [Sun, 7 Aug 2022 20:01:50 +0000 (21:01 +0100)]
opennds: Release v9.8.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

  * This version adds new functionality, and fixes some issues
  * Fix - suppress stderr in client_params in generic linux [bluewavenet]
  * Fix - client_params on generic linux, remote logo not supported yet [bluewavenet]
  * Fix - compiler warning [bluewavenet]
  * Fix - set voucher script as executable [bluewavenet]
  * Update OpenWrt Makefile [bluewavenet]
  * Add - format footer in Themespec scripts [bluewavenet]
  * Update footer on all scripts [bluewavenet]
  * Update - Community Voucher Themespec [bluewavenet]
  * Add - Check on startup for Y2.038K bug (32 bit time) [bluewavenet]
  * Fix - Remove deprecated Debian specific files [bluewavenet]
  * Add - More css updates [bluewavenet]
  * Add - user friendly RFC8910 page511 text and remove refresh button [bluewavenet]
  * Fix - MHD becomes unresponsive serving page 511 for rfc8910 clients [bluewavenet]
  * Add - extra startup settings - ignore_sigpipe and write nds info [bluewavenet]
  * Add - set MHD connection limit to 100, set MHD listen backlog size to 128, set MHD_HTTP_HEADER_CONNECTION "close" [bluewavenet]
  * Fix - Add missing LOG_CRIT in debug [bluewavenet]
  * Add - some useful diagnostic output in authmon [bluewavenet]
  * Fix - Move testing to community [bluewavenet]
  * Fix - Community - Use tmpfs by default for vouchers.txt file [bluewavenet]
  * Add - README with use instructions and notice about flash wearout [fservida]
  * Fix - Refactor folder structure for community themespec [fservida]
  * Add - Create vouchers.txt [fservida]
  * Add - Create theme_voucher.sh [fservida]
  * Update - README.md [bluewavenet]
  * Add - image download info message [bluewavenet]
  * Add - css updates [dianariyanto]
  * Add - allow downloaded remotes refresh for all modes [bluewavenet]
  * Add - download_resources.sh to installed files [bluewavenet]
  * Add - support for download of custom images and files in the status.client page [bluewavenet]
  * Remove - Debian man page support [bluewavenet]
  * Fix - Add missing mkdir command in Makefile [dzatoah]
  * Fix - typos in src/{conf, main}.c [dzatoah]

Signed-off-by: Rob White <rob@blue-wave.net>
21 months agoMerge pull request #901 from ecsv/batadv-2022.2
Simon Wunderlich [Wed, 27 Jul 2022 14:05:56 +0000 (16:05 +0200)]
Merge pull request #901 from ecsv/batadv-2022.2

batman-adv: update packages to version 2022.2

21 months agoalfred: update to version 2022.2 901/head
Sven Eckelmann [Tue, 26 Jul 2022 19:56:31 +0000 (21:56 +0200)]
alfred: update to version 2022.2

* support event notification via unix socket
* improve timing stability of transmitted announcement packets
* reduce socket handling overhead when many clients and interfaces

Signed-off-by: Sven Eckelmann <sven@narfation.org>
21 months agobatctl: update to version 2022.2
Sven Eckelmann [Tue, 26 Jul 2022 19:56:00 +0000 (21:56 +0200)]
batctl: update to version 2022.2

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
21 months agobatman-adv: update to version 2022.2
Sven Eckelmann [Tue, 26 Jul 2022 19:55:40 +0000 (21:55 +0200)]
batman-adv: update to version 2022.2

* support latest kernels (4.9 - 5.19)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
22 months agoMerge pull request #895 from mbargo23/mbargo23/bird2
Toke Høiland-Jørgensen [Tue, 28 Jun 2022 15:30:14 +0000 (17:30 +0200)]
Merge pull request #895 from mbargo23/mbargo23/bird2

bird2: bump to version 2.0.10

22 months agobird2: bump to version 2.0.10 895/head
Jan Betik [Tue, 28 Jun 2022 14:42:52 +0000 (16:42 +0200)]
bird2: bump to version 2.0.10

Signed-off-by: Jan Betik <jan.betik@nic.cz>
22 months agoolsrd: replace patch for storms with real patch
Nick Hainke [Wed, 22 Jun 2022 12:12:28 +0000 (14:12 +0200)]
olsrd: replace patch for storms with real patch

Fixes: bb5bbc6afd8c ("olsrd: import patch to prevent olsr storms")
Signed-off-by: Nick Hainke <vincent@systemli.org>
22 months agoolsrd: import patch to prevent olsr storms
Nick Hainke [Wed, 22 Jun 2022 08:19:03 +0000 (10:19 +0200)]
olsrd: import patch to prevent olsr storms

Fixes:
https://github.com/OLSR/olsrd/issues/106

Signed-off-by: Nick Hainke <vincent@systemli.org>
22 months agocjdns: support the supernodes feature (#884)
William Fleurant [Mon, 20 Jun 2022 19:31:44 +0000 (21:31 +0200)]
cjdns: support the supernodes feature (#884)

Signed-off-by: William Fleurant <meshnet@protonmail.com>
22 months agocjdns: bump v21.1 and patch find-python (#883)
William Fleurant [Sat, 18 Jun 2022 17:01:00 +0000 (19:01 +0200)]
cjdns: bump v21.1 and patch find-python (#883)

* cjdns: bump source from v21 to v21.1
* cjdns: bump release with patch to prefer python2
* cjdns: refresh patches and remove patch musl

Signed-off-by: William Fleurant <meshnet@protonmail.com>
22 months agonaywatch: add log when naywatch activates
Nick Hainke [Fri, 10 Jun 2022 06:46:28 +0000 (08:46 +0200)]
naywatch: add log when naywatch activates

Naywatch now prints
  naywatch: Naywatch Activated!
when becoming active.

Signed-off-by: Nick Hainke <vincent@systemli.org>
22 months agoci: Use openwrt/gh-action-sdk@v5
Jeffery To [Tue, 31 May 2022 07:02:04 +0000 (15:02 +0800)]
ci: Use openwrt/gh-action-sdk@v5

The previous build errors with v5 have been fixed. This version builds
packages as a normal user instead of as root.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
23 months agomesh11sd: Release v1.1.1
Rob White [Fri, 20 May 2022 20:12:30 +0000 (21:12 +0100)]
mesh11sd: Release v1.1.1

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

Description:
  * This version adds new functionality, and fixed some issues
  * Fix - repeated syslog messages - output only on mode change [bluewavenet]
  * Add - service status to json output [bluewavenet]
  * Add - support for multiple mesh interfaces [bluewavenet]
  * Fix - duplicate ifname if more than one mesh interface [bluewavenet]
  * Add - compatibility with iw < v5.16-1 [bluewavenet]
  * Add - search and delete phantom meshnodes [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
23 months agobabeld: rewrite description
Nick Hainke [Thu, 19 May 2022 04:23:09 +0000 (06:23 +0200)]
babeld: rewrite description

Babel is now a IETF standard. Update the package description.
Fixes: #867
Signed-off-by: Nick Hainke <vincent@systemli.org>
23 months agobabled: update to 1.12.1
Nick Hainke [Wed, 18 May 2022 14:54:25 +0000 (16:54 +0200)]
babled: update to 1.12.1

Changelog:
916d3d9 Update CHANGES for babeld-1.12.1
3d8aec4 Schedule an interface check after adding an interface.
f13602b Split last PC into unicast and multicast values

Signed-off-by: Nick Hainke <vincent@systemli.org>
23 months agoMerge pull request #863 from ecsv/batadv-2022.1
Simon Wunderlich [Fri, 13 May 2022 09:51:19 +0000 (11:51 +0200)]
Merge pull request #863 from ecsv/batadv-2022.1

batman-adv: Fix build with kernel 5.15.38

23 months agobatman-adv: Fix build with kernel 5.15.38 863/head
Sven Eckelmann [Thu, 12 May 2022 12:29:10 +0000 (14:29 +0200)]
batman-adv: Fix build with kernel 5.15.38

The build failed in this kernel due to some missing implicit includes:

  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:64:42: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
     64 | static inline int batadv_netif_rx(struct sk_buff *skb)
        |                                          ^~~~~~~
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h: In function 'batadv_netif_rx':
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:66:13: error: implicit declaration of function 'in_interrupt' [-Werror=implicit-function-declaration]
    66 |         if (in_interrupt())
        |             ^~~~~~~~~~~~
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:67:24: error: implicit declaration of function 'netif_rx' [-Werror=implicit-function-declaration]
     67 |                 return netif_rx(skb);
        |                        ^~~~~~~~
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:69:24: error: implicit declaration of function 'netif_rx_ni' [-Werror=implicit-function-declaration]
     69 |                 return netif_rx_ni(skb);
        |                        ^~~~~~~~~~~
  In file included from <command-line>:
  ./include/linux/netdevice.h: At top level:
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:71:18: error: conflicting types for 'batadv_netif_rx'; have 'int(struct sk_buff *)'
     71 | #define netif_rx batadv_netif_rx
        |                  ^~~~~~~~~~~~~~~
  ./include/linux/netdevice.h:4029:5: note: in expansion of macro 'netif_rx'
   4029 | int netif_rx(struct sk_buff *skb);
        |     ^~~~~~~~
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:64:19: note: previous definition of 'batadv_netif_rx' with type 'int(struct sk_buff *)'
     64 | static inline int batadv_netif_rx(struct sk_buff *skb)
        |                   ^~~~~~~~~~~~~~~
  cc1: some warnings being treated as errors

Reported-by: Chen Minqiang <ptpt52@gmail.com>
Fixes: b65a8ca03aec ("batman-adv: update to version 2022.1")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
23 months agoMerge pull request #857 from ecsv/batadv-2022.1
Simon Wunderlich [Sun, 8 May 2022 13:00:03 +0000 (15:00 +0200)]
Merge pull request #857 from ecsv/batadv-2022.1

batman-adv: update packages to version 2022.1

23 months agobabeld: update to 1.12
Nick Hainke [Sun, 8 May 2022 10:05:32 +0000 (12:05 +0200)]
babeld: update to 1.12

Changelog:

5 May 2022: babeld-1.12

  * Implement v4-via-v6 routing (RFC 9229), which allows a router with
    IPv4 addresses only to route IPv4.  Thanks to Théophile Bastian.
  * Enable extended Netlink acks when available.
    Thanks to Toke Høyland-Jørgensen.
  * Fix restoring of interface configuration to avoid unbounded memory
    consumption.  Thanks to andrew-hoff.
  * Fix handling of deny filters in the install chain.

Refreshed patches:
- 600-add-ubus.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
23 months agoalfred: update to version 2022.1 857/head
Sven Eckelmann [Fri, 6 May 2022 19:49:35 +0000 (21:49 +0200)]
alfred: update to version 2022.1

* coding style cleanups and refactoring
* introduce 'server status' IPC call
* bugs fixed:

  - prevent potential read outside of buffer when parsing
    alfred_change_interface_v0/alfred_change_bat_iface_v0 IPC message

Signed-off-by: Sven Eckelmann <sven@narfation.org>
23 months agobatctl: update to version 2022.1
Sven Eckelmann [Fri, 6 May 2022 19:51:41 +0000 (21:51 +0200)]
batctl: update to version 2022.1

* bugs squashed:

  - drop additional delay after the last ping packet

Signed-off-by: Sven Eckelmann <sven@narfation.org>
23 months agobatman-adv: update to version 2022.1
Sven Eckelmann [Fri, 6 May 2022 19:51:41 +0000 (21:51 +0200)]
batman-adv: update to version 2022.1

* support latest kernels (4.9 - 5.18)
* bugs squashed:

  - resolve "time-of-check-time-of-use" race condition when checking the
    network namespace of a lower device
  - fix sanity check of network devices in different namespaces with
    colliding IDs
  - prevent transmission errors after splitting large GRO packets into
    smaller fragments

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agoMerge pull request #856 from stintel/bird
Toke Høiland-Jørgensen [Wed, 27 Apr 2022 09:07:07 +0000 (11:07 +0200)]
Merge pull request #856 from stintel/bird

bird2: stop service early

2 years agobird2: stop service early 856/head
Stijn Tintel [Wed, 27 Apr 2022 08:20:26 +0000 (11:20 +0300)]
bird2: stop service early

The bird service needs to stop before network is stopped, otherwise it
might not be able to cleanly terminate its sessions. Introduce STOP=10
as is used in the bird1 init scripts.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2 years agoMerge pull request #852 from ecsv/batadv-2022.0
Simon Wunderlich [Mon, 18 Apr 2022 11:59:25 +0000 (13:59 +0200)]
Merge pull request #852 from ecsv/batadv-2022.0

batman-adv: Drop compat patches + hacks for Linux < 5.10

2 years agobatman-adv: Drop compat hacks for kernels < 5.10 852/head
Sven Eckelmann [Sun, 17 Apr 2022 11:39:43 +0000 (13:39 +0200)]
batman-adv: Drop compat hacks for kernels < 5.10

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

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agobatman-adv: Drop unused compat patches
Sven Eckelmann [Sun, 17 Apr 2022 11:36:52 +0000 (13:36 +0200)]
batman-adv: Drop unused compat patches

The minimal kernel version in OpenWrt is now Linux 5.10.111. It already
provides various thing which needed special patches on older versions.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agobatman-adv: compat: Add atomic mc_forwarding support for stable kernels 851/head
Sven Eckelmann [Sun, 17 Apr 2022 11:25:16 +0000 (13:25 +0200)]
batman-adv: compat: Add atomic mc_forwarding support for stable kernels

Eric Dumazet changed the mc_forwarding in commit 145c7a793838 ("ipv6: make
mc_forwarding atomic") the type of mc_forwarding from __s32 to an atomic_t.
This patch was then ported to various stable kernels.

This code change caused a FTBFS when in batman-adv when
CONFIG_BATMAN_ADV_MCAST was activated. To work around this problem, provide
a version for kernels with __s32 mc_forwarding and a version for kernel
with atomic_t mc_forwarding.

Fixes: #850
Reported-by: Huangbin Zhan <zhanhb88@gmail.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agoopennds: remove iptables-legacy CONFLICTS
Jo-Philipp Wich [Tue, 12 Apr 2022 21:59:16 +0000 (23:59 +0200)]
opennds: remove iptables-legacy CONFLICTS

The opennds software interfaces with netfilter using `iptables` commands,
it does not rely on a specific implementation of the iptables frontend.

Furthermore, the semantically wrong conflict with iptables-legacy
introcduces recursive dependencies in the build system, even for people
not using opendns.

Remove the explicit conflict marker for iptables-legacy.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2 years agonaywatch: fix reboot_now
Nick Hainke [Fri, 1 Apr 2022 08:16:56 +0000 (10:16 +0200)]
naywatch: fix reboot_now

Naywatch should first try to reboot normally, and if that does not work
do a hard reboot. However, the hard reboot was never called.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoci: use openwrt/gh-action-sdk@v4
Petr Štetiar [Thu, 24 Mar 2022 08:17:27 +0000 (09:17 +0100)]
ci: use openwrt/gh-action-sdk@v4

In order to use feeds from GH mirror for GH actions, thus saving a lot
of resources being wasted. While at it fix whitespace issue.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
[applied to routing feed]
[whitespace issue not existing in routing feed]
Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoCI: update SDK action to v3
Paul Spooren [Sat, 9 Oct 2021 19:34:37 +0000 (09:34 -1000)]
CI: update SDK action to v3

No also check mirror hashes and badly formated init files

Signed-off-by: Paul Spooren <mail@aparcar.org>
[applied to routing feed]
Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agomesh11sd: [New Package] Release v1.0.0
Rob White [Tue, 22 Mar 2022 20:12:40 +0000 (20:12 +0000)]
mesh11sd: [New Package] Release v1.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.2

Description:
  Mesh11sd is a dynamic parameter configuration daemon for 802.11s mesh networks.
  It was originally designed to leverage 802.11s mesh networking at Captive Portal venues.
  This is the open source version and it enables easy and automated mesh network operation with multiple mesh nodes.
  It allows all mesh parameters supported by the wireless driver to be set in the uci config file.
  Settings take effect immediately without having to restart the wireless network.
  Default settings give rapid and reliable layer 2 mesh convergence.
  Without mesh11sd, many mesh parameters cannot be set in the uci wireless config file as the mesh interface must be up before the parameters can be set.
  Some of those that are supported, would fail to be implemented when the network is (re)started resulting in errors or dropped nodes.
  The mesh11sd daemon dynamically checks configured parameters and sets them as required.
  This version does not require a Captive Portal to be running.

Signed-off-by: Rob White <rob@blue-wave.net>
2 years agobabeld: bump to version 1.11
Nick Hainke [Wed, 30 Mar 2022 17:30:17 +0000 (19:30 +0200)]
babeld: bump to version 1.11

30 March 2022: babeld-1.11

  * Implemented MAC authentication (RFC 8967).  Thanks to Clara Dô,
    Weronika Kołodziejak and Antonin Décimo.
  * Changed the interface of the add_filter function in order to simplify
    integration in OpenWRT.  Thanks to Nick Hainke.

Detailed List:
7c053fe Export add_filters and simplify interface.
91c44f8 Rename blake2s to blake2s128.
dda8d63 Update CHANGES.
43a0066 Allow Blake2s keys up to 32 bytes.
375ea5f Rename interface option hmac to key.
1b9abc4 Replace hmac-verify with accept-bad-signatures.
3777eb4 Ignore .gitmodules when releasing an archive.
3551b45 Simplify and fix preparse phase.
ba8f116 Add rate limitations for challenges.
6d44238 Show PC number.
ceda3a0 Expire Index and challenge timer.
d66a4d2 Ignore a Challenge Request received on multicast.
024c17a Fix confusion between INDEX_LEN and NONCE_LEN when sending PC TLV.
ceb021f Fix double-free in error path.
1e08aed Change no_hmac_verify to hmac-verify.
c7ad387 Use 'hmac-sha256' and not 'sha256'.
5a15957 Fix nodes incorrectly rejecting packets.
af02039 Append a PC message if Babel-MAC is enabled.
46fc7da Follow the spec closely for the preparse phase.
87f39d0 Rename MAC functions and constants to match the spec.
02b14e3 Helpful error messages in key configuration.
d763f3e Error if configured key can't be found.
3cb0ab7 Use RFC3542 for IPv6 on macOS.
69df1cb Use _GNU_SOURCE instead of __USE_GNU.
ef3a113 Don't copy nonce, suppress VLA.
c243769 Move key validation in parse_key.
b06b2fc Constify source argument of fromhex.
9529941 Use AUTH_TYPE_NONE consistently.
d922b64 Document the HMAC options in manual page.
0c4afc2 Only allow keys configured on a given interface.
7de6715 Create neighbour after checking HMAC.
ecd1f42 Fix typo in compare_hmac.
9a5de34 Fix HMAC-SHA-256 computation.
f1051fd Fix constants to be consistent with SHA-256.
9688b68 Fix memory leaks in error-handling paths in configuration parser.
4d8a831 Fix some more (read-only) buffer overflows.
ebda926 Fix potential memory leaks.
d53fec0 Use AUTH_TYPE_* consistently.
a1afd51 Add no_hmac_verify flag.
b4e28f2 Fix ordering of fields in pseudo-header.
c8ace8b Use IANA-assigned TLV numbers.
739f76a Implement HMAC authentication.
e3adf47 Compile with SHA-256 and Blake2s.
ca0a512 Add SHA-2 and Blake2 submodules.
756783e Untabify

Remove upstreamed patches:
- 000-export-add-filters-and-simplify-interface.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agobabeld: add add_filter function
Nick Hainke [Sun, 27 Mar 2022 22:04:19 +0000 (00:04 +0200)]
babeld: add add_filter function

You can define filter functions in babeld by:

   in if eth0 metric 128

This commit adds the ubus equivalent to dynamically add filter on
runtime:

  ubus call babeld add_filter '{"ifname":"eth0", "type":"input",
                                "metric":128}'

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoolsrd: set lqm via ipc
Nick Hainke [Fri, 25 Mar 2022 18:26:06 +0000 (19:26 +0100)]
olsrd: set lqm via ipc

You can now give a lqm when adding an interface:
  ubus call olsrd add_interface '{"ifname":"wg_51821", "lqm":"0.5"}'

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoopennds: Release v9.7.0
Rob White [Sat, 19 Mar 2022 17:42:49 +0000 (17:42 +0000)]
opennds: Release v9.7.0

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

  * This version adds new functionality, and fixes some issues
  * Fix - syntax error (missing comma) in awk command in bash on generic Linux [bluewavenet]
  * Add - option to append serial number suffix to gatewayname [bluewavenet]
  * Add - block use of ip aliases on gateway interface [doctor-ox] [bluewavenet]
  * Fix - ndsctl json syntax error [bluewavenet]
  * Add - check for null variables in key value pairs in MHD callbacks [bluewavenet]
  * Fix - changed some notice messages into debug messages [bluewavenet]
  * Fix - possible return of incorrect pid [doctor-ox] [bluewavenet]
  * Fix - possible abiguities resulting in failure to parse parameters correctly [bluewavenet]
  * Fix - Remove deprecated get_client_token.sh [bluewavenet]
  * Fix - Prevent possible malformed mac address returned from dhcpcheck() [doctor-ox] [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
2 years agoolsrd: update to 2022-03-18
Nick Hainke [Fri, 18 Mar 2022 12:41:55 +0000 (13:41 +0100)]
olsrd: update to 2022-03-18

fcb30aa4da73 unix: fix meshing with wireguard/point-to-point interfaces

Remove upstreamed patch:
- 101-unix-fix-meshing-with-wireguard-point-to-point-interfaces.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoolsrd: fix recursive dependency
Etienne Champetier [Mon, 14 Mar 2022 04:51:20 +0000 (00:51 -0400)]
olsrd: fix recursive dependency

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2 years agovis: update it, refactor Makefile and refresh patch due to fuzz
Josef Schlehofer [Fri, 25 Feb 2022 23:44:56 +0000 (00:44 +0100)]
vis: update it, refactor Makefile and refresh patch due to fuzz

- Switch to AUTORELEASE in PKG_RELEASE
This avoids cases when someone forgets to bump PKG_RELEASE

- Fixed SPDX License Identifier

- Changed package versioning
Before: vis_1440-2_arm_cortex-a9_vfpv3-d16.ipk
After: vis_2013-04-07-7710cce4-1_arm_cortex-a9_vfpv3-d16.ipk

- Drop not necessary rows
(Some of them were overwritting defaults and it is not necessary)
Downloaded tarball is ~2kB smaller

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agoolsrd: add iptables as dependency
Nick Hainke [Sun, 27 Feb 2022 20:51:41 +0000 (21:51 +0100)]
olsrd: add iptables as dependency

The upcoming OpenWrt version (currently in the master branch) ships
firewall4 by default [1], which uses nftables instead of iptables.

Users might choose to use a compatible layer [2] with iptables-nft,
decide which iptables they want to use, and make appropriate changes
related to fw3/f4[3].

This package requires to use iptables (no matter which variant) for
smart-gw-rules.

[1] https://github.com/openwrt/openwrt/commit/08d9f6e3020b4a149b2007b6ed7d684c49af9bbf
[2] https://www.redhat.com/en/blog/using-iptables-nft-hybrid-linux-firewall
[3] https://github.com/openwrt/openwrt/commit/795e7155cbe3e78669f6821bf7aecb7c4e1e1afb

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agominimalist-pcproxy: fix post install script
Josef Schlehofer [Sat, 26 Feb 2022 15:45:22 +0000 (16:45 +0100)]
minimalist-pcproxy: fix post install script

Fixes:
Configuring minimalist-pcproxy.
sh: 1: unknown operand

Reported-by: Daniel Golle <daniel@makrotopia.org>
Suggested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agomrd6: remove it
Josef Schlehofer [Sun, 27 Feb 2022 12:48:32 +0000 (13:48 +0100)]
mrd6: remove it

According to the author [1]:
1. It is no longer supported and maintained.
2. It is no longer necessary as since 2005 the native multicast
   forwarding support was added to the Linux Kernel

As alternative pimbd could be used.

[1] https://github.com/hugosantos/mrd6/commit/c805eb33255dbc0b6647d463c6c67d1c9d3105a0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agominimalist-pcproxy: Makefile cleanup
Josef Schlehofer [Sat, 26 Feb 2022 12:52:57 +0000 (13:52 +0100)]
minimalist-pcproxy: Makefile cleanup

- Fixed LICENSE
Software is licensed under MIT
- Added PKG_LICENSE_FILES

- The was wrong date in PKG_VERSION
The latest commit is 2014-12-12.

- Changed package versioning
Before: minimalist-pcproxy_2015-01-12-2d6d1b0b0a3b79a9b4a9b0a7606a84600a967bcb-2_arm_cortex-a9_vfpv3-d16.ipk
After: minimalist-pcproxy_2014-12-12-2d6d1b0b-1_arm_cortex-a9_vfpv3-d16.ipk

Also the downloaded tarball is smaller by 0,4 kB

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agonodogsplash: fix SPDX License Identifier and reordering
Josef Schlehofer [Sat, 26 Feb 2022 12:35:26 +0000 (13:35 +0100)]
nodogsplash: fix SPDX License Identifier and reordering

- Add PKG_LICENSE_FILES
- Use two spaces instead of tabs

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agoprince: Makefile refactoring
Josef Schlehofer [Sat, 26 Feb 2022 10:34:53 +0000 (11:34 +0100)]
prince: Makefile refactoring

- Use AUTORELEASE in PKG_RELEASE
- Use tarball instead of checkouting git
- Use two spaces instead of indentation
- In install section reorder it (first folder, then files and so on)
- Added LICENSE file

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agoquagga: reorder things in Makefile
Josef Schlehofer [Sat, 26 Feb 2022 10:43:24 +0000 (11:43 +0100)]
quagga: reorder things in Makefile

- Fix SPDX License Identifier
- Use HTTPS in URL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agomcproxy: Makefile cleanup
Josef Schlehofer [Sat, 26 Feb 2022 13:00:35 +0000 (14:00 +0100)]
mcproxy: Makefile cleanup

- Switched to AUTORELEASE
- Fixed SPDX License Identifier and added PKG_LICENSE_FILES
- Use HTTPS for project website
- Changed versioning
Before: mcproxy_2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99-3_arm_cortex-a9_vfpv3-d16.ipk
After: mcproxy_2017-08-24-93b5ace4-1_arm_cortex-a9_vfpv3-d16.ipk

Downloaded tarball is smaller by 0,2 MB

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agomrd6: Makefle reordering
Josef Schlehofer [Sat, 26 Feb 2022 12:41:29 +0000 (13:41 +0100)]
mrd6: Makefle reordering

- Switch to AUTORELEASE

- Changed package versioning:
Before: mrd6_2013-11-30-c805eb33255dbc0b6647d463c6c67d1c9d3105a0-3_arm_cortex-a9_vfpv3-d16.ipk
After: mrd6_2013-11-30-c805eb33-1_arm_cortex-a9_vfpv3-d16.ipk

- Remove defaults, which are already defaults

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agopimbd: Makefile refactor
Josef Schlehofer [Sat, 26 Feb 2022 10:57:26 +0000 (11:57 +0100)]
pimbd: Makefile refactor

- Switch to AUTORELEASE
- There was no need to overwrite defaults, downloaded tarball is ~4 kB
  smaller
Also change the package versioning
Before: pimbd_2018-06-19-dbf4e5913b06e3160f506df15e6a047a403a5f21-2_arm_cortex-a9_vfpv3-d16.ipk
After: pimbd_2018-06-19-dbf4e591-1_arm_cortex-a9_vfpv3-d16.ipk

- Add PKG_LICENSE_FILES

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agoopennds: Makefile refactoring
Josef Schlehofer [Sat, 26 Feb 2022 11:28:09 +0000 (12:28 +0100)]
opennds: Makefile refactoring

- Reorder things
- Fixed SPDX License Identifier
- Added PKG_LICENSE_FILES
- Use two spaces instead of tab

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agooonf-dlep-radio: refactor define Package/oonf-dlep-radio
Josef Schlehofer [Fri, 25 Feb 2022 04:22:41 +0000 (05:22 +0100)]
oonf-dlep-radio: refactor define Package/oonf-dlep-radio

- Why there was oonf-git? WTF?
- Use two spaces instead of tabs

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agooonf-dlep-radio: refactor Makefile (package versioning, downloading)
Josef Schlehofer [Fri, 25 Feb 2022 04:07:37 +0000 (05:07 +0100)]
oonf-dlep-radio: refactor Makefile (package versioning, downloading)

- By this change, we are using downloading .tar.xz (which is default in OpenWrt)
Reference: OpenWrt base repository include/download.mk

Downloaded tarball size is ~60 kB smaller.

- Removed "v" in package naming.
Before: oonf-dlep-radio_v0.15.1_arm_cortex-a9_vfpv3-d16.ipk
After: oonf-dlep-radio_0.15.1_arm_cortex-a9_vfpv3-d16.ipk

Removed stuff, which is no longer needed like PKG_REV.

- Switch to AUTORELEASE in PKG_RELEASE

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agobmx6: update to 65cb0d542f16a4b4689f5ad2542c9f24215a6616
Josef Schlehofer [Fri, 25 Feb 2022 16:56:25 +0000 (17:56 +0100)]
bmx6: update to 65cb0d542f16a4b4689f5ad2542c9f24215a6616

Makefile polishing:
- Fixed SPDX License Identifier
- Use AUTORELEASE in PKG_RELEASE
This helps in cases when the PKG_RELEASE is forgotten

- Remove no longer used things like PKG_REV, etc.
Downloaded tarball is now ~80 kB smaller as we use .tar.xz
instead of .tar.gz

- Use https for their website

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agoopennds: Release v9.6.0
Rob White [Sat, 19 Feb 2022 16:31:51 +0000 (16:31 +0000)]
opennds: Release v9.6.0

Maintainer: Rob White rob@blue-wave.net
Compile tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc
Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, gl-inet b1300, gl-inet mt300n-v2, Snapshot, 21.02.1, 19.07.8

Description:
This version adds new functionality, and fixes some issues
  * Fix - correctly display return buffer in syslog [bluewavenet]
  * Add - use heap allocation for library call return buffer [bluewavenet]
  * Fix - OpenWrt, fhook request for fw3 [bluewavenet]
  * Add - spider remote urls before downloading [bluewavenet]
  * Add - OpenWrt, revert uncommitted uci updates at startup and shutdown [bluewavenet]
  * Fix - remove unneccesary flash writes and fix hosts updates [doctor-ox] [bluewavenet]
  * Add - Updated splash images [bluewavenet]
  * Add - OpenWrt makefile for nft or ipt dependencies [bluewavenet]
  * Fix - grep by word to prevent any ambiguity [doctor-ox] [bluewavenet]
  * Fix - ensure rate limiting is disabled if rate thresholds are set to zero [bluewavenet]
  * Add - querystring support for client status page [bluewavenet]
  * Add - Advanced/standard status page checkbox [bluewavenet]
  * Add - set default session timeout to 24 hours [bluewavenet]
  * Fix - potential buffer overflow [bluewavenet]
  * Fix - Restrict max packet limit to iptables maximum [bluewavenet]
  * Fix - descriptive labels on ndsctl status output [bluewavenet]
  * Add - update of README.md [bluewavenet]
  * Fix - Added required variable to FAS return string example documentation [dorkone]
  * Add - Default checkinterval set to 15 seconds [bluewavenet]
  * Fix - incoming and outgoing counters when unlimited bursting is enabled [bluewavenet]
  * Add - maximum bucket size configuration [bluewavenet]
  * Add - calculate moving average packet size for rate limiting [bluewavenet]
  * Add - some operational default values [bluewavenet]
  * Add - initial rate limits when unrestricted bursting is disabled [bluewavenet]
  * Add - Require clients to be in the dhcp database [bluewavenet]
  * Add - dhcpcheck library call [bluewavenet]
  * Fix - Remove trailing whitespace when getting clientaddress if client not active [bluewavenet]
  * Fix - Segfault when FAS fails to Return customstring [dorkone] [bluewavenet]
  * Add - Enable/Disable unrestricted bursting [bluewavenet]
  * Add - gatewayurl to querystring and use in place of originurl in FAS [bluewavenet]
  * Fix - more accurate debug message [bluewavenet]
  * Fix - Show packet rate correctly as packets per minute [bluewavenet]
  * Add - Report Packet Rate and Bucket Size in ndsctl status and json and status client page [bluewavenet]
  * Add - rate limit refresh to client limit rules [bluewavenet]
  * Fix - code readability [bluewavenet]
  * Fix - Documentation for data sent to Authmon Daemon [bluewavenet]
  * Add - Show unrestricted burst intervals in ndsctl status [bluewavenet]
  * Add - Set default bucket ratios to 10 [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
2 years agoMerge pull request #786 from ecsv/batman-parallel
Elektra Wagenrad [Sat, 19 Feb 2022 11:27:34 +0000 (12:27 +0100)]
Merge pull request #786 from ecsv/batman-parallel

batman packages: Allow parallel builds

2 years agobatmand: Refresh patches with quilt 786/head
Sven Eckelmann [Fri, 20 Aug 2021 10:02:17 +0000 (12:02 +0200)]
batmand: Refresh patches with quilt

The test builds are now requiring quilt refreshed patches instead of git
patches. Otherwise the build check will not even try to build something.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agovis: Allow parallel builds
Sven Eckelmann [Sat, 19 Feb 2022 08:11:11 +0000 (09:11 +0100)]
vis: Allow parallel builds

The build system of this package is written in a way that it is safe to run
the make steps in parallel. The build time can be reduced slightly on
modern systems.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agobatmand: Allow parallel builds
Sven Eckelmann [Sat, 19 Feb 2022 08:11:11 +0000 (09:11 +0100)]
batmand: Allow parallel builds

The build system of this package is written in a way that it is safe to run
the make steps in parallel. The build time can be reduced slightly on
modern systems.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agobatman-adv: Allow parallel builds
Sven Eckelmann [Sat, 19 Feb 2022 08:11:11 +0000 (09:11 +0100)]
batman-adv: Allow parallel builds

The build system of this package is written in a way that it is safe to run
the make steps in parallel. The build time can be reduced slightly on
modern systems.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agobatctl: Allow parallel builds
Sven Eckelmann [Sat, 19 Feb 2022 08:11:11 +0000 (09:11 +0100)]
batctl: Allow parallel builds

The build system of this package is written in a way that it is safe to run
the make steps in parallel. The build time can be reduced slightly on
modern systems.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agoalfred: Allow parallel builds
Sven Eckelmann [Sat, 19 Feb 2022 08:11:11 +0000 (09:11 +0100)]
alfred: Allow parallel builds

The build system of this package is written in a way that it is safe to run
the make steps in parallel. The build time can be reduced slightly on
modern systems.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agoolsrd: fix setting default interface config
Nick Hainke [Sun, 13 Feb 2022 16:39:02 +0000 (17:39 +0100)]
olsrd: fix setting default interface config

The IPC should apply the "InterfaceDefaults".

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoMerge pull request #781 from ecsv/batadv-2022.0
Simon Wunderlich [Thu, 3 Feb 2022 20:21:41 +0000 (21:21 +0100)]
Merge pull request #781 from ecsv/batadv-2022.0

batman-adv: update packages to version 2022.0

2 years agoalfred: update to version 2022.0 781/head
Sven Eckelmann [Thu, 3 Feb 2022 18:54:23 +0000 (19:54 +0100)]
alfred: update to version 2022.0

* coding style cleanups and refactoring
* allow changing of batman-adv interface at runtime
* allow to start alfred without interfaces specified

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agobatctl: update to version 2022.0
Sven Eckelmann [Thu, 3 Feb 2022 18:52:41 +0000 (19:52 +0100)]
batctl: update to version 2022.0

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agobatman-adv: update to version 2022.0
Sven Eckelmann [Thu, 3 Feb 2022 18:47:44 +0000 (19:47 +0100)]
batman-adv: update to version 2022.0

* support latest kernels (4.9 - 5.17)
* dropped support for kernels < 4.9
* coding style cleanups and refactoring
* allow netlink usage in unprivileged containers
* bugs squashed:

  - don't send link-local multicast to mcast routers

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agobabeld: remove unused return variable
Nick Hainke [Tue, 1 Feb 2022 19:12:11 +0000 (20:12 +0100)]
babeld: remove unused return variable

There is an unused variable in the function. Remove it.

Fixes: 385200443554 ("babeld: add add_interface function").
Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agobabeld: add add_interface function
Nick Hainke [Mon, 31 Jan 2022 22:14:22 +0000 (23:14 +0100)]
babeld: add add_interface function

An interface can be added dynmiacally to babeld by starting babeld with
the local management interface (-G) and saying:
  interface eth0

Add the ubus equivalent of this function:
  ubus call babeld add_interface '{"ifname":"eth0"}'

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoolsrd: add ubus ipc integration to olsrd
Nick Hainke [Sat, 15 Jan 2022 07:37:37 +0000 (08:37 +0100)]
olsrd: add ubus ipc integration to olsrd

IPC integration of olsrd with OpenWrt. Allow dynamic adding and removing
of interfaces at run-time. We need to rename the avl-tree files, since
libubox also defines avl tree. Also add patch to allow meshing via
wireguard point-to-point links.

The ubus interface offers following functions:
  - add_inteface '{"ifname":"wg_51820"}'
  - del_inteface '{"ifname":"wg_51820"}'

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoCI: fix runtime testing for non master branch
Paul Spooren [Thu, 13 Jan 2022 23:55:36 +0000 (00:55 +0100)]
CI: fix runtime testing for non master branch

The runtime testing always ran on master branch aka snapshots since the
branch wasn't passed over to the container execution!

Signed-off-by: Paul Spooren <mail@aparcar.org>
2 years agonaywatch: introduce kick-count
Nick Hainke [Thu, 13 Jan 2022 08:34:44 +0000 (09:34 +0100)]
naywatch: introduce kick-count

Check multiple rounds if neighbors are available before kicking. This
should reduce unneeded reboots.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agonaywatch: fix mode without watchdog
Nick Hainke [Thu, 13 Jan 2022 07:46:31 +0000 (08:46 +0100)]
naywatch: fix mode without watchdog

The if-condition was always evaluated to be true.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoolsrd: fix meshing via wireguard tunnels
Nick Hainke [Sat, 8 Jan 2022 21:11:44 +0000 (22:11 +0100)]
olsrd: fix meshing via wireguard tunnels

The procd script was not adding the wireguard interfaces. Add corner case
in the init script to allow meshing via wireguard.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoopennds: Release v9.5.1
Rob White [Sat, 18 Dec 2021 19:38:30 +0000 (19:38 +0000)]
opennds: Release v9.5.1
Maintainer: Rob White rob@blue-wave.net
Compile tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc
Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, gl-inet b1300, gl-inet mt300n-v2, Snapshot, 21.02.1, 19.07.8

Description:
This version adds new functionality, and fixes some issues
  * Fix - ThemeSpec file downloads when mwan3 is running [bluewavenet]
  * Fix - Preemptive auth failure after previous deauth [minhng99] [bluewavenet]
From v9.5.0
  * Add - use average packet size instead of MTU when implementing rate limiting [bluewavenet]
  * Fix - typo in iptables command and remove a redundant command [bluewavenet]
  * Add - startdaemon() and stopdaemon() utility functions [bluewavenet]
  * Add - combined interface/ipaddress external gateway status monitoring [bluewavenet]
  * Fix - potential online/offline detection problem when mwan3 is running [bluewavenet]
  * Add - get_debug_level and syslog library calls [bluewavenet]
  * Fix - correctly reset upload and download rate rules [bluewavenet]
  * Add - extend upstream gateway checking for use with mwan3 loadbalance/failover [bluewavenet]
  * Fix - Potential NULL pointer segfault in http_microhttpd on calling authenticated() [bluewavenet]
  * Fix - Potential NULL pointer segfault in http_microhttpd on calling preauthenticated() [dddaniel]
  * Add - Calculate Bucket size based on achieved burst rate [bluewavenet]
  * Fix - prevent parameter parsing if clientip not known [bluewavenet]
  * Add - disable rate quotas by setting bucket ratio to zero [bluewavenet]
  * Fix - suppress some debug messages [bluewavenet]
  * Add - more libraries documentation [bluewavenet]
  * Add - library calls startdaemon and stopdaemon [bluewavenet]
  * Fix - Increase buffer length for longer interface names [koivunen]
  * Add - Update README.md [bluewavenet]
  * Add - bucket ratio option to config file [bluewavenet]
  * Add - upload and download bucket ratio config values [bluewavenet]
  * Fix - flag initial debuglevel to externals [bluewavenet]
  * Add - limit-burst tuning to rate quotas [bluewavenet]
  * Fix - add trailing space to defaultip [bluewavenet]
  * Add - record pre-emptive authentication in local log [bluewavenet]
  * Add - Write to local log function to libopennds [bluewavenet]
  * Add - set client_type and custom string for Pre-emptive authentication [bluewavenet]
  * Fix - Remove trailing newline from library call response [bluewavenet]
  * Fix - attempt to remove cid file only if client->cid is set [bluewavenet]
  * Add - a skip option for custom downloads to speed up serving page from themespec [bluewavenet]
  * Add - put client_type into query string when type is cpd canary [bluewavenet]
  * Add - set refresh=0 before loading images [bluewavenet]
  * Fix - Truncated return status [bluewavenet]
  * Add - Acknowlegement from call to dnsconfig [bluewavenet]
  * Fix - potential buffer overflow in debug output [bluewavenet]
  * Add - processing of custom data and client type [bluewavenet]
  * Add - Client Type for RFC8908 and RFC8910 clients [bluewavenet]
  * Add - rfc8908 replies for external FAS and refactor memory management for MHD calls [bluewavenet]
  * Add - send error 403 if client is not on openNDS subnet [bluewavenet]
  * Fix - remove uneccessary safe_asprint in auth.c [bluewavenet]
  * Fix - Initialise buffer to prevent receiving spurious characters [bluewavenet]
  * Add - encoded custom data support to ndsctl json, themespec and binauth [bluewavenet]
  * Add - advert_1.htm to thankyou page of theme_click-to-continue-custom-placeholders.sh [bluewavenet]
  * Add - library call get_interface_by_ip [bluewavenet]
  * Add - function encode_custom() for encoding custom data to be sent to openNDS [bluewavenet]
  * Fix - error 511, make all html refrences absolute to enforce link to MHD [bluewavenet]
  * Add - check status_path exists and is executeable [bluewavenet]
  * Fix - regression causing error 511 to be served from default script [bluewavenet]
  * Add - venue-info-url and can-extend-session json keys [bluewavenet]
  * Add - RFC 8908 initial experimental support [bluewavenet]
  * Add - debug message when resetting client [bluewavenet]
  * Fix - Ensure the ndscids directory exists before trying to write to it. [bluewavenet]
  * Fix - use eval in do_ndsctl to allow quoting of arguments [bluewavenet]
  * Fix - ensure client hid and client cid file is reset correctly [bluewavenet]
  * Fix - Titles of example ThemeSpec Files [bluewavenet]
  * Fix - Ensure ThemeSpec Files are executable [bluewavenet]
  * Remove - deprecated Allowed and Blocked entries in ndsctl status output [bluewavenet]
  * Add - Deprecate option macmechanism, allowedmaclist and blockedmaclist [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
2 years agopimbd: add config load on start
Christian Strebe [Tue, 14 Dec 2021 22:12:51 +0000 (23:12 +0100)]
pimbd: add config load on start

Generate config file from uci and set as start config on start of pimbd.

Signed-off-by: Christian Strebe <uipo@freenet.de>
2 years agomrd6: fix compilation under macOS
Rosen Penev [Sat, 23 Oct 2021 20:21:53 +0000 (13:21 -0700)]
mrd6: fix compilation under macOS

uname variable needs to be overriden.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoMerge pull request #759 from ecsv/batadv-2021.4
Simon Wunderlich [Sun, 28 Nov 2021 16:53:36 +0000 (17:53 +0100)]
Merge pull request #759 from ecsv/batadv-2021.4

batman-adv: Drop duplicated dev_{hold,put} compat helpers

2 years agoMerge pull request #757 from djselbeck/musl
Simon Wunderlich [Sun, 28 Nov 2021 16:53:05 +0000 (17:53 +0100)]
Merge pull request #757 from djselbeck/musl

batman-adv: Prevent use from libc headers to not build with BIG_ENDIAN

2 years agobatman-adv: Drop duplicated dev_{hold,put} compat helpers 759/head
Sven Eckelmann [Sat, 27 Nov 2021 16:01:29 +0000 (17:01 +0100)]
batman-adv: Drop duplicated dev_{hold,put} compat helpers

The mac80211 package in OpenWrt master is now already providing helpers for
the changed dev_{hold,put} behavior in Linux 5.15. It is no longer
necessary to ship them as part of the batman-adv package.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agobatman-adv: Prevent use from libc headers to not build with BIG_ENDIAN 757/head
Hendrik Borghorst [Sat, 27 Nov 2021 11:02:46 +0000 (12:02 +0100)]
batman-adv: Prevent use from libc headers to not build with BIG_ENDIAN

Commit 97d35a552ec5b6ddf7923dd2f9a8eb973526acea of musl introduced the
macros __LITTLE_ENDIAN and __BIG_ENDIAN in alltypes.h. These are pulled
into the compilation of batman-adv. This has the side effect that the
function is_multicast_ether_addr of etherdevice.h in Linux kernel is
compiled as the big endian version and so fails to work properly on
little endian devices.

This commits prevents pulling in header files of musl libc similar to
OpenWRT commit 9ac47ee46918c45b91f4e4d1fa76b1e26b9d57fe

Signed-off-by: Hendrik Borghorst <hendrikborghorst@gmail.com>
2 years agoMerge pull request #754 from ecsv/batadv-2021.4
Simon Wunderlich [Fri, 19 Nov 2021 16:50:36 +0000 (17:50 +0100)]
Merge pull request #754 from ecsv/batadv-2021.4

batman-adv: update packages to version 2021.4

2 years agoalfred: update to version 2021.4 754/head
Sven Eckelmann [Fri, 19 Nov 2021 15:57:15 +0000 (16:57 +0100)]
alfred: update to version 2021.4

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>