feed/routing.git
3 years agoopennds: Release 8.1.1
Rob White [Mon, 22 Feb 2021 12:43:13 +0000 (12:43 +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>
3 years agoMerge pull request #643 from ecsv/batadv-2021.0
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

3 years agoalfred: Start up alfred without valid interfaces 643/head
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>
3 years agoalfred: Fix procd process handling for disable state
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>
3 years agobabeld: adopt to upstream header-style (#640)
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>
3 years agobabeld: fix compiler warnings (#639)
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>
3 years agobabeld: send events via ubus (#633)
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>
3 years agoMerge pull request #635 from ecsv/batadv-2021.0
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

3 years agoalfred: upgrade package to latest release 2021.0 635/head
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>
3 years agobatctl: upgrade package to latest release 2021.0
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>
3 years agobatman-adv: upgrade package to latest release 2021.0
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>
3 years agobatman-adv: Drop compat code for Linux < 5.4
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>
3 years agobabeld: add ubus bindings 634/head
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>
3 years agoopennds: Release 8.0.0
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>
3 years agocjdns: use codeload
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>
3 years agocjdns: update to 21
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>
3 years agoohybridproxy: fix up Makefile
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>
3 years agohnetd: update to latest commit
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>
4 years agoMerge pull request #618 from TDT-AG/pr20201009/quagga-libcares
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

4 years agoMerge pull request #619 from neheb/qg
Moritz Warning [Tue, 10 Nov 2020 20:45:02 +0000 (21:45 +0100)]
Merge pull request #619 from neheb/qg

quagga: update GCC10 patch

4 years agoMerge pull request #625 from bluewavenet/master
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

4 years agoopennds: Release 7.0.1 625/head
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>
4 years agoMerge pull request #623 from ecsv/batadv-2020.4
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

4 years agoalfred: upgrade package to latest release 2020.4 623/head
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>
4 years agobatctl: upgrade package to latest release 2020.4
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>
4 years agobatman-adv: upgrade package to latest release 2020.4
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>
4 years agoquagga: fix dependency to libcares 618/head
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>
4 years agoquagga: update GCC10 patch 619/head
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>
4 years agoMerge pull request #616 from neheb/quagga
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

4 years agoMerge pull request #612 from neheb/ool
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

4 years agoMerge pull request #615 from neheb/bmx7
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

4 years agoMerge pull request #614 from neheb/bmx6
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

4 years agoquagga: update to 1.2.4 616/head
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>
4 years agobmx7: fix compilation with uClibc-ng 615/head
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>
4 years agobmx6: fix compilation with uClibc-ng 614/head
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>
4 years agooonf-olsrd2: fix static problems 612/head
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>
4 years agoMerge pull request #610 from PolynomialDivision/fix/olsrdgpsd
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

4 years agoolsrd: adapt gpsdclient.c to new gpsd lib 610/head
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>
4 years agoMerge pull request #595 from neheb/hn
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

4 years agoMerge pull request #590 from neheb/q
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

4 years agoMerge pull request #591 from neheb/p
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

4 years agoMerge pull request #592 from neheb/bird1
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

4 years agoMerge pull request #597 from neheb/oon
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

4 years agoMerge pull request #598 from neheb/oon2
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

4 years agoMerge pull request #599 from neheb/oon3
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

4 years agoMerge pull request #608 from PolynomialDivision/update_oonf
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

4 years agooonf-dlep-radio: update version to v0.15.1 608/head
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>
4 years agooonf-dlep-proxy: update version to v0.15.1
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>
4 years agooonf-olsrd2: update version to v0.15.1
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>
4 years agoMerge pull request #605 from pmelange/olsrd-bison-3-7-1-changes
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

4 years agoolsrd: migrate to using bison 3.7.1 605/head
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>
4 years agoMerge pull request #602 from ecsv/batadv-2020.3
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

4 years agobatman-adv: upgrade package to latest release 2020.3 602/head
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>
4 years agobatctl: upgrade package to latest release 2020.3
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>
4 years agoalfred: upgrade package to latest release 2020.3
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>
4 years agoMerge pull request #596 from neheb/olsr
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

4 years agoMerge pull request #593 from neheb/bird2
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

4 years agoMerge pull request #594 from neheb/bmx
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

4 years agoMerge pull request #600 from bluewavenet/master
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

4 years agoopennds: Release v6.0.0 600/head
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>
4 years agooonf-dlep-proxy: fix compilation with GCC 10 599/head
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>
4 years agooons-dlep-radio: fix compilation with GCC 10 598/head
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>
4 years agooons-olsrd2: fix compilation with GCC 10 597/head
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>
4 years agoolsrd: fix compilation with musl 1.2.x 596/head
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>
4 years agohnetd: fix compilation without deprecated OpenSSL APIs 595/head
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>
4 years agobmx7: fix compilation with GCC 10 594/head
Rosen Penev [Tue, 11 Aug 2020 19:27:12 +0000 (12:27 -0700)]
bmx7: fix compilation with GCC 10

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agobird2: fix compilation with GCC 10 593/head
Rosen Penev [Tue, 11 Aug 2020 19:26:42 +0000 (12:26 -0700)]
bird2: fix compilation with GCC 10

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agobird1: fix compilation with GCC 10 592/head
Rosen Penev [Tue, 11 Aug 2020 19:25:58 +0000 (12:25 -0700)]
bird1: fix compilation with GCC 10

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agoprince: fix compilation with GCC 10 591/head
Rosen Penev [Tue, 11 Aug 2020 19:25:11 +0000 (12:25 -0700)]
prince: fix compilation with GCC 10

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agoquagga: fix compilation with GCC 10 590/head
Rosen Penev [Tue, 11 Aug 2020 19:24:22 +0000 (12:24 -0700)]
quagga: fix compilation with GCC 10

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agobatctl: Enable build of mcast_flags subcommand 587/head
Sven Eckelmann [Tue, 21 Jul 2020 20:29:33 +0000 (22:29 +0200)]
batctl: Enable build of mcast_flags subcommand

The mcast_flags subcommand allows to query the mcast_flags of the current
device and of the seen originators. It should be enabled for the default
and full variants. But the configuration string wasn't correctly included
in the list when the variants were prepared and thus disabled in all
variants.

Reported-by: Linus Lüssing <linus.luessing@c0d3.blue>
Fixes: 129986825219 ("batctl: Provide different variants")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoMerge pull request #586 from lynxis/nodogsplash
Moritz Warning [Sun, 12 Jul 2020 23:29:07 +0000 (01:29 +0200)]
Merge pull request #586 from lynxis/nodogsplash

nodogsplash: update to 5.0.0

4 years agonodogsplash: update to 5.0.0 586/head
Alexander Couzens [Wed, 8 Jul 2020 13:48:13 +0000 (15:48 +0200)]
nodogsplash: update to 5.0.0

4 years agoMerge pull request #583 from ecsv/batadv-2020.2
Simon Wunderlich [Tue, 7 Jul 2020 07:19:48 +0000 (09:19 +0200)]
Merge pull request #583 from ecsv/batadv-2020.2

batman-adv 2020.2

4 years agobatman-adv: upgrade package to latest release 2020.2 583/head
Sven Eckelmann [Mon, 6 Jul 2020 17:54:00 +0000 (19:54 +0200)]
batman-adv: upgrade package to latest release 2020.2

* support latest kernels (4.4 - 5.8)
* coding style cleanups and refactoring
* dropped support for kernels < 4.4
* re-enabled link speed detection for interfaces without auto negotiation

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatctl: upgrade package to latest release 2020.2
Sven Eckelmann [Mon, 6 Jul 2020 17:53:24 +0000 (19:53 +0200)]
batctl: upgrade package to latest release 2020.2

* coding style cleanups and refactoring
* drop support for automatic destruction of empty meshifs
* bugs squashed:

  - Fix parsing of radiotap headers on big endian systems

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoalfred: upgrade package to latest release 2020.2
Sven Eckelmann [Mon, 6 Jul 2020 17:53:07 +0000 (19:53 +0200)]
alfred: upgrade package to latest release 2020.2

* Rephrase names of server roles

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoMerge pull request #582 from bluewavenet/master
Moritz Warning [Thu, 25 Jun 2020 23:27:57 +0000 (01:27 +0200)]
Merge pull request #582 from bluewavenet/master

opennds: Release v5.1.0

4 years agoopennds: Release v5.1.0 582/head
Rob White [Thu, 25 Jun 2020 19:31:06 +0000 (20:31 +0100)]
opennds: Release v5.1.0

Maintainer: Rob White <rob@blue-wave.net>

Compiled and tested using snapshot SDK for mipsel_24kc, mips_24kc and arm_cortex-a7_neon-vfpv4

OpenNDS v5.1.0 release

This release adds major functionality and provides numerous fixes:
Data Rate and Data Volume Quotas are implemented.
BinAuth / fas_secure_enabled level 3 compatibility is implemented.
Page fault and crash when ndsctl auth is called and client not found has been fixed.

From the ChangeLog:

  * Add - Generic Linux - install opennds.service [bluewavenet]
  * Add - Documentation updates [bluewavenet]
  * Add - config file updates [bluewavenet]
  * Add - Install sitewide username/password splash support files [bluewavenet]
  * Add - quotas to binauth_sitewide [bluewavenet]
  * Add - Splash page updates [bluewavenet]
  * Add - Implement Rate Quotas [bluewavenet]
  * Fix - check if idle preauthenticated [bluewavenet]
  * Add - support for rate quotas [bluewavenet]
  * Fix - Correctly compare client counters and clean up debuglevel messages [bluewavenet]
  * Add - Implement upload/download quotas Update fas-aes-https to support quotas [bluewavenet]
  * Add - Rename demo-preauth scripts and install all scripts [bluewavenet]
  * Add - fas-aes-https layout update [bluewavenet]
  * Add - Set some defaults in fas-aes-https [bluewavenet]
  * Add - custom data string to ndsctl auth [bluewavenet]
  * Add - custom data string to fas-hid.php [bluewavenet]
  * Add - Send custom data field to BinAuth via auth_client method [bluewavenet]
  * Fix - missing token value in auth_client [bluewavenet]
  * Add - upload/download quota and rate configuration values [bluewavenet]
  * Add - Send client token to binauth [bluewavenet]
  * Add - Rename upload_limit and download_limit to upload_rate and download_rate [bluewavenet]
  * Fix - Pass correct session end time to binauth [bluewavenet]
  * Add - some debuglevel 3 messages [bluewavenet]
  * Add - description of the favicon and page footer images [bluewavenet]
  * Add - Authmon collect authentication parameters from fas-aes-https [bluewavenet]
  * Add - sessionlength to ndsctl auth [bluewavenet]
  * Fix - Page fault when ndsctl auth is called and client not found [bluewavenet]
  * Add - Enable BinAuth / fas_secure_enabled level 3 compatibility [bluewavenet]
  * Fix - Correctly set BinAuth session_end [bluewavenet]
  * Add - Updates to Templated Splash pages [bluewavenet]
  * Add - Community Testing files [bluewavenet]
  * Fix - BinAuth error passing client session times [bluewavenet]
  * Fix - PHP notice - undefined constant [bluewavenet]
  * Fix - OpenWrt CONFLICTS variable in Makefile [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
4 years agoMerge pull request #580 from PolynomialDivision/fix/olsrd
zorun [Thu, 18 Jun 2020 13:10:12 +0000 (15:10 +0200)]
Merge pull request #580 from PolynomialDivision/fix/olsrd

olsrd: bump to latest version

4 years agoolsrd: bump to latest version 580/head
Nick Hainke [Thu, 18 Jun 2020 12:02:51 +0000 (14:02 +0200)]
olsrd: bump to latest version

Fixes https://github.com/openwrt-routing/packages/issues/547

Signed-off-by: Nick Hainke <vincent@systemli.org>
4 years agoMerge pull request #579 from pedro-nonfree/patch-3
zorun [Mon, 15 Jun 2020 19:53:19 +0000 (21:53 +0200)]
Merge pull request #579 from pedro-nonfree/patch-3

luci-app-bmx6: fixes error line in logread #578

4 years agoMerge pull request #574 from pedro-nonfree/patch-2
zorun [Mon, 15 Jun 2020 19:42:17 +0000 (21:42 +0200)]
Merge pull request #574 from pedro-nonfree/patch-2

bmx6: update version to fix #573 memory leak

4 years agoluci-app-bmx6: fixes error line in logread #578 579/head
Pedro hates github.com [Sun, 14 Jun 2020 23:53:12 +0000 (01:53 +0200)]
luci-app-bmx6: fixes error line in logread #578

each time the luci view `network/bmx6/tunnels is displayed it shows results
each 5 seconds. It queries to a cgi script bmx6-info.sh that causes a strange
error in logread:

    daemon.err uhttpd[pid]: sh: "tunnels":: unknown operand

Prior versions to 19.x release did not show it.

Signed-off-by: Pedro <pedrowrt@cas.cat>
4 years agobmx6: update version to fix #573 memory leak 574/head
Pedro hates github.com [Thu, 4 Jun 2020 12:38:07 +0000 (14:38 +0200)]
bmx6: update version to fix #573 memory leak

Signed-off-by: Pedro <pedrowrt@cas.cat>
4 years agoluci-app-cjdns: Add rpcd acl file (#576)
William Fleurant [Wed, 10 Jun 2020 03:20:43 +0000 (23:20 -0400)]
luci-app-cjdns: Add rpcd acl file (#576)

Signed-off-by: William Fleurant <meshnet@protonmail.com>
4 years agoohybridproxy: Bump (.home -> .home.arpa works)
Markus Stenberg [Fri, 22 May 2020 06:27:16 +0000 (09:27 +0300)]
ohybridproxy: Bump (.home -> .home.arpa works)

4 years agoMerge pull request #571 from ecsv/batadv_kbuild_cleanup
Simon Wunderlich [Wed, 20 May 2020 12:34:33 +0000 (14:34 +0200)]
Merge pull request #571 from ecsv/batadv_kbuild_cleanup

batman-adv: use KERNEL_MAKE_FLAGS for kernel module compilation

4 years agobatman-adv: Provide mac80211's config settings 571/head
Sven Eckelmann [Tue, 19 May 2020 12:43:56 +0000 (14:43 +0200)]
batman-adv: Provide mac80211's config settings

The mac80211 headers might depend on the actual configuration of mac80211
to generate an ABI compatible structure definition. batman-adv must
therefore include the header with these config definitions.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatman-adv: use KERNEL_MAKE_FLAGS for kernel module compilation
Sven Eckelmann [Tue, 19 May 2020 12:38:03 +0000 (14:38 +0200)]
batman-adv: use KERNEL_MAKE_FLAGS for kernel module compilation

It is easier to use the global define than to manually keep track of the
changes in the various kernel module makefiles in the main OpenWrt
repository and feeds.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoopennds: Release v5.0.1
Rob White [Thu, 7 May 2020 13:02:51 +0000 (14:02 +0100)]
opennds: Release v5.0.1

Maintainer: Rob White <rob@blue-wave.net>

Compiled and tested on snapshot SDK for mipsel_24kc, mips_24kc and arm_cortex-a7_neon-vfpv4

This release provides a fix for a Path Traversal Attack vulnerability present in libmicrohttpd's built in unescape functionality.

Signed-off-by: Rob White <rob@blue-wave.net>
4 years agoMerge pull request #562 from ecsv/batadv-2020.1
Simon Wunderlich [Mon, 27 Apr 2020 08:25:17 +0000 (10:25 +0200)]
Merge pull request #562 from ecsv/batadv-2020.1

batman-adv 2020.1

4 years agobatman-adv: upgrade package to latest release 2020.1 562/head
Sven Eckelmann [Fri, 24 Apr 2020 17:30:11 +0000 (19:30 +0200)]
batman-adv: upgrade package to latest release 2020.1

* support latest kernels (3.16 - 5.7-rc2)
* coding style cleanups and refactoring
* bugs squashed:

  - fix reference leaks in throughput_override sysfs file
  - fix reference leak in B.A.T.M.A.N. V OGM error handling
  - fix network coding random weighting

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatctl: upgrade package to latest release 2020.1
Sven Eckelmann [Fri, 24 Apr 2020 17:24:15 +0000 (19:24 +0200)]
batctl: upgrade package to latest release 2020.1

* bugs squashed:

  - Fix error code on throughputmeter errors

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoalfred: upgrade package to latest release 2020.1
Sven Eckelmann [Fri, 24 Apr 2020 17:23:48 +0000 (19:23 +0200)]
alfred: upgrade package to latest release 2020.1

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatman-adv: Drop compat-sources build
Sven Eckelmann [Fri, 24 Apr 2020 17:01:20 +0000 (19:01 +0200)]
batman-adv: Drop compat-sources build

The compat-sources are no longer needed for kernels >= 4.4. Older kernel
versions are not used since a while in OpenWrt.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoMerge pull request #561 from fblaese/babeld-master
zorun [Wed, 22 Apr 2020 12:32:06 +0000 (14:32 +0200)]
Merge pull request #561 from fblaese/babeld-master

babeld: Update to version 1.9.2

4 years agobabeld: Update to version 1.9.2 561/head
Fabian Bläse [Wed, 22 Apr 2020 10:52:41 +0000 (12:52 +0200)]
babeld: Update to version 1.9.2

21 April 2020: babeld-1.9.2

  * Fixed two issues that could cause IPv4 routes to be represented
    incorrectly, with a range of confusing symptoms.  Thanks to
    Fabian Bläse.
  * Fixed incorrect parsing of TLVs with an unknown Address Encoding.
    Thanks to Théophile Bastian.
  * Fixed access to mis-aligned data structure.  Thanks to Antonin Décimo.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
4 years agoMerge pull request #559 from bluewavenet/master
Moritz Warning [Mon, 13 Apr 2020 20:09:36 +0000 (22:09 +0200)]
Merge pull request #559 from bluewavenet/master

opennds: Create new Package, release v5.0.0

4 years agoopennds: Create new Package, release v5.0.0 559/head
Rob White [Mon, 13 Apr 2020 18:55:51 +0000 (19:55 +0100)]
opennds: Create new Package, release v5.0.0

Maintainer: Rob White <rob@blue-wave.net>

Compiled and tested on snapshot SDK for mipsel_24kc, mips_24kc and arm_cortex-a7_neon-vfpv4

This is the first release from the OpenNDS project.

The decision has been made by the developers of the NoDogSplash project, to create a new project, beginning at v5.0.0

The two resulting projects are:

 * **OpenNDS**, the new project, optimised for development of custom captive portal solutions using the built in Forwarding authentication Services API and associated libraries.

 * **NoDogSplash**, the original project, optimised for hardware with very restricted resources (eg legacy 8/32 devices) and supporting only simple templated splash pages.

At v5.0.0 of both projects share a common code base.

However, the two packages will inevitably and rapidly diverge, as OpenNDS is actively developing, whereas NoDogSplash is feature complete for its optimised target use.

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