feed/routing.git
2 years agoMerge pull request #898 from mbargo23/bird19.07 openwrt-19.07
Toke Høiland-Jørgensen [Wed, 29 Jun 2022 13:10:52 +0000 (15:10 +0200)]
Merge pull request #898 from mbargo23/bird19.07

bird2: bump to version 2.0.10

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

Signed-off-by: Jan Betik <jan.betik@nic.cz>
(cherry picked from commit 1fa9fa339cc99ffd3020dae91c57bfb5d3217745)

2 years agoci: use openwrt/gh-action-sdk@v4
Petr Štetiar [Thu, 24 Mar 2022 08:17:27 +0000 (09:17 +0100)]
ci: use openwrt/gh-action-sdk@v4

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

Signed-off-by: Petr Štetiar <ynezz@true.cz>
[applied to routing feed]
[whitespace issue not existing in routing feed]
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 5702d2e40bff2fa45b4f628c4c7a9acdcf6d1e31)

2 years agoCI: update SDK action to v3
Paul Spooren [Sat, 9 Oct 2021 19:34:37 +0000 (09:34 -1000)]
CI: update SDK action to v3

No also check mirror hashes and badly formated init files

Signed-off-by: Paul Spooren <mail@aparcar.org>
[applied to routing feed]
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 2134c56d12ced1c5b191b35e18f8330384860f15)

2 years agoahcpd: use SHA256 hash and use HTTPS everywhere
Josef Schlehofer [Sat, 11 Jan 2020 14:08:23 +0000 (15:08 +0100)]
ahcpd: use SHA256 hash and use HTTPS everywhere

- The old page redirects to a new one and it uses HTTPS.
Let's skip that redirect in PKG_SOURCE_URL and URL.
- Reorder some things to be sync with Makefiles in packages feed
- Add PKG_LICENSE_FILES

Fixes: 47edf2d27594083f91777913bbe57c43a2927f09 (ahcpd: Replace
PKG_MD5SUM with PKG_HASH)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 6debd2f564ce1ffed6b397c79bd4d6fa60ad30e2)

2 years agomcproxy: Fix compilation with uClibc-ng
Rosen Penev [Mon, 27 May 2019 07:04:01 +0000 (00:04 -0700)]
mcproxy: Fix compilation with uClibc-ng

uClibc-ng also defines __GLIBC__, which messes up the check.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit b3ebe49dabd95cf834e1665117454448cea30009)

2 years agocjdns-tests: Don't build on ARC (#487)
Rosen Penev [Mon, 29 Jul 2019 17:38:51 +0000 (10:38 -0700)]
cjdns-tests: Don't build on ARC (#487)

Not supported.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 9f5d42692ec77f5cecbdebf0f594887eb30b2305)

2 years agocjdns: Do not build on ARC
Rosen Penev [Mon, 27 May 2019 23:48:46 +0000 (16:48 -0700)]
cjdns: Do not build on ARC

Is not supported by node.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit ac8fc386fcefbcac1bac9859f208460dcd2df2db)

2 years agoolsrd: remove empty .gitignore file
Josef Schlehofer [Sun, 27 Feb 2022 12:55:12 +0000 (13:55 +0100)]
olsrd: remove empty .gitignore file

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agopimbd: add PKG_MIRROR_HASH
Josef Schlehofer [Sun, 27 Feb 2022 12:32:38 +0000 (13:32 +0100)]
pimbd: add PKG_MIRROR_HASH

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agooonf-olsrd2: add PKG_MIRROR_HASH
Josef Schlehofer [Sun, 27 Feb 2022 12:32:26 +0000 (13:32 +0100)]
oonf-olsrd2: add PKG_MIRROR_HASH

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agooonf-dlep-radio: add PKG_MIRROR_HASH
Josef Schlehofer [Sun, 27 Feb 2022 12:32:12 +0000 (13:32 +0100)]
oonf-dlep-radio: add PKG_MIRROR_HASH

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agooonf-dlep-proxy: add PKG_MIRROR_HASH
Josef Schlehofer [Sun, 27 Feb 2022 12:32:01 +0000 (13:32 +0100)]
oonf-dlep-proxy: add PKG_MIRROR_HASH

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agoolsrd: add PKG_MIRROR_HASH
Josef Schlehofer [Sun, 27 Feb 2022 12:31:46 +0000 (13:31 +0100)]
olsrd: add PKG_MIRROR_HASH

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agoohybridproxy: add PKG_MIRROR_HASH, refresh patch
Josef Schlehofer [Sun, 27 Feb 2022 12:31:35 +0000 (13:31 +0100)]
ohybridproxy: add PKG_MIRROR_HASH, refresh patch

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agomrd6: add PKG_MIRROR_HASH
Josef Schlehofer [Sun, 27 Feb 2022 12:31:03 +0000 (13:31 +0100)]
mrd6: add PKG_MIRROR_HASH

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agominimalist-pcproxy: add PKG_MIRROR_HASH
Josef Schlehofer [Sun, 27 Feb 2022 12:30:45 +0000 (13:30 +0100)]
minimalist-pcproxy: add PKG_MIRROR_HASH

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agomcproxy: add PKG_MIRROR_HASH
Josef Schlehofer [Sun, 27 Feb 2022 12:30:32 +0000 (13:30 +0100)]
mcproxy: add PKG_MIRROR_HASH

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agohnetd: add PKG_MIRROR_HASH, refresh patch
Josef Schlehofer [Sun, 27 Feb 2022 12:30:21 +0000 (13:30 +0100)]
hnetd: add PKG_MIRROR_HASH, refresh patch

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agocjdns: add PKG_MIRROR_HASH
Josef Schlehofer [Sun, 27 Feb 2022 12:29:56 +0000 (13:29 +0100)]
cjdns: add PKG_MIRROR_HASH

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agoCI: fix multi-arch-test-build for 19.07 branch
Nick Hainke [Sat, 26 Feb 2022 16:11:51 +0000 (17:11 +0100)]
CI: fix multi-arch-test-build for 19.07 branch

The "i386_pentium-mmx" does not exist in 19.07.

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

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

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 817240b07c7158c72de427051eb9bae1c39b3abe)

2 years agoissuetemplate: reference foreign repos
Sven Roederer [Thu, 17 Jun 2021 19:26:53 +0000 (21:26 +0200)]
issuetemplate: reference foreign repos

As we are the routing-feed, we don't care for packages of the base-, luci- and packages-feed.

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
(cherry picked from commit b81e9c8bab72ada2ecb97a9dd36f691aceedda38)

2 years agoCI: fix building multi-arch-test-build
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>
(cherry picked from commit b65879895a0acb2a47b2d8c87afde6236ea0157c)

2 years agoCI: copy .github from openwrt-packages
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)

2 years agoMerge pull request #783 from ecsv/batadv-for-19.07
Simon Wunderlich [Thu, 3 Feb 2022 20:21:57 +0000 (21:21 +0100)]
Merge pull request #783 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2022.0

2 years agobatman-adv: Merge bugfixes from 2022.0 783/head
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

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 years agoMerge pull request #752 from ecsv/batadv-for-19.07
Simon Wunderlich [Fri, 19 Nov 2021 16:54:51 +0000 (17:54 +0100)]
Merge pull request #752 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2021.4

2 years agobatman-adv: Merge bugfixes from 2021.4 752/head
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>
2 years agobatman-adv: Refresh patches with quilt
Sven Eckelmann [Fri, 19 Nov 2021 16:12:00 +0000 (17:12 +0100)]
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>
3 years agoMerge pull request #718 from ecsv/batadv-for-19.07
Simon Wunderlich [Fri, 20 Aug 2021 20:46:55 +0000 (22:46 +0200)]
Merge pull request #718 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2021.2

3 years agobatman-adv: Merge bugfixes from 2021.2 718/head
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>
3 years agoMerge pull request #658 from ecsv/batadv-for-19.07
Simon Wunderlich [Tue, 18 May 2021 17:09:21 +0000 (19:09 +0200)]
Merge pull request #658 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2021.1

3 years agobatman-adv: Merge bugfixes from 2021.1 658/head
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>
3 years agobird2: Makefile polishing
Josef Schlehofer [Thu, 25 Mar 2021 11:26:41 +0000 (12:26 +0100)]
bird2: Makefile polishing

- Just small reodering of some rows to be more consistent with packages feed
- Fix deprecated SPDX License Identifier

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit b38a46acd54879cd56de433a5e86c2dcf4b8b151)

3 years agobird2: update to version 2.0.8
Josef Schlehofer [Thu, 25 Mar 2021 11:16:49 +0000 (12:16 +0100)]
bird2: update to version 2.0.8

- Removed patch as it is now included in upstream release
- Removed --with-linux-headers option
(Fixes: configure: WARNING: unrecognized options: --with-linux-headers)

Changelog:
https://bird.network.cz/pipermail/bird-users/2021-March/015281.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agoMerge pull request #644 from ecsv/batadv-for-19.07
Simon Wunderlich [Tue, 16 Feb 2021 07:45:44 +0000 (08:45 +0100)]
Merge pull request #644 from ecsv/batadv-for-19.07

openwrt-19.07: alfred: Fix state handling for startup and restart/reload of alfred

3 years agoalfred: Start up alfred without valid interfaces 644/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 agoMerge pull request #636 from ecsv/batadv-for-19.07
Simon Wunderlich [Thu, 28 Jan 2021 21:26:11 +0000 (22:26 +0100)]
Merge pull request #636 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2021.0

3 years agobatman-adv: Merge bugfixes from 2021.0 636/head
Sven Eckelmann [Thu, 28 Jan 2021 20:39:59 +0000 (21:39 +0100)]
batman-adv: Merge bugfixes from 2021.0

* set .owner to THIS_MODULE
* Consider fragmentation for needed_headroom
* Reserve needed_*room for fragments
* Don't always reallocate the fragmentation skb head

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 years agobatctl: Merge bugfixes from 2021.0
Sven Eckelmann [Thu, 28 Jan 2021 20:34:50 +0000 (21:34 +0100)]
batctl: Merge bugfixes from 2021.0

* Don't stop when create_interface detected existing interface
* Fix retrieval of meshif ap_isolation

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoMerge pull request #620 from ecsv/batadv-for-19.07
Simon Wunderlich [Tue, 27 Oct 2020 14:03:08 +0000 (15:03 +0100)]
Merge pull request #620 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2020.4

4 years agobatctl: Merge bugfixes from 2020.4 620/head
Sven Eckelmann [Sat, 24 Oct 2020 19:40:40 +0000 (21:40 +0200)]
batctl: Merge bugfixes from 2020.4

* tcpdump: Fix endianness in ICMPv6 Echo Request/Reply parsing

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatman-adv: Merge bugfixes from 2020.4
Sven Eckelmann [Sat, 24 Oct 2020 19:40:40 +0000 (21:40 +0200)]
batman-adv: Merge bugfixes from 2020.4

* bla: fix type misuse for backbone_gw hash indexing
* mcast/TT: fix wrongly dropped or rerouted packets
* Add missing include for in_interrupt()
* mcast: fix duplicate mcast packets in BLA backbone from LAN
* mcast: fix duplicate mcast packets in BLA backbone from mesh
* mcast: fix duplicate mcast packets from BLA backbone to mesh

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoMerge pull request #603 from ecsv/batadv-for-19.07
Simon Wunderlich [Thu, 27 Aug 2020 08:27:20 +0000 (10:27 +0200)]
Merge pull request #603 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2020.3

4 years agobatman-adv: Merge bugfixes from 2020.3 588/head 603/head
Sven Eckelmann [Tue, 25 Aug 2020 18:36:05 +0000 (20:36 +0200)]
batman-adv: Merge bugfixes from 2020.3

* Avoid uninitialized chaddr when handling DHCP
* Fix own OGM check in aggregated OGMs
* bla: use netif_rx_ni when not in interrupt context

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoMerge pull request #601 from bluewavenet/openwrt-19.07
Moritz Warning [Tue, 25 Aug 2020 06:51:18 +0000 (08:51 +0200)]
Merge pull request #601 from bluewavenet/openwrt-19.07

openwrt-19.07: opennds: Backport v5.2.0

4 years agoopennds: Backport v5.2.0 601/head
Rob White [Mon, 24 Aug 2020 12:08:37 +0000 (13:08 +0100)]
opennds: Backport v5.2.0

Designed to replace the old NoDogsplash v4.0.3
NoDogSplash v4.0.3 still contains the FAS API but has numerous bugs,
some serious, but is no longer supported as the decision was made to
split into two projects - openNDS with FAS and NoDoGSplash optimised for
devices with minimal resources.

This version of openNDS is functionally the same as v6.0.0, but supports
libmicrohttpd (MHD) versions up to 0.9.70 that use the old MHD API.

There are many additions and bugfixes over NoDogSplash v4.0.3.
eg support for HTTPS remote FAS and support for upload/download quotas.

From the Changelog:
openNDS (5.2.0)

  * This version - for backport to Openwrt 19.07 - for compatibility with old MHD API
  * Fix - Failure of MHD with some operating systems eg Debian [bluewavenet]
  * Fix - potential buffer truncation in ndsctl
  * Set - use_outdated_mhd to 1 (enabled) as default [bluewavenet]
  * Set - maximum permissible version of MHD to 0.9.70 to ensure old MHD API is used [bluewavenet]

openNDS (5.1.0)

  * 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]

openNDS (5.0.1)

  * Fix - Path Traversal Attack vulnerability allowed by libmicrohttpd's built in unescape functionality [bluewavenet] [lynxis]

openNDS (5.0.0)

  * Import - from NoDogSplash 4.5.0 allowing development without compromising NoDogSplash optimisation for minimum resource utilisation [bluewavenet]
  * Rename - from NoDogSplash to openNDS [bluewavenet]
  * Create - openNDS avatar and splash image [bluewavenet]
  * Move - wait_for_interface to opennds C code ensuring consistent start at boot time for all hardware, OpenWrt and Debian [bluewavenet]
  * Add - Enable https protocol for remote FAS [bluewavenet]
  * Add - trusted devices list to ndsctl json output [bluewavenet]
  * Add - option unescape_callback_enabled [bluewavenet]
  * Add - get_client_token library utility [bluewavenet]
  * Add - utf-8 to PreAuth header [bluewavenet]
  * Add - PreAuth Support for hashed id (hid) if sent by NDS [bluewavenet]
  * Add - library script shebang warning for systems not running Busybox [bluewavenet]
  * Add - htmlentityencode function, encode gatewayname in templated splash page [bluewavenet]
  * Add - htmlentity encode gatewayname on login page (PreAuth) [bluewavenet]
  * Add - Simple customisation of log file location for PreAuth and BinAuth [bluewavenet]
  * Add - option use_outdated_mhd [bluewavenet]
  * Add - url-encode and htmlentity-encode gatewayname on startup [bluewavenet]
  * Add - Allow special characters in username (PreAuth) [bluewavenet]
  * Add - Documentation updates [bluewavenet]
  * Add - Various style and cosmetic updates  [bluewavenet]
  * Fix - Change library script shebang to bash in Debian [bluewavenet]
  * Fix - Remove unnecessary characters causing script execution failure in Debian [bluewavenet]
  * Fix - Add missing NULL parameter in MHD_OPTION_UNESCAPE_CALLBACK [skra72] [bluewavenet]
  * Fix - Script failures running on Openwrt 19.07.0 [bluewavenet]
  * Fix - Preauth, status=authenticated [bluewavenet]
  * Fix - Prevent ndsctl from running if called from a Binauth script. [bluewavenet]
  * Fix - Minor changes in Library scripts for better portability [bluewavenet]
  * Fix - Prevent php notices on pedantic php servers [bluewavenet]
  * Fix - broken remote image retrieval (PreAuth) [bluewavenet]
  * Fix - Allow use of "#" in gatewayname [bluewavenet]

Tested on mips_24kc, mipsel_24kc, arm_cortex-a7_neon-vfpv4 and x86_64 platforms.

Signed-off-by: Rob White <rob@blue-wave.net>
4 years agobatctl: Enable build of mcast_flags subcommand
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 #584 from ecsv/batadv-for-19.07
Simon Wunderlich [Tue, 7 Jul 2020 07:20:00 +0000 (09:20 +0200)]
Merge pull request #584 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2020.1

4 years agobatman-adv: Merge bugfixes from 2020.2 584/head
Sven Eckelmann [Mon, 6 Jul 2020 18:04:33 +0000 (20:04 +0200)]
batman-adv: Merge bugfixes from 2020.2

* Revert "disable ethtool link speed detection when auto negotiation off"

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatctl: Merge bugfixes from 2020.2
Sven Eckelmann [Mon, 6 Jul 2020 18:04:33 +0000 (20:04 +0200)]
batctl: Merge bugfixes from 2020.2

* fix endianness when reading radiotap header
* Only remove batadv interface on hardif reduction

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agonodogsplash: update to 4.0.3
Alexander Couzens [Wed, 6 May 2020 03:04:11 +0000 (05:04 +0200)]
nodogsplash: update to 4.0.3

Fix a traversal path attack.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
4 years agoMerge pull request #563 from ecsv/batadv-for-19.07
Simon Wunderlich [Mon, 27 Apr 2020 08:25:41 +0000 (10:25 +0200)]
Merge pull request #563 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2020.1

4 years agobatman-adv: Merge bugfixes from 2020.1 563/head
Sven Eckelmann [Fri, 24 Apr 2020 18:52:25 +0000 (20:52 +0200)]
batman-adv: Merge bugfixes from 2020.1

* fix batadv_nc_random_weight_tq
* Fix refcnt leak in batadv_show_throughput_override
* Fix refcnt leak in batadv_store_throughput_override
* Fix refcnt leak in batadv_v_ogm_process

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatctl: Merge bugfixes from 2020.1
Sven Eckelmann [Fri, 24 Apr 2020 18:46:29 +0000 (20:46 +0200)]
batctl: Merge bugfixes from 2020.1

* Return EXIT_FAILURE when throughputmeter failed

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatctl: Fix upstream reference in backported patch
Sven Eckelmann [Fri, 24 Apr 2020 18:46:00 +0000 (20:46 +0200)]
batctl: Fix upstream reference in backported patch

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

[19.07] babeld: Update to version 1.9.2

4 years agobabeld: Update to version 1.9.2 560/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 #558 from BKPepe/bird2-19.07-bump
Moritz Warning [Thu, 2 Apr 2020 18:54:16 +0000 (20:54 +0200)]
Merge pull request #558 from BKPepe/bird2-19.07-bump

[19.07] bird2: backport from master update to version 2.0.7 + fix restart&reload

4 years agobird2: fix service restart and reload (#546) 558/head
Yuxiang Zhu [Sat, 8 Feb 2020 21:47:13 +0000 (05:47 +0800)]
bird2: fix service restart and reload (#546)

`/etc/init.d/bird restart` or `/etc/init.d/bird reload` has no effects.

This PR fixes this issue by:

- running the service in the foreground to meet the requirements of procd
- sending SIGHUP signal to reload the service

4 years agobird2: Update to v2.0.7 (#516)
Toke Høiland-Jørgensen [Sat, 21 Dec 2019 22:18:36 +0000 (23:18 +0100)]
bird2: Update to v2.0.7 (#516)

Bump release to upstream v2.0.7

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
4 years agobird2: Update to version 2.0.6
Josef Schlehofer [Sun, 29 Sep 2019 18:35:35 +0000 (20:35 +0200)]
bird2: Update to version 2.0.6

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
4 years agobird2: Bump to v2.0.5
Toke Høiland-Jørgensen [Mon, 19 Aug 2019 10:34:05 +0000 (12:34 +0200)]
bird2: Bump to v2.0.5

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
4 years agoMerge pull request #554 from ecsv/batadv-for-19.07
Simon Wunderlich [Tue, 10 Mar 2020 16:08:52 +0000 (17:08 +0100)]
Merge pull request #554 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2020.0

4 years agobatman-adv: Merge bugfixes from 2020.0 554/head
Sven Eckelmann [Fri, 6 Mar 2020 19:51:17 +0000 (20:51 +0100)]
batman-adv: Merge bugfixes from 2020.0

* Don't schedule OGM for disabled interface

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoluci-app-bmx6: bugfix querying bmx6-info (p2)
Pedro hates github.com [Fri, 21 Feb 2020 23:47:36 +0000 (00:47 +0100)]
luci-app-bmx6: bugfix querying bmx6-info (p2)

see 51b370e1ce4e55e8ac333d57cc6709309eeffcdc and #550

4 years agoluci-app-bmx6: bugfix format to query bmx6-info
pedrolab [Fri, 21 Feb 2020 09:27:27 +0000 (10:27 +0100)]
luci-app-bmx6: bugfix format to query bmx6-info

- affected three tab luci templates (even with luci-compat installed)
- fixes #548
- as jow said in #548:
  - it might be that modern LuCI escapes it as %24 while old versions passed it
    on as-is
  - bmx6-info removes it anyway
    https://github.com/openwrt-routing/packages/blob/master/luci-app-bmx6/bmx6/www/cgi-bin/bmx6-info#L22
you can probably just remove it in all three tab templates

(cherry picked from commit b92f82ad1f8bb572395fc1b843d409fafb3fc0d3)

4 years agoquagga: update to version 1.1.1 (#541)
Josef Schlehofer [Sun, 26 Jan 2020 22:13:23 +0000 (23:13 +0100)]
quagga: update to version 1.1.1 (#541)

Makefile changes:
- Use HTTPS everywhere
- Reorder some things to have it in sync with other packages
- Fixed SPDX License Identifier
- Added PKG_LICENSE_FILES
- For checksum use SHA256

Refreshed patches

Fixes CVEs:
- CVE-2017-5495
- CVE-2017-16227

Fixes security issues:
- Quagga-2018-0543: attr_endp used for NOTIFY data
https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-0543.txt
- Quagga-2018-1114: bgpd double free
https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1114.txt
- Quagga-2018-1550: debug overrun in notify lookup tables
https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1550.txt
- Quagga-2018-1975: BGP capability inf. loop
https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.txt

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
4 years agoMerge pull request #536 from ecsv/batadv-for-19.07
Simon Wunderlich [Sat, 14 Dec 2019 15:59:11 +0000 (16:59 +0100)]
Merge pull request #536 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2019.5

4 years agobatman-adv: Merge bugfixes from 2019.5 536/head
Sven Eckelmann [Fri, 13 Dec 2019 21:13:55 +0000 (22:13 +0100)]
batman-adv: Merge bugfixes from 2019.5

* fix DAT candidate selection on little endian systems

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoMerge pull request #519 from ecsv/batadv-for-19.07
Simon Wunderlich [Sat, 26 Oct 2019 08:30:30 +0000 (10:30 +0200)]
Merge pull request #519 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2019.4

5 years agobatman-adv: Merge bugfixes from 2019.4 519/head
Sven Eckelmann [Fri, 25 Oct 2019 20:25:10 +0000 (22:25 +0200)]
batman-adv: Merge bugfixes from 2019.4

* fix uninit-value in batadv_netlink_get_ifindex()
* Only read OGM tvlv_len after buffer len check
* Only read OGM2 tvlv_len after buffer len check
* Avoid free/alloc race when handling OGM2 buffer
* Avoid free/alloc race when handling OGM buffer
* Introduce own OGM2 buffer mutex
* Avoid OGM workqueue synchronous cancel deadlock

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoMerge pull request #505 from zorun/babeld-1.9-openwrt-19.07
zorun [Mon, 26 Aug 2019 19:06:38 +0000 (21:06 +0200)]
Merge pull request #505 from zorun/babeld-1.9-openwrt-19.07

[openwrt-19.07] babeld: Update to 1.9.1 and assorted fixes

5 years agobabeld: Update example configuration file 505/head
Baptiste Jonglez [Mon, 26 Aug 2019 16:25:32 +0000 (18:25 +0200)]
babeld: Update example configuration file

More example filters are provided, and new options such as "type" or
"pref_src" are given as example.

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
5 years agobabeld: Update description in Makefile and fix license path
Baptiste Jonglez [Mon, 26 Aug 2019 16:12:50 +0000 (18:12 +0200)]
babeld: Update description in Makefile and fix license path

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
5 years agobabeld: Update to version 1.9.1
Adrian Schmutzler [Wed, 21 Aug 2019 14:09:18 +0000 (16:09 +0200)]
babeld: Update to version 1.9.1

20 August 2019: babeld-1.9.1

  * Fixed a crash that could happen when unicast and RTT estimation are
    both enabled on an interface.  Thanks to Dave Taht.
  * Fixed compilation under BSD.  Thanks to Dave Taht.

4 August 2019: babeld-1.9.0

  * Reworked buffering of unicast packets to use a per-neighbour buffer
    rather than a single buffer per interface.  This makes unicast as
    efficient as multicast, at the cost of slightly higher memory usage.
  * Added option "unicast" that allows sending most TLVs over unicast.
    This is necessary for the DTLS extension.
  * Implemented parsing of unicast Hellos.  This makes it possible to
    interoperate with neighbours that only speak unicast (e.g. over some
    kinds of tunnels that only do unicast).
  * Implemented sending of unscheduled unicast Hellos.  This makes the
    RTT extension work over unicast too.
  * Reworked the xroute data structures to use binary search and
    linear-time comparison.
  * Don't attempt to modify the rp_filter sysctl if it already has the
    desired value; this makes it possible to run babeld in an
    unpriviledged container.  Thanks to Christof Schulze.
  * Reinstated logging of late hellos.  Thanks to Dave Taht.
  * Don't send wildcard requests or Hellos to newish nodes.  This makes
    acquisition of new neighbours slower, but drastically reduces noise at
    startup.  Thanks to Teco Boot.
  * Remove an arbitrary limit on the number of interfaces.  Thanks to
    Christof Schulze.
  * Removed class E from martian filter.  Thanks to Dave Taht.
  * Added the ability to set the preferred source address in install filters.
    Thanks to Killian Lufau.
  * Fixed a number of read-only buffer overflows.  Thanks to Leo Stefanesco.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
5 years agobabeld: Improve Makefile formatting
Adrian Schmutzler [Wed, 21 Aug 2019 13:56:50 +0000 (15:56 +0200)]
babeld: Improve Makefile formatting

This applies some style improvements to make this ready for
migration to openwrt/packages.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
5 years agobabeld: Update to version 1.8.5
Adrian Schmutzler [Wed, 21 Aug 2019 13:45:50 +0000 (15:45 +0200)]
babeld: Update to version 1.8.5

Changes:

  * Fixed a bug that caused confustion between learned routes and
    imported routes (thanks to Fabian Bläse).
  * Fixed a bug that prevented install filters from being evaluated
    (thanks to Killian Lufau).

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
5 years agobabeld: Don't kill -9 on stop
Baptiste Jonglez [Mon, 26 Aug 2019 16:39:37 +0000 (18:39 +0200)]
babeld: Don't kill -9 on stop

Killing anything with -9 is a bad idea.  When killed this way, babeld
won't be able to properly disassociate from its neighbours, withdraw its
announced routes or remove routes from the kernel.

This got introduced in bab933d4cad8 ("babeld: Update to version 1.8.3 +
fix init") with an unrelated change.  The purpose of the change is unclear
because stopping and restarting babeld worked fine without this change.

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
5 years agoMerge pull request #498 from ecsv/batadv-for-19.07
Simon Wunderlich [Sun, 4 Aug 2019 11:33:29 +0000 (13:33 +0200)]
Merge pull request #498 from ecsv/batadv-for-19.07

batman-adv: Readd Linux 4.19.x compat patches

5 years agobatman-adv: Readd Linux 4.19.x compat patches 498/head
Sven Eckelmann [Sun, 4 Aug 2019 06:16:01 +0000 (08:16 +0200)]
batman-adv: Readd Linux 4.19.x compat patches

The patches were accidentally deleted while testing the batman-adv 2019.3
bugfixes with various OpenWrt versions. But OpenWrt 19.07 will be released
with a mac80211 package which still uses the Linux 4.19 API. And thus the
OpenWrt 19.07 openwrt-routing branch still has to retain these compat
patches.

Fixes: a93e68447a55 ("alfred: Merge bugfixes from 2019.3")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoMerge pull request #496 from ecsv/batadv-for-19.07
Simon Wunderlich [Fri, 2 Aug 2019 07:53:13 +0000 (09:53 +0200)]
Merge pull request #496 from ecsv/batadv-for-19.07

openwrt-19.07: batman-adv: Merge bugfixes from 2019.3

5 years agobatman-adv: Merge bugfixes from 2019.3 496/head
Sven Eckelmann [Thu, 1 Aug 2019 17:24:32 +0000 (19:24 +0200)]
batman-adv: Merge bugfixes from 2019.3

* Fix netlink dumping of all mcast_flags buckets

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatctl: Merge bugfixes from 2019.3
Sven Eckelmann [Thu, 1 Aug 2019 17:20:20 +0000 (19:20 +0200)]
batctl: Merge bugfixes from 2019.3

* Prefer netlink hardif status retrieval over sysfs

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatctl: Upgrade hardif settings patches to upstream version
Sven Eckelmann [Thu, 1 Aug 2019 17:15:03 +0000 (19:15 +0200)]
batctl: Upgrade hardif settings patches to upstream version

The hardif patches were added to OpenWrt before they were accepted in the
upstream repository. This seemed necessary at that time because OpenWrt
19.07 was alreadu branched of (to be released soon).

But the upstream merged patches contain more cleanups. Having the actual
upstream version in OpenWrt make it easier to integrate potential bugfixes.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoalfred: Merge bugfixes from 2019.3
Sven Eckelmann [Thu, 1 Aug 2019 16:52:28 +0000 (18:52 +0200)]
alfred: Merge bugfixes from 2019.3

* vis: Use rtnl to query list of hardifs of meshif
* vis: Retrieve hardif status via generic netlink

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agonodogsplash: Backport Version 4.0.1. (#494)
Rob White [Tue, 30 Jul 2019 14:21:40 +0000 (15:21 +0100)]
nodogsplash: Backport Version 4.0.1. (#494)

This version has numerous fixes and enhancements.
It is compatible with the previous v3.2.1 release and onwards.

Important fixes in this version:
 * Fix coding error in fas-aes.php [bluewavenet]
 * Make debuglevel platform independent [mwarning]
 * Fix memory handling bug, issue nodogsplash/nodogsplash#341 [mwarning] [stevo01]
 * ndsctl_thread - ignore interupts when returning from epoll [lynxis]
 * auth.c - use correct types to prevent cast and comparement of uint and int [lynxis]
 * openwrt/init.d - prevent start of the daemon if configuration generation fails [lynxis]
 * Generate Error 403 Forbidden, if Gateway Port is accessed directly [bluewavenet]
 * Validate fasremoteip as a valid dotted format IPv4 address [bluewavenet] [mwarning]
 * Prevent client CPD "Too Many Redirects" error. [bluewavenet]

Maintainer: Moritz Warning <moritzwarning@web.de>

Signed-off-by: Rob White <rob@blue-wave.net>
5 years agobird2: Bump to v2.0.4
Toke Høiland-Jørgensen [Mon, 14 Jan 2019 08:47:10 +0000 (09:47 +0100)]
bird2: Bump to v2.0.4

Bird 2.0.4 was released on March 1st. Remove upstreamed patches.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
(cherry picked from commit 37f8c509e03de355a3d0f9b6d62837c43750f98b)

5 years agobird1: update to version 1.6.6
Josef Schlehofer [Wed, 13 Mar 2019 09:25:08 +0000 (10:25 +0100)]
bird1: update to version 1.6.6

Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
(cherry picked from commit 6141d5d182dbf961430b6970279fe21d7fb528e4)

5 years agoMerge pull request #478 from ecsv/batadv-for-19.07
Simon Wunderlich [Sun, 16 Jun 2019 09:27:08 +0000 (11:27 +0200)]
Merge pull request #478 from ecsv/batadv-for-19.07

batman-adv: Add support for B.A.T.M.A.N. V hardif settings

5 years agobatman-adv: Don't try to set unconfigured ap_isolation for vlan 478/head
Sven Eckelmann [Sun, 16 Jun 2019 07:27:08 +0000 (09:27 +0200)]
batman-adv: Don't try to set unconfigured ap_isolation for vlan

The ap_isolation setting only supports boolean values. So setting an empty
string as ap_isolation is not supported by batctl.

Fixes: f5205d7d2434 ("batman-adv: upgrade package to latest release 2014.2.0")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatman-adv: Add support for hardif settings
Sven Eckelmann [Sat, 15 Jun 2019 07:25:05 +0000 (09:25 +0200)]
batman-adv: Add support for hardif settings

B.A.T.M.A.N. V support additional settings which are hardif specific. The
batadv_hardif proto has to expose them to allow automatic configuration.
The default configuration would be:

  config interface 'bat0_hardif_eth0'
   option proto 'batadv_hardif'
   option master 'bat0'
   option ifname 'eth0'
   option mtu '1536'
   option 'elp_interval' 500
   # string like '1mbit' is accepted instead of kbit for override
   option 'throughput_override' '0'

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatctl: Add support for hardif settings
Sven Eckelmann [Sat, 15 Jun 2019 07:18:51 +0000 (09:18 +0200)]
batctl: Add support for hardif settings

batctl currently supports settings which are either mesh interface or vlan
specific. But B.A.T.M.A.N. V introduced two additional settings which are
hard (slave) interface specific.

To support these, an additional command prefix called hardif is implemented
for some sysfs commands:

  $ batctl -m bat0 hardif eth0 ..

The usable commands with that are:

* elp_interval
* throughput_override

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoMerge pull request #475 from ecsv/batadv-2019.2
Simon Wunderlich [Sun, 2 Jun 2019 20:41:20 +0000 (22:41 +0200)]
Merge pull request #475 from ecsv/batadv-2019.2

batman-adv: Fix duplicated OGMs on NETDEV_UP

5 years agobatman-adv: Fix duplicated OGMs on NETDEV_UP 475/head
Sven Eckelmann [Sun, 2 Jun 2019 09:46:25 +0000 (11:46 +0200)]
batman-adv: Fix duplicated OGMs on NETDEV_UP

The state of slave interfaces are handled differently depending on whether
the interface is up or not. All active interfaces (IFF_UP) will transmit
OGMs. But for B.A.T.M.A.N. IV, also non-active interfaces are scheduling
(low TTL) OGMs on active interfaces. The code which setups and schedules
the OGMs must therefore already be called when the interfaces gets added as
slave interface and the transmit function must then check whether it has to
send out the OGM or not on the specific slave interface.

But v2016.3 moved the setup code from the enable function to the activate
function. The latter is called either when the added slave was already up
when batadv_hardif_enable_interface processed the new interface or when a
NETDEV_UP event was received for this slave interfac. As result, each
NETDEV_UP would schedule a new OGM worker for the interface and thus OGMs
would be send a lot more than expected.

Fixes: 549909f89dd7 ("batman-adv: upgrade package to latest release 2016.3")
Reported-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoMerge pull request #472 from yogo1212/batmand_whitespace
elektra42 [Mon, 27 May 2019 07:04:38 +0000 (09:04 +0200)]
Merge pull request #472 from yogo1212/batmand_whitespace

batmand: whitespace

5 years agobatmand: match loop format 472/head
Leon M. George [Fri, 24 May 2019 22:11:17 +0000 (00:11 +0200)]
batmand: match loop format

5 years agobatmand: fix whitespace
Leon M. George [Thu, 23 May 2019 23:17:41 +0000 (01:17 +0200)]
batmand: fix whitespace