Commit Graph

1606 Commits

Author SHA1 Message Date
Sven Eckelmann 8de6e21ec5 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>
2021-01-28 21:08:27 +01:00
Sven Eckelmann 6c81fc2916 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>
2021-01-28 21:08:27 +01:00
Sven Eckelmann 39cf9f5b47 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>
2021-01-28 21:05:35 +01:00
Nick Hainke ea4a3f28dc 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>
2021-01-15 01:13:26 +01:00
Rob White bb95bffc16 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>
2021-01-11 14:10:33 +00:00
Rosen Penev 25d53e8462 cjdns: use codeload
Simplifies Makefile slightly. Hopefully more consistent tarballs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-26 11:52:20 +00:00
Rosen Penev 0907cf0a94 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>
2020-12-26 11:52:20 +00:00
Rosen Penev 4407369e70 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>
2020-12-17 06:29:46 +00:00
Rosen Penev 3dd7f27558 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>
2020-12-17 06:28:05 +00:00
Moritz Warning 330a0cc9d4
Merge pull request #618 from TDT-AG/pr20201009/quagga-libcares
quagga: fix dependency to libcares
2020-11-26 22:26:27 +01:00
Moritz Warning 068a0613a9
Merge pull request #619 from neheb/qg
quagga: update GCC10 patch
2020-11-10 21:45:02 +01:00
Moritz Warning 52be3011ec
Merge pull request #625 from bluewavenet/master
opennds: Release 7.0.1
2020-11-10 21:38:59 +01:00
Rob White 4f2528a796 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>
2020-11-07 20:25:58 +00:00
Simon Wunderlich 7dba1fdbff
Merge pull request #623 from ecsv/batadv-2020.4
batman-adv: upgrade package to latest release 2020.4
2020-10-27 15:02:46 +01:00
Sven Eckelmann 331bc1cd3b alfred: upgrade package to latest release 2020.4
* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2020-10-27 14:46:11 +01:00
Sven Eckelmann 89d7857d0e 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>
2020-10-27 14:46:11 +01:00
Sven Eckelmann aca51f8149 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>
2020-10-27 14:46:11 +01:00
Martin Schiller 3e6059ff4a quagga: fix dependency to libcares
Commit 9a89e57d76 ("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>
2020-10-14 12:50:40 +02:00
Rosen Penev 22a5a2286f
quagga: update GCC10 patch
Turns out it was incomplete. No idea how...

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-12 17:02:32 -07:00
Moritz Warning f690ecb7e0
Merge pull request #616 from neheb/quagga
quagga: update to 1.2.4
2020-10-06 19:25:41 +02:00
Moritz Warning 0193fa585b
Merge pull request #612 from neheb/ool
oonf-olsrd2: fix static problems
2020-10-06 19:09:22 +02:00
Moritz Warning e15d793a49
Merge pull request #615 from neheb/bmx7
bmx7: fix compilation with uClibc-ng
2020-10-06 18:53:03 +02:00
Moritz Warning 094170ac0d
Merge pull request #614 from neheb/bmx6
bmx6: fix compilation with uClibc-ng
2020-10-06 18:52:17 +02:00
Rosen Penev 9a89e57d76
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>
2020-10-05 17:26:26 -07:00
Rosen Penev a30eca4a0a
bmx7: fix compilation with uClibc-ng
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-05 16:01:17 -07:00
Rosen Penev c3c3be6457
bmx6: fix compilation with uClibc-ng
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-05 16:00:40 -07:00
Rosen Penev 186b2117f4
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>
2020-10-05 15:50:26 -07:00
Moritz Warning b389738677
Merge pull request #610 from PolynomialDivision/fix/olsrdgpsd
olsrd: adapt gpsdclient.c to new gpsd lib
2020-10-04 17:10:02 +02:00
Nick Hainke 6e72bcffa5 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:
29991d6ffe

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-10-03 22:38:02 +02:00
Moritz Warning 9cfb2ea631
Merge pull request #595 from neheb/hn
hnetd: fix compilation without deprecated OpenSSL APIs
2020-09-30 17:13:56 +02:00
Moritz Warning 7e01ee3b8e
Merge pull request #590 from neheb/q
quagga: fix compilation with GCC 10
2020-09-30 17:11:01 +02:00
Moritz Warning 025f05fd42
Merge pull request #591 from neheb/p
prince: fix compilation with GCC 10
2020-09-30 17:10:51 +02:00
Moritz Warning ef0fe62653
Merge pull request #592 from neheb/bird1
bird1: fix compilation with GCC 10
2020-09-30 17:10:24 +02:00
Moritz Warning d30adf2d53
Merge pull request #597 from neheb/oon
oons-olsrd2: fix compilation with GCC 10
2020-09-30 17:10:15 +02:00
Moritz Warning a42325b471
Merge pull request #598 from neheb/oon2
oons-dlep-radio: fix compilation with GCC 10
2020-09-30 17:09:49 +02:00
Moritz Warning de3a284abc
Merge pull request #599 from neheb/oon3
oonf-dlep-proxy: fix compilation with GCC 10
2020-09-30 17:09:33 +02:00
Moritz Warning ee39c58637
Merge pull request #608 from PolynomialDivision/update_oonf
oonf: update olsrv2 packages
2020-09-30 17:08:51 +02:00
Nick Hainke a7bf414264 oonf-dlep-radio: update version to v0.15.1
Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-09-04 01:30:09 +02:00
Nick Hainke d59c3f1f6f oonf-dlep-proxy: update version to v0.15.1
Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-09-04 01:29:10 +02:00
Nick Hainke 1d00adeb94 oonf-olsrd2: update version to v0.15.1
Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-09-04 01:27:12 +02:00
Moritz Warning b309086fa2
Merge pull request #605 from pmelange/olsrd-bison-3-7-1-changes
olsrd: migrate to using bison 3.7.1
2020-08-28 14:40:04 +02:00
pmelange 5cc8e05885 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>
2020-08-27 18:01:39 +02:00
Simon Wunderlich 741a6b9f77
Merge pull request #602 from ecsv/batadv-2020.3
batman-adv: upgrade package to latest release 2020.3
2020-08-27 10:27:16 +02:00
Sven Eckelmann c201b00922 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>
2020-08-25 20:09:34 +02:00
Sven Eckelmann 4e7401602b batctl: upgrade package to latest release 2020.3
* add per interface hop penalty command

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2020-08-25 20:08:53 +02:00
Sven Eckelmann 7091b78760 alfred: upgrade package to latest release 2020.3
* synchronization of batman-adv netlink header

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2020-08-25 20:07:05 +02:00
Saverio Proto b25be11308
Merge pull request #596 from neheb/olsr
olsrd: fix compilation with musl 1.2.x
2020-08-25 11:02:02 +02:00
Moritz Warning 94a8e1ade5
Merge pull request #593 from neheb/bird2
bird2: fix compilation with GCC 10
2020-08-25 08:51:46 +02:00
Moritz Warning fa7998661e
Merge pull request #594 from neheb/bmx
bmx7: fix compilation with GCC 10
2020-08-25 00:13:40 +02:00
Moritz Warning 4a1a536059
Merge pull request #600 from bluewavenet/master
opennds: Release v6.0.0
2020-08-24 11:56:36 +02:00