Matt Reeve [Tue, 10 Aug 2021 11:41:04 +0000 (12:41 +0100)]
bird2: Fix bus error on OSPF on IPQ806X
On a Netgear R7800, if ospf v2 or v3 is configured in bird.conf, it fails to start with this error:
Fri Jun 11 14:41:11 2021 daemon.info bird: Started
Fri Jun 11 14:41:11 2021 kern.err kernel: [ 3500.853248] Alignment trap: not handling instruction
f44c0a1f at [<
00035848>] Fri Jun 11 14:41:11 2021 kern.alert kernel: [ 3500.853283] 8<--- cut here ---
Fri Jun 11 14:41:11 2021 kern.alert kernel: [ 3500.859363] Unhandled fault: alignment exception (0x801) at 0x007e0624
Fri Jun 11 14:41:11 2021 kern.alert kernel: [ 3500.862443] pgd =
0bbef4fd
Fri Jun 11 14:41:11 2021 kern.alert kernel: [ 3500.868821] [
007e0624] *pgd=
5d6ca835, *pte=
5c40b75f, *ppte=
5c40bc7f
The problem is due to a struct not being properly aligned on the ARMv7 architecture.
This patch fixes the problem by adding the "PACKED" macro to the affected struct. Note
that upstream may later fix this in another way, in which case this patch will not be required.
Signed-off-by: Matt Reeve <matt@mreeve.com>
Rob White [Mon, 9 Aug 2021 13:16:48 +0000 (14:16 +0100)]
opennds: Release v9.3.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.0-rc3, 19.07.7
Description:
This version adds new functionality, and fixes some issues
* Add - firewall passthrough mode for authenticated users [bluewave.net]
* Add - use configured debuglevel in authmon [bluewave.net]
* Add - automated log rotation and client_zone to binauth_log [bluewave.net]
* Add - increased timeout interval for file downloads [bluewave.net]
* Add - local interface to MeshZone and remove unneeded call to ip utility [bluewave.net]
* Add - log_mountpoint and max_log_entries options [bluewave.net]
* Add - config variables ext_interface and ext_gateway [bluewave.net]
* Add - Start initial download of remotes only if online [bluewave.net]
* Add - Router online/offline watchdog [bluewave.net]
* Fix - Segfault when gatewayfqdn is disabled [bluewave.net]
* Fix - missing clientmac when not using themespec [bluewave.net]
* Fix - some compiler warnings [bluewave.net]
* Fix - use configured value for webroot for remote image symlink to images folder [bluewave.net]
* Fix - remove refrences to login.sh in documentation and comments [bluewave.net]
* Fix - Prevent potential read overrun within the MHD page buffer [bluewave.net]
* Remove - legacy get_ext_iface() function [bluewave.net]
Signed-off-by: Rob White <rob@blue-wave.net>
Nick Hainke [Tue, 13 Jul 2021 15:33:42 +0000 (17:33 +0200)]
naywatch: add naywatch
The network may crash on the SoCs, but the SoC itself does not. This
leads to a node no longer being accessible in a mesh network. If the
node is placed in a location that is not easily accessible, e.g. in a
high tower, it can cause a lot of problems. Therefore we check the
link-local connectivity on the configured interfaces.
Signed-off-by: Nick Hainke <vincent@systemli.org>
Tested-by: Simon Polack <spolack+git@mailbox.org>
Signed-off-by: Simon Polack <spolack+git@mailbox.org>
(cherry picked from commit
1088e65440b1f2f67b40e6a3073571da14f6a4b3)
Nick Hainke [Sun, 1 Aug 2021 08:49:57 +0000 (10:49 +0200)]
olsrd: rename general to procd
It was requested to name the section "procd".
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
87be9afac67d177015d09b4232930b224899d474)
Nick Hainke [Sun, 1 Aug 2021 08:22:49 +0000 (10:22 +0200)]
olsrd: make respawn_threshold configurable
Also make respawn_threshold configurable. Further, add default
values for:
- respawn_threshold 3600
- respawn_timeout 15
- respawn_retry 0
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
775d030a58c90f6cf8105823da03d36654012fc2)
Tobias Schwarz [Tue, 13 Jul 2021 18:08:14 +0000 (20:08 +0200)]
olsrd: improve respawn settings
This increases the amount of seconds to wait before a service restart
attempt from 5 to 15 seconds and allows unlimited retries. Olsrd
sometimes crashes together with a network interface and 5 seconds can
be too short to bring back up a crashed network interface, which is
required for olsrd to restart. It also adds the ability to configure
the wait time (respawn_timeout) and the number of retries
(respawn_retry).
Signed-off-by: Tobias Schwarz <info@tobias-schwarz.com>
(cherry picked from commit
bc58bd99e81b72f8061473eec5d3454b3504b163)
Rob White [Thu, 15 Jul 2021 09:08:59 +0000 (10:08 +0100)]
opennds: [21.02] Backport of Release v9.2.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.0-rc3, 19.07.7
Description:
This version adds new functionality, improves performance, adds documentation and fixes an issue
* Add - new config options to ndsctl status [bluewave.net]
* Add - Readthedocs / man documentation for configuration options [bluewave.net]
* Add - Faster convergence of average rates to configured rate quotas [bluewave.net]
* Add - BinAuth parse authenticated client database for client data [bluewave.net]
* Add - Use heap allocation for http page buffer allowing large page sizes [bluewave.net]
* Fix - fail to serve downloaded images on custom themespec [bluewave.net]
Signed-off-by: Rob White <rob@blue-wave.net>
Martin Hübner [Sun, 20 Jun 2021 11:16:54 +0000 (13:16 +0200)]
olsrd: add olsrd-neigh.sh
This script originates from Freifunk Berlin. It prints a list of
all meshing neighbors known to olsrd on the command line.
Added: Error-checking for IPv4/IPv6-Hosts.
Signed-off-by: Martin Hübner <martin.hubner@web.de>
(cherry picked from commit
eff944874cef569272bbe99d02da766721b804dc)
Nick Hainke [Fri, 18 Jun 2021 08:06:38 +0000 (10:06 +0200)]
olsrd: fix olsrd starting before network
Should fix #691.
Sometimes the wifi interface is not ready before olsrd tries to access
it. This leads to warnings in the form of:
daemon.info olsrd: /etc/rc.d/S65olsrd: olsrd_write_interface()
Warning: Interface 'wireless0' not found, skipped
daemon.notice procd: /etc/rc.d/S65olsrd: olsrd: /etc/rc.d/S65olsrd:
olsrd_write_interface() Warning: Interface 'wireless0' not found, skipped
We make use of the "wait_for" procd command that allows us to wait for
the network before starting olsrd.
Tested-by: Noki
Signed-off-by: Nick Hainke <vincent@systemli.org>
Rob White [Tue, 6 Jul 2021 07:32:54 +0000 (08:32 +0100)]
opennds: [21.02] Backport of Release v9.1.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.0-rc3, 19.07.7
Description:
This version fixes a compiler error, some compiler warnings and mutes a debug message
* Fix - Compiler error, missing mode in call to open() [bluewave.net]
* Fix - Compiler warning, ignored return value from call to lockf() [bluewave.net]
* Fix - Compiler warning, ignored return value from call to system() [bluewave.net]
* Fix - Compiler warning, ignored return value from call to fgets() [bluewave.net]
* Fix - Remove debug message from call to get_client_interface library [bluewave.net]
Signed-off-by: Rob White <rob@blue-wave.net>
Nick Hainke [Tue, 22 Jun 2021 14:40:42 +0000 (16:40 +0200)]
olsrd: reload if config changed via uci
Fixes:
https://github.com/openwrt/luci/issues/5139
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
64aa8866b73dbf8e68affddaec1456a1be9861f2)
Nick Hainke [Wed, 9 Jun 2021 07:48:26 +0000 (09:48 +0200)]
olsrd: switch to procd
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
dc0adf7dced5f6de8bcf096e3bb6b2ec67f91666)
Paul Spooren [Fri, 11 Jun 2021 19:55:27 +0000 (09:55 -1000)]
README: update content and use Markdown
The repository path changed and the information to manually add the feed
is outdated, since it enabled by default.
Also use Markdown to format the README since it looks much more
appealing.
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit
4bf9a5d5dca7457a7638613d4e3671b751785a25)
Nick Hainke [Sat, 29 May 2021 20:33:52 +0000 (22:33 +0200)]
babeld: add me as maintainer
I am maintaining the ubus bindings and also the luci-app-babeld.
I am very glad that ubus is included and that is why I do not want
babeld maintainer to have extra work.
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
e62b8b54b997cac69fe7fa171c6750ca43f07187)
Nick Hainke [Sat, 29 May 2021 17:17:32 +0000 (19:17 +0200)]
babeld: update to 1.10
25 April 2021: babeld-1.10
* Removed the disambiguation code: source-specific routing is no longer
supported for IPv4, and for IPv6 only on Linux 3.11 or later.
* Fixed an issue handling of retractions with no next hop, which caused
interoperability problems with BIRD. Thanks to Fabian Bläse.
* If skip-kernel-setup is set, we no longer disable the rp_filter, which
makes babeld work in containers. Thanks to Martin Weinelt.
Remove upstreamed part of ubus patch:
- local: make local_kind function accessible
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
dc22d38f919a58f90deaea52241c459699af788e)
Nick Hainke [Mon, 7 Jun 2021 18:43:04 +0000 (20:43 +0200)]
olsrd: only pud depends on libgps
As a workaround for the glibc-fix the dependency on libgps was moved
to olsrd. However, only pud is using this library.
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
27ac56adc643d0d79d33591e349a507711dfd38f)
Nick Hainke [Mon, 7 Jun 2021 18:17:18 +0000 (20:17 +0200)]
olsrd: update to 2021-06-07
- pud: fix openwrt glibc compilation
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
4f7791a1fd3fb1c77baa94ca57264378d0ace7a1)
Nick Hainke [Tue, 1 Jun 2021 13:09:29 +0000 (15:09 +0200)]
olsrd: update olsrd to 2021-06-01
Update olsrd to new version.
Remove upstreamed patches:
- 010-musl.patch
- 011-bison.patch
- 012-gpsd.patch
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
6dac4d296cfa4400d44b225c47e62f7ba15032ec)
Nick Hainke [Tue, 1 Jun 2021 13:07:59 +0000 (15:07 +0200)]
olsrd: add me as maintainer
I am now the maintainer of olsrd. Add me also as maintainer in the
openwrt-routing feed.
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
b455e1809a196c971d38083713ab95d51c437f48)
Nick Hainke [Tue, 1 Jun 2021 13:07:17 +0000 (15:07 +0200)]
olsrd: use $(AUTORELEASE)
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
8c7bcb720624d0edf12b6709b457dbe37b7b9e2f)
Nick Hainke [Wed, 2 Jun 2021 21:47:48 +0000 (23:47 +0200)]
CI: fix building multi-arch-test-build
The sed is adding the package name as "PKGNAME/" and does not remove
the "/". That is why the buildchain currently fails.
Signed-off-by: Nick Hainke <vincent@systemli.org>
Nick Hainke [Sat, 29 May 2021 17:28:51 +0000 (19:28 +0200)]
CI: copy .github from openwrt-packages
Just copy .github from openwrt enabling:
- checking of formalities
- checking of build
- issue template
- pr template
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
d1ab87b7db7688f209647a3ce773d69cd978a2d3)
Simon Wunderlich [Wed, 19 May 2021 06:35:37 +0000 (08:35 +0200)]
Merge pull request #659 from ecsv/batadv-for-21.02
openwrt-21.02: update packages to version 2021.1
Sven Eckelmann [Fri, 14 May 2021 17:37:58 +0000 (19:37 +0200)]
alfred: update to version 2021.1
* Allow to force of alfred startup when the interfaces don't work/exist (yet)
* coding style cleanups and refactoring
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Fri, 14 May 2021 17:37:58 +0000 (19:37 +0200)]
batctl: update to version 2021.1
* add various commands to print generic netlink replies as JSON
* coding style cleanups and refactoring
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Fri, 14 May 2021 17:38:53 +0000 (19:38 +0200)]
batman-adv: Always send iface index+name in genlmsg
The batman-adv netlink messages often contain the interface index and
interface name in the same message. This makes it easy for the receiver to
operate on the incoming data when it either needs to print something or
needs to operate on the interface index.
But one of the attributes was missing for:
* neighbor table dumps
* originator table dumps
* gateway list dumps
* query of hardif information
* query of vid information
The userspace therefore had to implement special workarounds using
SIOCGIFNAME or SIOCGIFINDEX depending on what was actually provided.
Providing both information simplifies the userspace code massively without
adding a lot of extra overhead in the kernel portion.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Fri, 14 May 2021 17:37:58 +0000 (19:37 +0200)]
batman-adv: update to version 2021.1
* support latest kernels (4.4 - 5.13)
* coding style cleanups and refactoring
* bugs squashed:
- correctly initialize padding when sending out translation table TVLVs
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Simon Wunderlich [Tue, 18 May 2021 17:09:31 +0000 (19:09 +0200)]
Merge pull request #657 from ecsv/batadv-for-21.02
openwrt-21.02: batman-adv: Merge bugfixes from 2021.1
Sven Eckelmann [Fri, 14 May 2021 18:54:45 +0000 (20:54 +0200)]
batman-adv: Merge bugfixes from 2021.1
* initialize "struct batadv_tvlv_tt_vlan_data"->reserved field
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Fri, 14 May 2021 17:19:00 +0000 (19:19 +0200)]
alfred: use $(AUTORELEASE) for PKG_RELEASE
Use `$(AUTORELEASE)` variable rather than setting a PKG_RELEASE
on every commit manually.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Fri, 14 May 2021 17:18:50 +0000 (19:18 +0200)]
batctl: use $(AUTORELEASE) for PKG_RELEASE
Use `$(AUTORELEASE)` variable rather than setting a PKG_RELEASE
on every commit manually.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Fri, 14 May 2021 17:18:33 +0000 (19:18 +0200)]
batman-adv: use $(AUTORELEASE) for PKG_RELEASE
Use `$(AUTORELEASE)` variable rather than setting a PKG_RELEASE
on every commit manually.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
rob [Wed, 12 May 2021 16:39:03 +0000 (17:39 +0100)]
opennds: Release v9.0.0
This version introduces major new functionality, some changes and fixes.
New Themed Splash pages are introduced, enabling rapid customisation. Theme placeholders can be populated from information provided in the config file. Remote files and image sources can be defined in the config file and these will be automatically downloaded as required.
Deprecated legacy code from previous versions has been removed.
Tested on OpenWrt, OpenSuse and Debian.
Signed-off-by: rob <rob@blue-wave.net>
Josef Schlehofer [Thu, 25 Mar 2021 11:26:41 +0000 (12:26 +0100)]
bird2: Makefile polishing
- Just small reodering of some rows to be more consistent with packages feed
- Fix deprecated SPDX License Identifier
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit
b38a46acd54879cd56de433a5e86c2dcf4b8b151)
Josef Schlehofer [Thu, 25 Mar 2021 11:16:49 +0000 (12:16 +0100)]
bird2: update to version 2.0.8
- Removed all patches as they are now included in upstream release
- Removed --with-linux-headers option
(Fixes: configure: WARNING: unrecognized options: --with-linux-headers)
Changelog:
https://bird.network.cz/pipermail/bird-users/2021-March/015281.html
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit
dcff996cbefb6c54017b3d2fd20c9f77f4cdeabd)
Rob White [Mon, 22 Feb 2021 13:07:27 +0000 (13:07 +0000)]
opennds: Release 8.1.1
This release fixes an issue where some firewall rules containing
the keyword "block" would cause openNDS to fail in startup.
Signed-off-by: Rob White <rob@blue-wave.net>
Simon Wunderlich [Tue, 16 Feb 2021 07:45:31 +0000 (08:45 +0100)]
Merge pull request #643 from ecsv/batadv-2021.0
alfred: Fix state handling for startup and restart/reload of alfred
Sven Eckelmann [Mon, 15 Feb 2021 20:17:53 +0000 (21:17 +0100)]
alfred: Start up alfred without valid interfaces
The alfred server always needs interfaces to operate on. But these
interfaces might not exist at the moment when the daemon process is
started. This situation stopped the startup process after the init scripts
waited for a longer period of polling the system state.
But alfred is able to deal with interfaces which disappeared at runtime but
existed at startup. To force a similar behavior for the alfred startup, the
parameter "--force" or "-f" is used. The extra polling code is therefore no
longer needed in the init scripts.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Mon, 15 Feb 2021 20:03:57 +0000 (21:03 +0100)]
alfred: Fix procd process handling for disable state
Alfred can be stopped during a (re)start or reload when:
* disabled = 1
* batman-adv interface is missing
* MAC based EUI64 IPv6 link-local address not set
It is assumed that procd detects that the procd instance definition
disappeared and the currently running instance must be stopped. But all
these checks were triggering an "exit" which then stopped the alfred init
script and the wrapper from /lib/functions/procd.sh. And thus procd was
never informed about the instances which should be changed.
The correct handling is to return the result of the function instead of
directly killing the init scripts.
Fixes: 45db0e60d2ff ("alfred: use procd")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Polynomdivision [Tue, 9 Feb 2021 21:51:39 +0000 (22:51 +0100)]
babeld: adopt to upstream header-style (#640)
babeld: adopt to upstream header-style
Instead of including the headerfiles that define the structs, we add
forward definitions to our headerfile.
Fixes warning:
ubus.h:67:32: warning: 'struct xroute' declared inside parameter list will not be visible outside of this definition or declaration
void ubus_notify_xroute(struct xroute *xroute, int kind);
^~~~~~
Signed-off-by: Nick Hainke <vincent@systemli.org>
Polynomdivision [Mon, 1 Feb 2021 19:40:17 +0000 (20:40 +0100)]
babeld: fix compiler warnings (#639)
babeld: fix compiler warnings
Fixes:
- "route_list_entry" points to "struct babel_route"
- "format_thousands" returns a string pointer
- "UBUS_METHOD_NOARG" wants a function returning an integer
Signed-off-by: Nick Hainke <vincent@systemli.org>
Polynomdivision [Mon, 1 Feb 2021 14:26:44 +0000 (15:26 +0100)]
babeld: send events via ubus (#633)
* babeld: send events via ubus
Send a notification via the ubus bus if we experience any changes in
neighbours, routes or xroutes.
The format looks like this:
{route,xroute,neighbour}.add: Object was added
{route,xroute,neighbour}.change: Object was changed
{route,xroute,neighbour}.flush: Object was flushed
If ubus_bindings is turned off, it will minimally effect performance,
since only an if-statement has to be evaluated.
If no subscriber is available, it will minimally change the performance,
since only an if-statmenet that checks for subscribers has to be
evaluated.
Signed-off-by: Nick Hainke <vincent@systemli.org>
Simon Wunderlich [Thu, 28 Jan 2021 21:25:57 +0000 (22:25 +0100)]
Merge pull request #635 from ecsv/batadv-2021.0
batman-adv: upgrade packages to latest release 2021.0
Sven Eckelmann [Thu, 28 Jan 2021 19:08:34 +0000 (20:08 +0100)]
alfred: upgrade package to latest release 2021.0
* Drop support for batman-adv's sysfs+debugfs
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Thu, 28 Jan 2021 19:07:47 +0000 (20:07 +0100)]
batctl: upgrade package to latest release 2021.0
* Drop support for batman-adv's sysfs+debugfs
* allow to select routing algorithm during creation of interface
* bugs squashed:
- fix query of meshif's ap_isolation status
- ignore "interface already exists" error during "interface add"
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Thu, 28 Jan 2021 19:07:28 +0000 (20:07 +0100)]
batman-adv: upgrade package to latest release 2021.0
* support latest kernels (4.4 - 5.11)
* coding style cleanups and refactoring
* drop support for sysfs+debugfs
* allow to select routing algorithm during creation of interface
* bugs squashed:
- allocate enough reserved room on fragments for lower devices
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Thu, 28 Jan 2021 20:02:56 +0000 (21:02 +0100)]
batman-adv: Drop compat code for Linux < 5.4
The lowest kernel version supported by OpenWrt at the moment is Linux 5.4.
It is therefore not required to have these dead code sections anymore.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Nick Hainke [Thu, 17 Dec 2020 11:41:32 +0000 (12:41 +0100)]
babeld: add ubus bindings
A better integration of babeld with OpenWrt is to connect the daemon to
the IPC. So far, we can only communicate via a websocket. With ubus we
can send and receive commands in json format.
The commit adds a ubus interface to babeld with following functions:
- get_info
- get_neighbours
- get_xroutes
- get_routes
All output is divided into IPv4 and IPv6.
Ubus has to be enabled by setting "config general"
option 'ubus_bindings' 'true'
Example:
root@OpenWrt:~# ubus call babeld get_info
{
"babeld-version": "babeld-1.9.2",
"my-id": "32:xx:xx:xx:xx:xx:xx:xx",
"host": "OpenWrt"
}
root@OpenWrt:~# ubus call babeld get_neighbours
{
"IPv4": {
},
"IPv6": {
"fe80::xx:xx:xx:xxx": {
"dev": "br-lan",
"hello-reach": 65408,
"uhello-reach": 0,
"rxcost": 96,
"txcost": 96,
"rtt":
4338271,
"channel": -2,
"if_up": true
}
}
}
root@OpenWrt:~# ubus call babeld get_xroutes
{
"IPv4": {
"10.0.0.3/32": {
"src-prefix": "0.0.0.0/0",
"metric": 0
},
"10.0.0.0/24": {
"src-prefix": "0.0.0.0/0",
"metric": 0
}
},
"IPv6": {
"fdfa:xx:xx::1/128": {
"src-prefix": "::/0",
"metric": 0
}
}
}
root@OpenWrt:~# ubus call babeld get_routes
{
"IPv4": {
"10.2.0.1/32": {
"src-prefix": "0.0.0.0/0",
"route_metric": 96,
"route_smoothed_metric": 96,
"refmetric": 0,
"id": "62:xx:xx:xx:xx:xx:xx:xx",
"seqno": 41381,
"channels": "",
"age": 17,
"via": "fe80::xx:xxxx:xxxx:xxxx",
"nexthop": " nexthop ",
"installed": true,
"feasible": true
},
"IPv6": {
}
}
Additional IPC functionality will follow.
Further, we changed the version to $version-ubus-mod.
Signed-off-by: Nick Hainke <vincent@systemli.org>
Rob White [Fri, 8 Jan 2021 21:01:24 +0000 (21:01 +0000)]
opennds: Release 8.0.0
This version introduces major new functionality and some major changes
* Rationalisation of support for multiple Linux distributions [bluewavenet]
* Refactor login.sh script introducing base64 encoding and hashed token (hid) support [bluewavenet]
* Refactor fas-hid script introducing base64 encoding and simplifying customisation of the script [bluewavenet]
* Refactor binauth_log.sh and log BinAuth custom data as url encoded [bluewavenet]
* Refactor fas-aes, simplifying customisation of the script [bluewavenet]
* Refactor fas-aes-https, simplifying customisation of the script [bluewavenet]
* Change - Use hid instead of tok when fas_secure_enabled >= 1 [bluewavenet]
* Add - base64 encoding to fas_secure_enabled level 1 [bluewavenet]
* Add - gatewyname, clientif, session_start, session_end and last_active to ndsctl json [bluewavenet]
* Add - support for RFC6585 Status Code 511 - Network Authentication Required [bluewavenet]
* Add - Client Status Page UI with Logout [bluewavenet]
* Add - GatewayFQDN option [bluewavenet]
* Add - client interface to status page query string [bluewavenet]
* Add - support using base 64 encoded custom string for BinAuth and replace tok with hid [bluewavenet]
* Add - base 64 decode option to ndsctl [bluewavenet]
* Add - b64 encoding of querystring for level 1 [bluewavenet]
* Add - Improved performance/user-experience on congested/slow systems using php FAS scripts [bluewavenet]
* Add - support for ndsctl auth by hid in client_list [bluewavenet]
* Add - Ensure faskey is set to default value (always enabled) [bluewavenet]
* Add - Display error page on login failure in login.sh [bluewavenet]
* Add - splash.html, add deprecation notice [bluewavenet]
* Add - authmon, improved lock checking and introduce smaller loopinterval [bluewavenet]
* Add - client_params, wait for ndsctl if it is busy [bluewavenet]
* Add - fas-aes-https, allow progressive output to improve user experience on slow links [bluewavenet]
* Fix - Block access to /opennds_preauth/ if PreAuth not enabled [bluewavenet]
* Fix - On startup, call iptables_fw_destroy before doing any other setup [bluewavenet]
* Fix - missing final redirect to originurl in fas-hid [bluewavenet]
* Fix - ensure gatewayname is always urlencoded [bluewavenet]
* Fix - client session end not set by binauth [bluewavenet]
* Fix - Session timeout, if client setting is 0, default to global value [bluewavenet]
* Fix - missing trailing separator on query and fix some compiler errors [bluewavenet]
* Fix - ensure authmon daemon is killed if left running from previous crash [bluewavenet]
* Fix - add missing query separator for custom FAS parameters [bluewavenet]
* Fix - ndsctl auth, do not set quotas if client is already authenticated [bluewavenet]
* Fix - client_params, show "Unlimited" when "null" is received from ndsctl json [bluewavenet]
* Update configuration files [bluewavenet]
* update documentation [bluewavenet]
Signed-off-by: Rob White <rob@blue-wave.net>
Rosen Penev [Fri, 11 Dec 2020 03:15:31 +0000 (19:15 -0800)]
cjdns: use codeload
Simplifies Makefile slightly. Hopefully more consistent tarballs.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Fri, 11 Dec 2020 03:07:44 +0000 (19:07 -0800)]
cjdns: update to 21
Fixed compilation with musl 1.2.x , mostly.
Added a patch fixing compilation on 32-bit platforms.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Wed, 16 Dec 2020 01:17:14 +0000 (17:17 -0800)]
ohybridproxy: fix up Makefile
Use a more standard setup for local tarballs to clean up the Makefile.
Fixed license information.
Added PKG_BUILD_PARALLEL for faster compilation.
Removed upstreamed patch.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Wed, 16 Dec 2020 01:58:15 +0000 (17:58 -0800)]
hnetd: update to latest commit
Fixed compilation with newer libubox.
libubox added a sys/stat.h include, which happens to break compilation.
The reason being __unused is a variable in musl and an attribute here.
Fixed by undefining right before including the headers.
Clean up Makefile for consistency between packages.
Refreshed patches.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Moritz Warning [Thu, 26 Nov 2020 21:26:27 +0000 (22:26 +0100)]
Merge pull request #618 from TDT-AG/pr20201009/quagga-libcares
quagga: fix dependency to libcares
Moritz Warning [Tue, 10 Nov 2020 20:45:02 +0000 (21:45 +0100)]
Merge pull request #619 from neheb/qg
quagga: update GCC10 patch
Moritz Warning [Tue, 10 Nov 2020 20:38:59 +0000 (21:38 +0100)]
Merge pull request #625 from bluewavenet/master
opennds: Release 7.0.1
Rob White [Sat, 7 Nov 2020 20:25:58 +0000 (20:25 +0000)]
opennds: Release 7.0.1
This version introduces major new enhancements and the disabling or removal of deprecated functionality.
* Add - built in autonomous Walled Garden operation [bluewavenet]
* Add - Support for Custom Parameters [bluewavenet]
* Add - Quota and rate reporting to ndsctl json. Format output and fix json syntax errors [bluewavenet]
* Add - global quotas to output of ndsctl status [bluewavenet]
* Add - Report Rate Check Window in ndsctl status and show client quotas [bluewavenet]
* Add - gatewaymac to the encrypted query string [bluewavenet]
* Add - support for login mode in PreAuth [bluewavenet]
* Fix - get_iface_ip in case of interface is vif or multihomed [bluewavenet]
* Fix - Add missing client identifier argument in ndsctl help text [bluewavenet]
* Fix - fix missing delimiter in fas-hid [bluewavenet]
* Fix - get_client_interface for case of iw utility not available [bluewavenet]
* Fix - php notice for pedantic php servers in post-request [bluewavenet]
* Remove - support for deprecated RedirectURL [bluewavenet]
* Deprecate - ndsctl clients option [bluewavenet]
* Deprecate - legacy splash.html and disable it [bluewavenet]
Signed-off-by: Rob White <rob@blue-wave.net>
Simon Wunderlich [Tue, 27 Oct 2020 14:02:46 +0000 (15:02 +0100)]
Merge pull request #623 from ecsv/batadv-2020.4
batman-adv: upgrade package to latest release 2020.4
Sven Eckelmann [Sat, 24 Oct 2020 20:16:07 +0000 (22:16 +0200)]
alfred: upgrade package to latest release 2020.4
* (no changes)
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Sat, 24 Oct 2020 20:15:35 +0000 (22:15 +0200)]
batctl: upgrade package to latest release 2020.4
* bugs squashed:
- Fix endianness in ICMPv6 Echo Request/Reply parsing
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Sat, 24 Oct 2020 20:13:42 +0000 (22:13 +0200)]
batman-adv: upgrade package to latest release 2020.4
* support latest kernels (4.4 - 5.10)
* coding style cleanups and refactoring
* bugs squashed:
- fix incorrect reroute handling of multicast packets
- improve handling of multicast packets by bridge loop avoidance
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Martin Schiller [Fri, 9 Oct 2020 06:23:23 +0000 (08:23 +0200)]
quagga: fix dependency to libcares
Commit
9a89e57d7614 ("quagga: update to 1.2.4") introduced a dependency
to libcares.
Fix this by disabling the not used nhrpd (next hop resolution protocol).
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Rosen Penev [Mon, 12 Oct 2020 23:49:57 +0000 (16:49 -0700)]
quagga: update GCC10 patch
Turns out it was incomplete. No idea how...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Moritz Warning [Tue, 6 Oct 2020 17:25:41 +0000 (19:25 +0200)]
Merge pull request #616 from neheb/quagga
quagga: update to 1.2.4
Moritz Warning [Tue, 6 Oct 2020 17:09:22 +0000 (19:09 +0200)]
Merge pull request #612 from neheb/ool
oonf-olsrd2: fix static problems
Moritz Warning [Tue, 6 Oct 2020 16:53:03 +0000 (18:53 +0200)]
Merge pull request #615 from neheb/bmx7
bmx7: fix compilation with uClibc-ng
Moritz Warning [Tue, 6 Oct 2020 16:52:17 +0000 (18:52 +0200)]
Merge pull request #614 from neheb/bmx6
bmx6: fix compilation with uClibc-ng
Rosen Penev [Tue, 18 Aug 2020 09:18:18 +0000 (02:18 -0700)]
quagga: update to 1.2.4
Refreshed patches. Removed one since OpenWrt no longer uses union
mounts. Fixed up gcc10 patch as well.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Sun, 30 Aug 2020 21:09:17 +0000 (14:09 -0700)]
bmx7: fix compilation with uClibc-ng
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Sun, 30 Aug 2020 21:08:39 +0000 (14:08 -0700)]
bmx6: fix compilation with uClibc-ng
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Sun, 4 Oct 2020 21:46:59 +0000 (14:46 -0700)]
oonf-olsrd2: fix static problems
The GCC 10 patch marked several variables in headers as extern, which
is correct. However some upstream change marked the definitions as
static even though the definition was not local to the c files.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Moritz Warning [Sun, 4 Oct 2020 15:10:02 +0000 (17:10 +0200)]
Merge pull request #610 from PolynomialDivision/fix/olsrdgpsd
olsrd: adapt gpsdclient.c to new gpsd lib
Nick Hainke [Sat, 3 Oct 2020 18:02:37 +0000 (20:02 +0200)]
olsrd: adapt gpsdclient.c to new gpsd lib
As mentioned in gpsd.h:
"Move gps_data_t->status to gps_fix_t.status for better fix merging"
Commit:
https://gitlab.com/gpsd/gpsd/-/commit/
29991d6ffeb41ecfc8297db68bb68be0128c8514
Signed-off-by: Nick Hainke <vincent@systemli.org>
Moritz Warning [Wed, 30 Sep 2020 15:13:56 +0000 (17:13 +0200)]
Merge pull request #595 from neheb/hn
hnetd: fix compilation without deprecated OpenSSL APIs
Moritz Warning [Wed, 30 Sep 2020 15:11:01 +0000 (17:11 +0200)]
Merge pull request #590 from neheb/q
quagga: fix compilation with GCC 10
Moritz Warning [Wed, 30 Sep 2020 15:10:51 +0000 (17:10 +0200)]
Merge pull request #591 from neheb/p
prince: fix compilation with GCC 10
Moritz Warning [Wed, 30 Sep 2020 15:10:24 +0000 (17:10 +0200)]
Merge pull request #592 from neheb/bird1
bird1: fix compilation with GCC 10
Moritz Warning [Wed, 30 Sep 2020 15:10:15 +0000 (17:10 +0200)]
Merge pull request #597 from neheb/oon
oons-olsrd2: fix compilation with GCC 10
Moritz Warning [Wed, 30 Sep 2020 15:09:49 +0000 (17:09 +0200)]
Merge pull request #598 from neheb/oon2
oons-dlep-radio: fix compilation with GCC 10
Moritz Warning [Wed, 30 Sep 2020 15:09:33 +0000 (17:09 +0200)]
Merge pull request #599 from neheb/oon3
oonf-dlep-proxy: fix compilation with GCC 10
Moritz Warning [Wed, 30 Sep 2020 15:08:51 +0000 (17:08 +0200)]
Merge pull request #608 from PolynomialDivision/update_oonf
oonf: update olsrv2 packages
Nick Hainke [Thu, 3 Sep 2020 23:29:36 +0000 (01:29 +0200)]
oonf-dlep-radio: update version to v0.15.1
Signed-off-by: Nick Hainke <vincent@systemli.org>
Nick Hainke [Thu, 3 Sep 2020 23:29:10 +0000 (01:29 +0200)]
oonf-dlep-proxy: update version to v0.15.1
Signed-off-by: Nick Hainke <vincent@systemli.org>
Nick Hainke [Thu, 3 Sep 2020 23:26:03 +0000 (01:26 +0200)]
oonf-olsrd2: update version to v0.15.1
Signed-off-by: Nick Hainke <vincent@systemli.org>
Moritz Warning [Fri, 28 Aug 2020 12:40:04 +0000 (14:40 +0200)]
Merge pull request #605 from pmelange/olsrd-bison-3-7-1-changes
olsrd: migrate to using bison 3.7.1
pmelange [Thu, 27 Aug 2020 15:50:11 +0000 (17:50 +0200)]
olsrd: migrate to using bison 3.7.1
With the upgrade to bison 3.7.1 (openwrt commit
1cf842d) building
olsrd was failing. Now, instead of the contents of header files
being directly inserted into the generated source files, they are
instead included with a #include directive.
The local.mk has, until now, done some magic with *-tmp files,
which is not longer necessary and even causes builds to fail.
src/cfgparser/oparse.c:265:10: fatal error: oparse.h-tmp: No such file or directory
#include "oparse.h-tmp"
Suggested-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
Simon Wunderlich [Thu, 27 Aug 2020 08:27:16 +0000 (10:27 +0200)]
Merge pull request #602 from ecsv/batadv-2020.3
batman-adv: upgrade package to latest release 2020.3
Sven Eckelmann [Tue, 25 Aug 2020 18:07:05 +0000 (20:07 +0200)]
batman-adv: upgrade package to latest release 2020.3
* support latest kernels (4.4 - 5.9)
* coding style cleanups and refactoring
* introduce a configurable per interface hop penalty
* bugs squashed:
- avoid uninitialized chaddr when handling DHCP
- fix own OGMv2 check in aggregation receive handling
- fix "NOHZ: local_softirq_pending 08" warnings caused by BLA
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Tue, 25 Aug 2020 18:07:05 +0000 (20:07 +0200)]
batctl: upgrade package to latest release 2020.3
* add per interface hop penalty command
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Tue, 25 Aug 2020 18:07:05 +0000 (20:07 +0200)]
alfred: upgrade package to latest release 2020.3
* synchronization of batman-adv netlink header
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Saverio Proto [Tue, 25 Aug 2020 09:02:02 +0000 (11:02 +0200)]
Merge pull request #596 from neheb/olsr
olsrd: fix compilation with musl 1.2.x
Moritz Warning [Tue, 25 Aug 2020 06:51:46 +0000 (08:51 +0200)]
Merge pull request #593 from neheb/bird2
bird2: fix compilation with GCC 10
Moritz Warning [Mon, 24 Aug 2020 22:13:40 +0000 (00:13 +0200)]
Merge pull request #594 from neheb/bmx
bmx7: fix compilation with GCC 10
Moritz Warning [Mon, 24 Aug 2020 09:56:36 +0000 (11:56 +0200)]
Merge pull request #600 from bluewavenet/master
opennds: Release v6.0.0
Rob White [Sun, 23 Aug 2020 21:36:21 +0000 (22:36 +0100)]
opennds: Release v6.0.0
* This version - for Openwrt after 19.07 - for compatibility with new MHD API
* Set - minimum version of MHD to 0.9.71 for new MHD API [bluewavenet]
* Set - use_outdated_mhd to 0 (disabled) as default [bluewavenet]
* Add - Multifield PreAuth login script with css update [bluewavenet]
* Add - Documentation and config option descriptions for configuring Walled Garden IP Sets
Signed-off-by: Rob White <rob@blue-wave.net>
Rosen Penev [Tue, 11 Aug 2020 19:31:02 +0000 (12:31 -0700)]
oonf-dlep-proxy: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Tue, 11 Aug 2020 19:30:33 +0000 (12:30 -0700)]
oons-dlep-radio: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Tue, 11 Aug 2020 19:29:48 +0000 (12:29 -0700)]
oons-olsrd2: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Tue, 11 Aug 2020 19:28:53 +0000 (12:28 -0700)]
olsrd: fix compilation with musl 1.2.x
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Tue, 11 Aug 2020 19:28:00 +0000 (12:28 -0700)]
hnetd: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>