feed/routing.git
4 years agoolsrd: migrate to using bison 3.7.1 605/head
pmelange [Thu, 27 Aug 2020 15:50:11 +0000 (17:50 +0200)]
olsrd: migrate to using bison 3.7.1

With the upgrade to bison 3.7.1 (openwrt commit 1cf842d) building
olsrd was failing.  Now, instead of the contents of header files
being directly inserted into the generated source files, they are
instead included with a #include directive.

The local.mk has, until now, done some magic with *-tmp files,
which is not longer necessary and even causes builds to fail.

src/cfgparser/oparse.c:265:10: fatal error: oparse.h-tmp: No such file or directory
 #include "oparse.h-tmp"

Suggested-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
4 years agoMerge pull request #602 from ecsv/batadv-2020.3
Simon Wunderlich [Thu, 27 Aug 2020 08:27:16 +0000 (10:27 +0200)]
Merge pull request #602 from ecsv/batadv-2020.3

batman-adv: upgrade package to latest release 2020.3

4 years agobatman-adv: upgrade package to latest release 2020.3 602/head
Sven Eckelmann [Tue, 25 Aug 2020 18:07:05 +0000 (20:07 +0200)]
batman-adv: upgrade package to latest release 2020.3

* support latest kernels (4.4 - 5.9)
* coding style cleanups and refactoring
* introduce a configurable per interface hop penalty
* bugs squashed:

  - avoid uninitialized chaddr when handling DHCP
  - fix own OGMv2 check in aggregation receive handling
  - fix "NOHZ: local_softirq_pending 08" warnings caused by BLA

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatctl: upgrade package to latest release 2020.3
Sven Eckelmann [Tue, 25 Aug 2020 18:07:05 +0000 (20:07 +0200)]
batctl: upgrade package to latest release 2020.3

* add per interface hop penalty command

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoalfred: upgrade package to latest release 2020.3
Sven Eckelmann [Tue, 25 Aug 2020 18:07:05 +0000 (20:07 +0200)]
alfred: upgrade package to latest release 2020.3

* synchronization of batman-adv netlink header

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoMerge pull request #596 from neheb/olsr
Saverio Proto [Tue, 25 Aug 2020 09:02:02 +0000 (11:02 +0200)]
Merge pull request #596 from neheb/olsr

olsrd: fix compilation with musl 1.2.x

4 years agoMerge pull request #593 from neheb/bird2
Moritz Warning [Tue, 25 Aug 2020 06:51:46 +0000 (08:51 +0200)]
Merge pull request #593 from neheb/bird2

bird2: fix compilation with GCC 10

4 years agoMerge pull request #594 from neheb/bmx
Moritz Warning [Mon, 24 Aug 2020 22:13:40 +0000 (00:13 +0200)]
Merge pull request #594 from neheb/bmx

bmx7: fix compilation with GCC 10

4 years agoMerge pull request #600 from bluewavenet/master
Moritz Warning [Mon, 24 Aug 2020 09:56:36 +0000 (11:56 +0200)]
Merge pull request #600 from bluewavenet/master

opennds: Release v6.0.0

4 years agoopennds: Release v6.0.0 600/head
Rob White [Sun, 23 Aug 2020 21:36:21 +0000 (22:36 +0100)]
opennds: Release v6.0.0

  * This version - for Openwrt after 19.07 - for compatibility with new MHD API
  * Set - minimum version of MHD to 0.9.71 for new MHD API [bluewavenet]
  * Set - use_outdated_mhd to 0 (disabled) as default [bluewavenet]
  * Add - Multifield PreAuth login script with css update [bluewavenet]
  * Add - Documentation and config option descriptions for configuring Walled Garden IP Sets

Signed-off-by: Rob White <rob@blue-wave.net>
4 years agoolsrd: fix compilation with musl 1.2.x 596/head
Rosen Penev [Tue, 11 Aug 2020 19:28:53 +0000 (12:28 -0700)]
olsrd: fix compilation with musl 1.2.x

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

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

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

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

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

nodogsplash: update to 5.0.0

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

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

batman-adv 2020.2

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

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

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

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

  - Fix parsing of radiotap headers on big endian systems

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

* Rephrase names of server roles

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

opennds: Release v5.1.0

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

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

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

OpenNDS v5.1.0 release

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

From the ChangeLog:

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

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

olsrd: bump to latest version

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

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

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

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

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

bmx6: update version to fix #573 memory leak

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

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

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

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

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

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

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

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

batman-adv: use KERNEL_MAKE_FLAGS for kernel module compilation

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

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

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

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

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

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

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

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

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

batman-adv 2020.1

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

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

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

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

* bugs squashed:

  - Fix error code on throughputmeter errors

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

* (no changes)

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

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

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

babeld: Update to version 1.9.2

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

21 April 2020: babeld-1.9.2

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

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

opennds: Create new Package, release v5.0.0

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

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

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

This is the first release from the OpenNDS project.

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

The two resulting projects are:

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

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

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

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

Signed-off-by: Rob White <rob@blue-wave.net>
4 years agoMerge pull request #553 from ecsv/batadv-2020.0
Simon Wunderlich [Tue, 10 Mar 2020 16:08:47 +0000 (17:08 +0100)]
Merge pull request #553 from ecsv/batadv-2020.0

batman-adv 2020.0

4 years agobatctl: Drop duplicated PROVIDES for batctl-tiny 553/head
Sven Eckelmann [Sat, 7 Mar 2020 17:52:16 +0000 (18:52 +0100)]
batctl: Drop duplicated PROVIDES for batctl-tiny

The PROVIDES:=batctl is also set by Package/batctl/Default and doesn't have
to be duplicated for Package/batctl-tiny (which inherits from
Package/batctl/Default).

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatman-adv: Switch to OpenWrt package template
Sven Eckelmann [Fri, 6 Mar 2020 20:59:30 +0000 (21:59 +0100)]
batman-adv: Switch to OpenWrt package template

The OpenWrt routing feed was tried to be merged together with the OpenWrt
package feed. But they ended up being rejected due to formalities like the
slightly different package template. Just moving to the OpenWrt package
based one should simplify similar approaches in the future.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatctl: Switch to OpenWrt package template
Sven Eckelmann [Fri, 6 Mar 2020 20:59:30 +0000 (21:59 +0100)]
batctl: Switch to OpenWrt package template

The OpenWrt routing feed was tried to be merged together with the OpenWrt
package feed. But they ended up being rejected due to formalities like the
slightly different package template. Just moving to the OpenWrt package
based one should simplify similar approaches in the future.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoalfred: Switch to OpenWrt package template
Sven Eckelmann [Fri, 6 Mar 2020 20:59:30 +0000 (21:59 +0100)]
alfred: Switch to OpenWrt package template

The OpenWrt routing feed was tried to be merged together with the OpenWrt
package feed. But they ended up being rejected due to formalities like the
slightly different package template. Just moving to the OpenWrt package
based one should simplify similar approaches in the future.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatman-adv: replace SUBDIRS with M kernel build recipe
Sven Eckelmann [Fri, 6 Mar 2020 19:14:58 +0000 (20:14 +0100)]
batman-adv: replace SUBDIRS with M kernel build recipe

The SUBDIRS variable has been removed in kernel 5.4 and M or KBUILD_EXTMOD
has to be used instead.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatman-adv: Drop compat code for Linux < 4.14
Sven Eckelmann [Fri, 6 Mar 2020 19:05:58 +0000 (20:05 +0100)]
batman-adv: Drop compat code for Linux < 4.14

The lowest kernel version supported by OpenWrt at the moment is Linux 4.14.
It is therefore not required to have these dead code sections anymore.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatman-adv: upgrade package to latest release 2020.0
Sven Eckelmann [Fri, 6 Mar 2020 18:59:11 +0000 (19:59 +0100)]
batman-adv: upgrade package to latest release 2020.0

* support latest kernels (3.16 - 5.6)
* coding style cleanups and refactoring
* use wifi tx rates as fallback for the B.A.T.M.A.N. V throughput estimation
* disable deprecated sysfs support by default
* bugs squashed:

  - fix crash during the scheduling of OGMs for removed interfaces

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatctl: upgrade package to latest release 2020.0
Sven Eckelmann [Fri, 6 Mar 2020 18:58:58 +0000 (19:58 +0100)]
batctl: upgrade package to latest release 2020.0

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoalfred: upgrade package to latest release 2020.0
Sven Eckelmann [Fri, 6 Mar 2020 18:58:25 +0000 (19:58 +0100)]
alfred: upgrade package to latest release 2020.0

* fix build against gpsd API 9.0

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoMerge pull request #552 from pedro-nonfree/patch-1
Jo-Philipp Wich [Wed, 26 Feb 2020 13:05:03 +0000 (14:05 +0100)]
Merge pull request #552 from pedro-nonfree/patch-1

luci-app-bmx6: bugfix querying bmx6-info (p2)

4 years agoluci-app-bmx6: bugfix querying bmx6-info (p2) 552/head
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 agoMerge pull request #550 from pedro-nonfree/master
Jo-Philipp Wich [Fri, 21 Feb 2020 11:52:46 +0000 (12:52 +0100)]
Merge pull request #550 from pedro-nonfree/master

luci-app-bmx6: bugfix format to query bmx6-info

4 years agoluci-app-bmx6: bugfix format to query bmx6-info 550/head
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

4 years agobird2: fix service restart and reload (#546)
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 agoMerge pull request #543 from BKPepe/ahcpd
zorun [Sat, 11 Jan 2020 14:53:11 +0000 (15:53 +0100)]
Merge pull request #543 from BKPepe/ahcpd

ahcpd: use SHA256 hash and use HTTPS everywhere

4 years agoahcpd: use SHA256 hash and use HTTPS everywhere 543/head
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>
4 years agoahcpd: Replace PKG_MD5SUM with PKG_HASH (#522)
Rosen Penev [Thu, 9 Jan 2020 20:32:16 +0000 (12:32 -0800)]
ahcpd: Replace PKG_MD5SUM with PKG_HASH (#522)

PKG_MD5SUM is deprecated and does not accurately represent the SHA256 hash.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agonodogsplash: Version 4.4.0 release (#540)
Rob White [Thu, 9 Jan 2020 20:31:46 +0000 (20:31 +0000)]
nodogsplash: Version 4.4.0 release (#540)

Maintainer: Moritz Warning <moritzwarning@web.de>

Compiled and tested on snapshot SDK mips_24kc and arm_cortex-a7_neon-vfpv4

This release adds significant new functionality yet is compatible with the previous version.

From the changelog:
  * Add Client Network Zone detection supporting local interfaces and 802.11s mesh [bluewavenet]
  * Add client zone and user agent to FAS/PreAuth logs [bluewavenet]
  * Add requirements for retrieving https remote image for login page [bluewavenet]
  * Add htmlentity encode and decode to preauth scripts [bluewavenet]
  * Implement unescape callback for MHD allowing url special characters to be used in login forms [bluewavenet]
  * Create get_client_interface library utility [bluewavenet]
  * Create unescape library utility [bluewavenet]
  * Update demo-preauth, login-option and fas scripts [bluewavenet]
  * Update fwhook restart - do not use ndsctl to check if nds is running [bluewavenet]
  * Update config files [bluewavenet]
  * Fix - allow comma space to be used in PreAuth variables [bluewavenet]
  * Fix - final redirect for fas-aes [bluewavenet]
  * Fix - ignore trusted mac if invalid [bluewavenet]
  * Documentation updates [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
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 agoMerge pull request #529 from adrianschmutzler/openwrtversion
Simon Wunderlich [Sun, 15 Dec 2019 15:00:16 +0000 (16:00 +0100)]
Merge pull request #529 from adrianschmutzler/openwrtversion

batman-adv and friends: improve version string

4 years agoMerge pull request #535 from ecsv/batadv-2019.5
Simon Wunderlich [Sat, 14 Dec 2019 15:59:08 +0000 (16:59 +0100)]
Merge pull request #535 from ecsv/batadv-2019.5

batman-adv 2019.5

4 years agobatman-adv: upgrade package to latest release 2019.5 535/head
Sven Eckelmann [Fri, 13 Dec 2019 20:52:25 +0000 (21:52 +0100)]
batman-adv: upgrade package to latest release 2019.5

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

  - fix DAT candidate selection on little endian systems

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatctl: upgrade package to latest release 2019.5
Sven Eckelmann [Fri, 13 Dec 2019 20:51:55 +0000 (21:51 +0100)]
batctl: upgrade package to latest release 2019.5

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoalfred: upgrade package to latest release 2019.5
Sven Eckelmann [Fri, 13 Dec 2019 20:51:46 +0000 (21:51 +0100)]
alfred: upgrade package to latest release 2019.5

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoluci-app-cjdns: Add luci-compat requirement (#532)
George [Mon, 18 Nov 2019 22:41:51 +0000 (17:41 -0500)]
luci-app-cjdns: Add luci-compat requirement (#532)

After 284918bfaf2f6d7e46fb11377bb9a537b35dd58a commit in openwrt/luci, every app which uses cbi requires luci-compat package.

Signed-off-by: George Iv <57254463+zhoreeq@users.noreply.github.com>
5 years agocjdns: patch: allows buildbot(s) 3 extra minutes to finish async routines (#531)
William Fleurant [Thu, 14 Nov 2019 19:51:38 +0000 (14:51 -0500)]
cjdns: patch: allows buildbot(s) 3 extra minutes to finish async routines (#531)

Signed-off-by: William Fleurant <meshnet@protonmail.com>
5 years agoalfred: improve version string 529/head
Adrian Schmutzler [Mon, 11 Nov 2019 11:40:35 +0000 (12:40 +0100)]
alfred: improve version string

This changes the package version string so it does not start
with "openwrt", but with the base version we are modifying:

So far: openwrt-2019.4-1
Now:    2019.4-openwrt-1

Since it's us modifying version 2019.4 (in this case), this order
is more convenient (and also closer to what the kernel version
string does).

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
5 years agobatctl: improve version string
Adrian Schmutzler [Mon, 11 Nov 2019 11:39:56 +0000 (12:39 +0100)]
batctl: improve version string

This changes the package version string so it does not start
with "openwrt", but with the base version we are modifying:

So far: openwrt-2019.4-1
Now:    2019.4-openwrt-1

Since it's us modifying version 2019.4 (in this case), this order
is more convenient (and also closer to what the kernel version
string does).

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
5 years agobatman-adv: improve version string
Adrian Schmutzler [Mon, 11 Nov 2019 11:36:21 +0000 (12:36 +0100)]
batman-adv: improve version string

This changes the package version string so it does not start
with "openwrt", but with the base version we are modifying:

So far: openwrt-2019.4-1
Now:    2019.4-openwrt-1

Since it's us modifying version 2019.4 (in this case), this order
is more convenient (and also closer to what the kernel version
string does).

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
5 years agocjdns: luci-app-cjdns: fix up Makefiles, bump pkg vers (#526)
William Fleurant [Sun, 10 Nov 2019 02:40:04 +0000 (21:40 -0500)]
cjdns: luci-app-cjdns: fix up Makefiles, bump pkg vers (#526)

* cjdns: luci-app-cjdns: fix up Makefiles, bump pkg vers
* cjdns: remove excess PKG_* variables

Signed-off-by: William Fleurant <meshnet@protonmail.com>
5 years agocjdns: luci-app-cjdns: update maintainer (#524)
William Fleurant [Sun, 3 Nov 2019 17:57:42 +0000 (12:57 -0500)]
cjdns: luci-app-cjdns: update maintainer (#524)

Signed-off-by: William Fleurant <meshnet@protonmail.com>
5 years agocjdns: Update to the latest version (#523)
Michal Hrušecký [Sun, 3 Nov 2019 17:34:43 +0000 (18:34 +0100)]
cjdns: Update to the latest version (#523)

Signed-off-by: Michal Hrusecky <Michal@Hrusecky.net>
5 years agoMerge pull request #518 from ecsv/batadv-2019.4
Simon Wunderlich [Sat, 26 Oct 2019 08:29:42 +0000 (10:29 +0200)]
Merge pull request #518 from ecsv/batadv-2019.4

batman-adv 2019.4

5 years agobatman-adv: upgrade package to latest release 2019.4 518/head
Sven Eckelmann [Fri, 25 Oct 2019 21:29:49 +0000 (23:29 +0200)]
batman-adv: upgrade package to latest release 2019.4

* support latest kernels (3.16 - 5.4)
* coding style cleanups and refactoring
* implement aggregation of OGM2 packets
* bugs squashed:

  - fix length validation in netlink messages
  - fix out of buffer read when parsing aggregated packets
  - avoid race condition in OGM(2) packet modification and submission

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatctl: upgrade package to latest release 2019.4
Sven Eckelmann [Fri, 25 Oct 2019 21:29:37 +0000 (23:29 +0200)]
batctl: upgrade package to latest release 2019.4

* fix deprecation warning for option '-m'

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoalfred: upgrade package to latest release 2019.4
Sven Eckelmann [Fri, 25 Oct 2019 21:29:06 +0000 (23:29 +0200)]
alfred: upgrade package to latest release 2019.4

* fix build with musl

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatman-adv: Extend PKG_LICENSE* information
Sven Eckelmann [Mon, 2 Sep 2019 13:50:22 +0000 (15:50 +0200)]
batman-adv: Extend PKG_LICENSE* information

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatctl: Extend PKG_LICENSE* information
Sven Eckelmann [Mon, 2 Sep 2019 13:50:22 +0000 (15:50 +0200)]
batctl: Extend PKG_LICENSE* information

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoalfred: Extend PKG_LICENSE* information
Sven Eckelmann [Mon, 2 Sep 2019 13:50:22 +0000 (15:50 +0200)]
alfred: Extend PKG_LICENSE* information

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agonodogsplash: Version 4.3.3 release (#517)
Rob White [Sun, 20 Oct 2019 12:32:24 +0000 (13:32 +0100)]
nodogsplash: Version 4.3.3 release (#517)

Maintainer: Moritz Warning <moritzwarning@web.de>

Compiled and tested on snapshot SDK mips_24kc and arm_cortex-a7_neon-vfpv4

This version fixes two issues that can cause NDS to lock or crash, one, a coding error that leads to memory corruption and two, deadlocks in iptables and ndsctl. Both of these issues occur at high loads and/or at high CPD detection rates.

In addition, in some circumstances, a deauthenticated client running a vpn may have suffered from querystring truncation causing vpn failure.

Some minor updates are also included.

Extract from changelog:

 * Fix Memory corruption at high loads [bluewavenet]
 * Prevent iptables and ndsctl deadlocks [lynxis]
 * Prevent query string truncation for deauthenticated client when client is using some types of vpn software [bluewavenet]
 * Add debuglevel logging in the case of a firewall restart in OpenWrt [bluewavenet]
 * Return error 403(forbidden) when client attempts to use a forbidden http method [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
5 years agoMerge pull request #514 from BKPepe/bird
Moritz Warning [Sat, 12 Oct 2019 21:36:56 +0000 (23:36 +0200)]
Merge pull request #514 from BKPepe/bird

bird{1,2}: Update to version 1.6.8 and 2.0.6

5 years agonodogsplash: Version 4.3.0 (#515)
Rob White [Tue, 8 Oct 2019 20:10:04 +0000 (21:10 +0100)]
nodogsplash: Version 4.3.0 (#515)

Maintainer: Moritz Warning <moritzwarning@web.de>

Compiled and tested on snapshot SDK mips_24kc and arm_cortex-a7_neon-vfpv4

This release has major new functionality in the form of token hashing,
(extension to fas_secure level 1) mitigating the problems with remote FAS
where access to the local ndsctl would be otherwise required.
Although not as flexible as level 2, this extension has much smaller
memory and storage requirements so is ideal for implementation on
legacy hardware.

There are also numerous enhancements, updates and fixes.

All changes are compatible with the previous release.

Latest changelog:

 * Create switch option to select preinstalled templated splash or preauth login [bluewavenet]
 * Limit PreAuth and BinAuth log size in example scripts [bluewavenet]
 * Reduce memory requirements and autoselect logfile location [bluewavenet]
 * Create fas-hid example script [bluewavenet]
 * Update FAS, PreAuth and BinAuth example scripts [bluewavenet]
 * Hash client token (hid) for remote FAS enabling secure FAS for legacy/low-flash/low-ram hardware [bluewavenet]
 * Fix NDS Uptime if NTP client is enabled [bluewavenet]
 * Documentation updates for this release [bluewavenet]
 * Fix numerous compiler warnings [mwarning]
 * Fix openwrt fw_mark option type [mwarning]

Signed-off-by: Rob White rob@blue-wave.net
5 years agobird2: Update to version 2.0.6 514/head
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>
5 years agobird1: Update to version 1.6.8
Josef Schlehofer [Sun, 29 Sep 2019 18:35:10 +0000 (20:35 +0200)]
bird1: Update to version 1.6.8

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agonodogsplash: Release 4.2.0 (#513)
Rob White [Sat, 14 Sep 2019 20:21:11 +0000 (21:21 +0100)]
nodogsplash: Release 4.2.0 (#513)

Maintainer: Moritz Warning <moritzwarning@web.de>

Compiled and tested on snapshot SDK mips_24kc and arm_cortex-a7_neon-vfpv4

This release adds significant functionality in the form of capturing the client User-Agent string and passing to both PreAuth and BinAuth scripts. Compatibility is maintained with previous versions.

Changelog since last OpenWrt release:

 * BinAuth - Send User Agent string and client-ip to the binauth script [bluewavenet]
 * BinAuth - Update the two example BinAuth scripts showing use of passed arguments [bluewavenet]
 * Documentation - Update BinAuth section [bluewavenet]
 * PreAuth - Send User Agent string to the preauth script [bluewavenet]
 * PreAuth - Update the example PreAuth script showing use of passed arguments [bluewavenet]
 * Documentation - Update PreAuth section [bluewavenet]
 * BinAuth - Send redir variable to the binauth script, allow passing of custom variable payload [bluewavenet]
 * BinAuth - Provide two example BinAuth scripts [bluewavenet]
 * Documentation - Rework Binauth section plus numerous minor updates [bluewavenet]
 * Deprecate RedirectURL config option as it is rendered obsolete by many CPD implementations, use FAS instead [bluewavenet]
 * Numerous minor updates to html, css and script files [bluewavenet]
 * Fix bug - faskey, exit gracefully if not set and fas_secure_enabled = 2 [bluewavenet]
 * Fix bug - Systemd, Do not set debug level in nodogsplash.service [bluewavenet]
 * Fix bug - ndsctl, delete lock file if NDS is not started [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
5 years agoMerge pull request #512 from aparcar/bmx7-7.1.1-2
Axel Neumann [Sun, 8 Sep 2019 07:23:24 +0000 (09:23 +0200)]
Merge pull request #512 from aparcar/bmx7-7.1.1-2

bmx7: fixup Makefile

5 years agobmx7: fixup Makefile 512/head
Paul Spooren [Fri, 6 Sep 2019 21:15:04 +0000 (11:15 -1000)]
bmx7: fixup Makefile

The extra MAKE_ARGS were no longer taken into account resulting in
erros. Also more path fixes and some longline splitting.

Signed-off-by: Paul Spooren <mail@aparcar.org>
5 years agoMerge pull request #507 from aparcar/bmx7-7.1.1
Axel Neumann [Fri, 30 Aug 2019 08:40:26 +0000 (10:40 +0200)]
Merge pull request #507 from aparcar/bmx7-7.1.1

bmx7: update to 7.1.1

5 years agobmx7: update to 7.1.1 507/head
Paul Spooren [Tue, 27 Aug 2019 08:03:09 +0000 (22:03 -1000)]
bmx7: update to 7.1.1

Also clean up the Makefile

Signed-off-by: Paul Spooren <mail@aparcar.org>
5 years agoMerge pull request #506 from zorun/master
zorun [Mon, 26 Aug 2019 19:02:49 +0000 (21:02 +0200)]
Merge pull request #506 from zorun/master

babeld: Update to 1.9.1 and assorted fixes

5 years agobabeld: Update example configuration file 506/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>