Commit Graph

1504 Commits

Author SHA1 Message Date
Toke Høiland-Jørgensen 820bb60ac2
Merge pull request #898 from mbargo23/bird19.07
bird2: bump to version 2.0.10
2022-06-29 15:10:52 +02:00
Jan Betik 790bffb57a
bird2: bump to version 2.0.10
Signed-off-by: Jan Betik <jan.betik@nic.cz>
(cherry picked from commit 1fa9fa339c)
2022-06-29 14:37:35 +02:00
Petr Štetiar 33254957df 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 5702d2e40b)
2022-03-30 23:31:07 +02:00
Paul Spooren 6c7306602a 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 2134c56d12)
2022-03-30 23:31:07 +02:00
Josef Schlehofer 8f23999365 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: 47edf2d275 (ahcpd: Replace
PKG_MD5SUM with PKG_HASH)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 6debd2f564)
2022-02-28 20:07:53 +01:00
Rosen Penev 04e7f66aa7 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 b3ebe49dab)
2022-02-28 12:43:08 +01:00
Rosen Penev bf77e5f0e0 cjdns-tests: Don't build on ARC (#487)
Not supported.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 9f5d42692e)
2022-02-28 12:43:08 +01:00
Rosen Penev 01417ad681 cjdns: Do not build on ARC
Is not supported by node.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit ac8fc386fc)
2022-02-28 12:43:08 +01:00
Josef Schlehofer 653ec59929 olsrd: remove empty .gitignore file
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-28 12:43:08 +01:00
Josef Schlehofer 3f095f7f7e pimbd: add PKG_MIRROR_HASH
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-28 12:43:08 +01:00
Josef Schlehofer c1a2f7a252 oonf-olsrd2: add PKG_MIRROR_HASH
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-28 12:43:08 +01:00
Josef Schlehofer 2f9236d864 oonf-dlep-radio: add PKG_MIRROR_HASH
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-28 12:43:08 +01:00
Josef Schlehofer 20f3e51710 oonf-dlep-proxy: add PKG_MIRROR_HASH
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-28 12:43:08 +01:00
Josef Schlehofer e05cb068c4 olsrd: add PKG_MIRROR_HASH
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-28 12:43:08 +01:00
Josef Schlehofer e37cf04da4 ohybridproxy: add PKG_MIRROR_HASH, refresh patch
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-28 12:43:08 +01:00
Josef Schlehofer 95cd0ce4b5 mrd6: add PKG_MIRROR_HASH
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-28 12:43:08 +01:00
Josef Schlehofer 00eacef47b minimalist-pcproxy: add PKG_MIRROR_HASH
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-28 12:43:08 +01:00
Josef Schlehofer 84b7b3c553 mcproxy: add PKG_MIRROR_HASH
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-28 12:43:08 +01:00
Josef Schlehofer f17815946a hnetd: add PKG_MIRROR_HASH, refresh patch
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-28 12:43:08 +01:00
Josef Schlehofer 372ec62886 cjdns: add PKG_MIRROR_HASH
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-28 12:43:08 +01:00
Nick Hainke ce5adaab95 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>
2022-02-26 17:23:43 +01:00
Paul Spooren 2ed5a04ab8 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 817240b07c)
2022-02-26 17:23:43 +01:00
Sven Roederer c755ab8dce 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 b81e9c8bab)
2022-02-26 17:23:43 +01:00
Nick Hainke cccff55a62 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 b65879895a)
2022-02-26 17:23:43 +01:00
Nick Hainke 63625f7e19 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 d1ab87b7db)
2022-02-26 17:23:43 +01:00
Simon Wunderlich a30ac2558e
Merge pull request #783 from ecsv/batadv-for-19.07
openwrt-19.07: batman-adv: Merge bugfixes from 2022.0
2022-02-03 21:21:57 +01:00
Sven Eckelmann df9f33c522 batman-adv: Merge bugfixes from 2022.0
* allow netlink usage in unprivileged containers

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-02-03 20:19:34 +01:00
Simon Wunderlich ee0fbac610
Merge pull request #752 from ecsv/batadv-for-19.07
openwrt-19.07: batman-adv: Merge bugfixes from 2021.4
2021-11-19 17:54:51 +01:00
Sven Eckelmann 7a3e63fd45 batman-adv: Merge bugfixes from 2021.4
* fix error handling during interface initialization

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-11-19 17:20:13 +01:00
Sven Eckelmann c8734df677 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>
2021-11-19 17:17:04 +01:00
Simon Wunderlich ef3e03a367
Merge pull request #718 from ecsv/batadv-for-19.07
openwrt-19.07: batman-adv: Merge bugfixes from 2021.2
2021-08-20 22:46:55 +02:00
Sven Eckelmann 3c10076826 batman-adv: Merge bugfixes from 2021.2
* Avoid WARN_ON timing related checks

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-08-20 11:59:36 +02:00
Simon Wunderlich 101632e153
Merge pull request #658 from ecsv/batadv-for-19.07
openwrt-19.07: batman-adv: Merge bugfixes from 2021.1
2021-05-18 19:09:21 +02:00
Sven Eckelmann a995b62043 batman-adv: Merge bugfixes from 2021.1
* initialize "struct batadv_tvlv_tt_vlan_data"->reserved field

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-05-14 20:59:43 +02:00
Josef Schlehofer 118536cfb0 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 b38a46acd5)
2021-04-02 10:33:16 +02:00
Josef Schlehofer 9d6ef13203 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>
2021-04-02 10:33:16 +02:00
Simon Wunderlich e26b474520
Merge pull request #644 from ecsv/batadv-for-19.07
openwrt-19.07: alfred: Fix state handling for startup and restart/reload of alfred
2021-02-16 08:45:44 +01:00
Sven Eckelmann 369908cb0a 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>
2021-02-15 21:33:27 +01:00
Sven Eckelmann 97e7600955 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: 45db0e60d2 ("alfred: use procd")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-02-15 21:28:09 +01:00
Simon Wunderlich 0a3432d633
Merge pull request #636 from ecsv/batadv-for-19.07
openwrt-19.07: batman-adv: Merge bugfixes from 2021.0
2021-01-28 22:26:11 +01:00
Sven Eckelmann 596dc84b65 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>
2021-01-28 21:44:03 +01:00
Sven Eckelmann 862a2dfb5f 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>
2021-01-28 21:34:50 +01:00
Simon Wunderlich 02b4dbfcb7
Merge pull request #620 from ecsv/batadv-for-19.07
openwrt-19.07: batman-adv: Merge bugfixes from 2020.4
2020-10-27 15:03:08 +01:00
Sven Eckelmann 59e8d5fa8c batctl: Merge bugfixes from 2020.4
* tcpdump: Fix endianness in ICMPv6 Echo Request/Reply parsing

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2020-10-24 21:45:15 +02:00
Sven Eckelmann 685968996f 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>
2020-10-24 21:40:40 +02:00
Simon Wunderlich b77498bd56
Merge pull request #603 from ecsv/batadv-for-19.07
openwrt-19.07: batman-adv: Merge bugfixes from 2020.3
2020-08-27 10:27:20 +02:00
Sven Eckelmann 6dea537c07 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>
2020-08-25 20:36:05 +02:00
Moritz Warning 0e5c75f536
Merge pull request #601 from bluewavenet/openwrt-19.07
openwrt-19.07: opennds: Backport v5.2.0
2020-08-25 08:51:18 +02:00
Rob White ad8f02a4aa 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>
2020-08-24 13:08:37 +01:00
Sven Eckelmann 017d89d569 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: 1299868252 ("batctl: Provide different variants")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2020-07-21 22:38:40 +02:00