Toke Høiland-Jørgensen [Wed, 29 Jun 2022 13:10:57 +0000 (15:10 +0200)]
Merge pull request #897 from mbargo23/bird21.02
bird2: bump to version 2.0.10
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>
(cherry picked from commit
1fa9fa339cc99ffd3020dae91c57bfb5d3217745)
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>
(cherry picked from commit
cfd82729a9932d98bacf77a8dbb6410b40516457)
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>
(cherry picked from commit
d705f7989080f38feba4329e5f24d2c85f99a902)
Signed-off-by: Nick Hainke <vincent@systemli.org>
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>
(cherry picked from commit
217330bb5e7c17cc2e9f116f8a853f2e5fb86697)
Signed-off-by: Nick Hainke <vincent@systemli.org>
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>
(cherry picked from commit
09d5ceb9230b907029a3e09858ef181ff85e3913)
Rosen Penev [Fri, 11 Jun 2021 00:25:55 +0000 (17:25 -0700)]
oonf-dlep-radio: fix compilation with Ninja
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit
034ec30869d435621281096caf2fcf2943659630)
Nick Hainke [Sun, 13 Jun 2021 08:06:17 +0000 (10:06 +0200)]
oonf-olsrd2: set PKG_MIRROR_HASH and refresh patch
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
d709225ed049bdc5c2a81f03da89ed70c0519adf)
Rosen Penev [Fri, 11 Jun 2021 00:22:58 +0000 (17:22 -0700)]
oonf-olsrd2: fix compilation with Ninja
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit
519d7bae2961dd34317f729afbbff0bd764c1afd)
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>
(cherry picked from commit
1cd90655dabb22d74d010b589d884a9c0c3d7c8b)
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>
(cherry picked from commit
983096d30858276ea81156b898b67e72566a6696)
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>
(cherry picked from commit
9028f67afd88bbd46edde265bfc77e705406cbc4)
Simon Wunderlich [Sun, 8 May 2022 13:00:28 +0000 (15:00 +0200)]
Merge pull request #859 from ecsv/batadv-for-21.02
openwrt-21.02: batman-adv: Merge bugfixes from 2022.0
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>
(cherry picked from commit
b35766330b89aa14ff6415eaac2a4dcec2adfab4)
Sven Eckelmann [Fri, 6 May 2022 20:26:35 +0000 (22:26 +0200)]
alfred: Merge bugfixes from 2022.1
* Ensure processed change_iface packet is 0-terminated
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Fri, 6 May 2022 20:26:35 +0000 (22:26 +0200)]
batctl: Merge bugfixes from 2022.1
* ping: Skip sleep after last packet
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann [Fri, 6 May 2022 20:26:35 +0000 (22:26 +0200)]
batman-adv: Merge bugfixes from 2022.1
* Request iflink once in batadv-on-batadv check
* Request iflink once in batadv_get_real_netdevice
* Don't expect inter-netns unique iflink indices
* Don't skb_split skbuffs with frag_list
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Simon Wunderlich [Mon, 18 Apr 2022 11:59:37 +0000 (13:59 +0200)]
Merge pull request #853 from ecsv/batadv-for-21.02
openwrt-21.02: batman-adv: compat: Add atomic mc_forwarding support for stable kernels
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>
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>
(cherry picked from commit
b4ab8968946dd3210fb84a812a7f46d0fbc03899)
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>
(cherry picked from commit
65f747a8bcf19e0271e6bbe04c2432f9a93cc406)
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>
(cherry picked from commit
dbff012a2ff5b8a75f3f5e9d3ccd72ee5c91b575)
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>
(cherry picked from commit
5702d2e40bff2fa45b4f628c4c7a9acdcf6d1e31)
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>
(cherry picked from commit
2134c56d12ced1c5b191b35e18f8330384860f15)
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>
(cherry picked from commit
a618159d33e02e9a295388e605447993eca11e52)
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>
(cherry picked from commit
e3c68429239f77c895b32502e2609df8b72c6caa)
Rob White [Sun, 20 Mar 2022 13:14:12 +0000 (13:14 +0000)]
opennds: Release v9.7.0 (for 21.02)
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 21.02.2
* 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>
William Fleurant [Tue, 19 Oct 2021 20:09:02 +0000 (22:09 +0200)]
cjdns: pass for some build warnings (#738)
Compile time changes reviewed by cjd.
Due to stricter compiler(s) we do not
want to error for these warnings.
Caused by: ...reading "past the end"
of a struct, because the struct is
actually a header and the body is of
unknown size. Compilers got stricter
and this became a warning.
Signed-off-by: William Fleurant <meshnet@protonmail.com>
(cherry picked from commit
71c11ab1b7d7f6ca3219c1359e20b168ec1979c5)
[Fix compiling]
Signed-off-by: Nick Hainke <vincent@systemli.org>
Etienne Champetier [Thu, 19 Aug 2021 11:05:07 +0000 (07:05 -0400)]
cjdns: fix uci-defaults (#714)
Since https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=
4b9a67362d70c544b85078b8d5c661f43f7472d9,
uci network config interface sections use 'device' instead of 'ifname'
Even if 'device' seems to always be set by
package/base-files/files/bin/config_generate, we keep the fallbacks
in case someone install the package via opkg and has a non migrated
network config
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit
383c52ff8d9c0577a262d014aca66bd4095f4e38)
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>
(cherry picked from commit
e06a6c962b3e44f29b38369a7dbfda0bfcaa6dc6)
Eneas U de Queiroz [Tue, 19 Oct 2021 13:36:19 +0000 (10:36 -0300)]
mcproxy: include PKG_MIRROR_HASH, refresh patches
This avoids unnecessary downloads and rebuilds.
Patches were refreshed to please github PR checks.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit
564ca99e2c3bd044fb195c4311bca094680d9aa1)
Eneas U de Queiroz [Tue, 19 Oct 2021 13:36:19 +0000 (10:36 -0300)]
pimbd: include PKG_MIRROR_HASH
This avoids unnecessary downloads and rebuilds.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit
ade1fa6ebc0d3cb409849e03ab17825ca7fdb345)
Eneas U de Queiroz [Tue, 19 Oct 2021 13:36:19 +0000 (10:36 -0300)]
minimalist-pcproxy: include PKG_MIRROR_HASH
This avoids unnecessary downloads and rebuilds.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit
e9d5f990a3994d9064a4b5e339b24abe735b1eca)
Eneas U de Queiroz [Tue, 19 Oct 2021 13:36:19 +0000 (10:36 -0300)]
mrd6: include PKG_MIRROR_HASH
This avoids unnecessary downloads and rebuilds.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit
9cb03f0a2f6f1f84672f1d88385fa2244a423e53)
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>
(cherry picked from commit
282af3f8bce72dc976ec28b9d05dbc1e665489ee)
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>
(cherry picked from commit
56fc0d7226116a5e18b9d1686d71e136465b7dc5)
Nick Hainke [Sun, 13 Jun 2021 08:26:40 +0000 (10:26 +0200)]
oonf-dlep-proxy: add PKG_MIRROR_HASH
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
24b27f0875e92759d95e394a39aa2c0be2d3176a)
Rosen Penev [Fri, 11 Jun 2021 00:26:54 +0000 (17:26 -0700)]
oonf-dlep-proxy: fix compilation with Ninja
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit
c762d3fd0f73a5db6357d62f24570a98be540273)
Nick Hainke [Sun, 13 Jun 2021 08:36:36 +0000 (10:36 +0200)]
oonf-dlep-radio: add PKG_MIRROR_HASH
Fixes:
oonf-dlep-radio-v0.15.1.tar.bz2: Download from https://github.com/OLSR/OONF.git failed
oonf-dlep-radio-v0.15.1.tar.bz2: Requires sha256sum for verification
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
9a90e3dd658577022fb3484050835907920ee0f0)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[added commit message]
Rob White [Sun, 20 Feb 2022 08:34:12 +0000 (08:34 +0000)]
opennds: Release v9.6.0 (for 21.02)
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
It requires iptables(legacy)
* 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>
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>
(cherry picked from commit
4afbe1748020e1677ec5529198d92e1870d3c012)
Simon Wunderlich [Thu, 3 Feb 2022 20:21:49 +0000 (21:21 +0100)]
Merge pull request #782 from ecsv/batadv-for-21.02
openwrt-21.02: batman-adv: Merge bugfixes from 2022.0
Sven Eckelmann [Thu, 3 Feb 2022 19:12:06 +0000 (20:12 +0100)]
batman-adv: Merge bugfixes from 2022.0
* allow netlink usage in unprivileged containers
* mcast: don't send link-local multicast to mcast routers
Signed-off-by: Sven Eckelmann <sven@narfation.org>
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>
(cherry picked from commit
879725ce3e2e6e48bbcfed7380ecf3f59cb58edd)
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>
(cherry picked from commit
385200443554ab87e0205f5551f7a0c1883da776)
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>
(cherry picked from commit
0bffe620b441c039780d4336a15c8ed4f2ebbbf4)
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>
(cherry picked from commit
817240b07c7158c72de427051eb9bae1c39b3abe)
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>
(cherry picked from commit
24285ce4fcd56aa806bdbe9ac16cbfed0a81d2f8)
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>
(cherry picked from commit
cf34c5a4a1ace3f8eeac2d2b9b8539e085e8fabf)
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>
(cherry picked from commit
576967a2a3eaa468bcba2f24708ea4674b7e3586)
Rob White [Sat, 18 Dec 2021 20:15:27 +0000 (20:15 +0000)]
opennds: Release v9.5.1 (for 21.02)
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>
Maarten Aertsen [Wed, 20 Oct 2021 13:33:02 +0000 (15:33 +0200)]
ohybridproxy: revert to default log level
Change log level from debug to info to avoid filling up syslog with query-level logging.
Signed-off-by: Maarten Aertsen <spam-github@rtsn.nl>
(cherry picked from commit
4f235865e7d8c37b4ea7d8ee55b4e603a11e06b7)
Simon Wunderlich [Sun, 28 Nov 2021 16:53:16 +0000 (17:53 +0100)]
Merge pull request #758 from ecsv/batadv-for-21.02
openwrt-21.02: batman-adv: Prevent use from libc headers to not build with BIG_ENDIAN
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>
(cherry picked from commit
523821c1959cb288b55b7fcc8761c83f6ff48c4d)
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Simon Wunderlich [Fri, 19 Nov 2021 16:54:43 +0000 (17:54 +0100)]
Merge pull request #751 from ecsv/batadv-for-21.02
openwrt-21.02: batman-adv: Merge bugfixes from 2021.4
Sven Eckelmann [Fri, 19 Nov 2021 16:05:03 +0000 (17:05 +0100)]
batman-adv: Merge bugfixes from 2021.4
* fix error handling during interface initialization
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Nick Hainke [Mon, 15 Nov 2021 18:22:56 +0000 (19:22 +0100)]
naywatch: warn user
Naywatch in combination with the watchdog can be tricky and dangerous
when doing a sysupgrade. Add a warning to always stop naywatch first and
check if procd took control over the watchdog again.
Also change use_watchdog to '0'.
Signed-off-by: Nick Hainke <vincent@systemli.org>
Nick Hainke [Sat, 16 Oct 2021 07:35:53 +0000 (09:35 +0200)]
babeld: remove unnecessray blob_buf_init calls
For some reason the buffer is initialized twice before filling it.
This does not break anything but is useless. Reduce the initialization
to only one.
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
2cf253b3df2db7830692de645504db294151e5ab)
Nick Hainke [Wed, 13 Oct 2021 05:57:09 +0000 (07:57 +0200)]
babeld: free blob-buffers that are on stack
As Felix mentioned:
If a buffer was already allocated, blob_buf_init reuses it. You can
keep reusing it as many times as you want. You only need to call
blob_buf_free if you explicitly want to free the buffer memory
(e.g. on exit, or if the blob_buf is on stack).
http://lists.openwrt.org/pipermail/openwrt-devel/2021-October/036722.html
This PR frees the blob-buffers that are on the stack.
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
6d463ca97cf329fe5b7bb29ff5581076ff7245f9)
Perry Melange [Tue, 12 Oct 2021 16:17:08 +0000 (18:17 +0200)]
olsrd: wait for wireless to initialize before starting
Wait for wireless to initialize (pending="false") to ensure
that any olsrd(6) configured interfaces and their associated
devices are up. This provides the init script the ability
to properly add all interface sections to the generated
config file /tmp/etc/olsrd(6).conf
Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
(cherry picked from commit
0bb6aa04f6ed27fcea341d21a09fd3bcab86cd89)
Nick Hainke [Fri, 1 Oct 2021 08:55:36 +0000 (10:55 +0200)]
naywatch: fix procd handling
Sometimes, naywatch can not handover the watchdog to procd again using
ubus. We need to call the same ubus command multiple times until procd
takes over control again.
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
e35255710bda08f162a185be8c460b6a80e19fb1)
Rob White [Fri, 24 Sep 2021 08:24:39 +0000 (09:24 +0100)]
opennds: Release v9.4.0 (for 21.02)
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, 19.07.8
Description:
This version adds new functionality, and fixes some issues
* Add - Error message in fas-aes-https if shared key is mismatched [bluewave.net]
* Fix - and refactor error 511 page generation[bluewave.net]
* Fix - and refactor dnsmasq configuration [bluewave.net]
* Fix - Typographic error preventing RFC8910 disable [bluewave.net]
* Add - gateway address and gatewayfqdn to ndsctl json output [bluewave.net]
* Add - RFC8910 housekeeping on startup and shutdown [bluewave.net]
* Add - correctly apply dhcp option 114 for generic Linux [bluewave.net]
* Add - reading of configured ndsctlsocket in ndsctl utility[bluewave.net]
* Add - use send_error 200 for MHD watchdog [bluewave.net]
* Add - generation of page_511 html by library script [bluewave.net]
* Add - extend debuglevel support to library scripts [bluewave.net]
* Refactor - fas-aes-https to simplify and make customisation of http easier [bluewave.net]
* Add - library script for error 511 page, allowing customisation [bluewave.net]
* Add - make authmon report connection error details [bluewave.net]
* Fix- remove unwanted debug message in ndsctl [bluewave.net]
* Add - RFC8910 support by default [bluewave.net]
* Add - display status page when accessing /login when authenticated [bluewave.net]
* Add - MHD response to RFC8910 requests [bluewave.net]
* Add - Dnsmasq RFC8910 configuration [bluewave.net]
* Add - send error 511 in response to unsupported http method [bluewave.net]
* Add - Check for ca-bundle on OpenWrt, if not installed, add syslog messages and terminate [bluewave.net]
* Add - Make ndsctl use the configured value for socket path if set and deprecate -s option [bluewave.net]
* Add - Warning message when Walled Garden port 80 is allowed [bluewave.net]
* Fix - remove un-needed pthread_kill in termination_handler() [bluewave.net] [T-X]
* Fix - debug messages from authmon.sh [bluewave.net]
* Fix - Allow disabling gateway fqdn, facilitating access to router port 80 [bluewave.net]
* Fix - Segfault in ndsctl when -s option is used incorrectly [bluewave.net] [T-X]
* Fix - Typo making calculation of ul/dl rates incorrect [bluewave.net]
* Fix - Allow port 80 to be configured in the Walled Garden [bluewave.net]
Signed-off-by: Rob White <rob@blue-wave.net>
Simon Wunderlich [Fri, 20 Aug 2021 20:46:42 +0000 (22:46 +0200)]
Merge pull request #717 from ecsv/batadv-for-21.02
openwrt-21.02: batman-adv: Merge bugfixes from 2021.2
Sven Eckelmann [Fri, 20 Aug 2021 10:02:17 +0000 (12:02 +0200)]
batman-adv: 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>
Sven Eckelmann [Fri, 20 Aug 2021 09:54:22 +0000 (11:54 +0200)]
batman-adv: Merge bugfixes from 2021.2
* Avoid WARN_ON timing related checks
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Nick Hainke [Sun, 6 Jun 2021 13:27:31 +0000 (15:27 +0200)]
olsrd: add filtergw plugin
The plugin adds a possibility to filter out gateway HNAs. This can be
very handy e.g. for faulty nodes. A gateway can be taken out directly on
a central node and all traffic is then redirected. Also the underlying
smart gateways are adapted. Currently the link multiplier is often used
to control a faulty node, but it is not necessarily the best way to do
so.
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
bdec65a6d91025cb05ceea9ea962320bf26e5987)
Nick Hainke [Sat, 12 Jun 2021 07:15:47 +0000 (09:15 +0200)]
olsrd: update to 2021-06-21
- filtergw: add plugin allow to allow/block gateways
(even smartgateway)
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
a302ee626511d3786299acb6d24ba8b29f2d5fe6)
Nick Hainke [Wed, 9 Jun 2021 17:02:05 +0000 (19:02 +0200)]
olsrd: use SPDX
Use SPDX license headers to be machine readable.
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit
1326a6c252a05f13f2eca5216fd1f30aa84439cd)
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>