feed/routing.git
11 days agoMerge pull request #437 from rogerpueyo/luci-app-bmx6-graph-sys-exec master
Pau [Fri, 11 Jan 2019 08:52:46 +0000 (09:52 +0100)]
Merge pull request #437 from rogerpueyo/luci-app-bmx6-graph-sys-exec

luci-app-bmx6: Avoid race condition in bmx6json.lua get()

12 days agoMerge pull request #438 from cotequeiroz/hnetd_openssl-1.1
Moritz Warning [Fri, 11 Jan 2019 00:17:10 +0000 (01:17 +0100)]
Merge pull request #438 from cotequeiroz/hnetd_openssl-1.1

hnetd: add compatiblity with openssl 1.1.x

12 days agoluci-app-bmx7: show mDNS menu if available
p4u [Thu, 10 Jan 2019 19:30:01 +0000 (20:30 +0100)]
luci-app-bmx7: show mDNS menu if available

Signed-off-by: p4u <p4u@dabax.net>
5 weeks agohnetd: add compatiblity with openssl 1.1.x 438/head
Eneas U de Queiroz [Thu, 13 Dec 2018 02:25:16 +0000 (00:25 -0200)]
hnetd: add compatiblity with openssl 1.1.x

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
6 weeks agoluci-app-bmx6: Avoid race condition in bmx6json.lua get() 437/head
Roger Pueyo Centelles [Sun, 9 Dec 2018 19:55:05 +0000 (20:55 +0100)]
luci-app-bmx6: Avoid race condition in bmx6json.lua get()

The network topology of a BMX6 mesh can be obtained by asking all the nodes
about their links via the bmx6-info script. The wget() function in the
bmx6json.lua file is part of the process, but it often returns nil, even if
the remote data can actually be fetched, in what seems to be a race condition.
By calling the sys.exec("") function empty, the race condition disappears.

Dirty fix to https://github.com/openwrt-routing/packages/issues/436.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
6 weeks agoMerge pull request #435 from rogerpueyo/bmx6-graph-tunnels
Pau [Sat, 8 Dec 2018 21:26:04 +0000 (22:26 +0100)]
Merge pull request #435 from rogerpueyo/bmx6-graph-tunnels

luci-app-bmx6: Fix corner case in bmx6-info?tunnels

6 weeks agoluci-app-bmx6: Fix corner case in bmx6-info?tunnels 435/head
Roger Pueyo Centelles [Sat, 8 Dec 2018 21:20:42 +0000 (22:20 +0100)]
luci-app-bmx6: Fix corner case in bmx6-info?tunnels

The bmx6-info script will return null when no tunnels are known to BMX6.
However, the "Graph" and the "Tunnels" pages expect a JSON structure with an
array of tunnels. In case no tunnels are known to BMX6, bmx6-info now returns
'{ "tunnels" : [] }'.

Fixes #434

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
6 weeks agoMerge pull request #433 from rogerpueyo/bmx6-graph
Pau [Sat, 8 Dec 2018 21:12:52 +0000 (22:12 +0100)]
Merge pull request #433 from rogerpueyo/bmx6-graph

luci-app-bmx6: Fix URL of network topology JSON file

6 weeks agoluci-app-bmx6: Fix URL of network topology JSON file 433/head
Roger Pueyo Centelles [Sat, 8 Dec 2018 21:02:48 +0000 (22:02 +0100)]
luci-app-bmx6: Fix URL of network topology JSON file

The JavaScript code of the network graph tried to fetch the topology from
%HOST/cgi-bin/luci/status/bmx6/topology, but the topology entry is now located
at admin->network->BMX6 (i.e., %HOST/cgi-bin/luci/admin/network/BMX6/topology).

Fixes #432

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
6 weeks agoMerge branch 'p4u/luci-app-bmx7/refactory'
p4u [Fri, 7 Dec 2018 18:15:16 +0000 (19:15 +0100)]
Merge branch 'p4u/luci-app-bmx7/refactory'

6 weeks agoMerge pull request #431 from rogerpueyo/p4u/luci-app-bmx7/refactory p4u/luci-app-bmx7/refactory
Pau [Fri, 7 Dec 2018 17:44:19 +0000 (18:44 +0100)]
Merge pull request #431 from rogerpueyo/p4u/luci-app-bmx7/refactory

Fix bmx7-info indentation and "$info" call

6 weeks agoluci-app-bmx7: fix bmx7-info script's "$info" call 431/head
Roger Pueyo Centelles [Fri, 7 Dec 2018 17:04:10 +0000 (18:04 +0100)]
luci-app-bmx7: fix bmx7-info script's "$info" call

This commit fixes a bug in bmx7-info script's "$info" call when no
interfaces are being used by BMX7, or when no links have been
established. In those cases, the generated JSON output struct contained
extra commas, which made it invalid.

Closes #430

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
6 weeks agoluci-app-bmx7: fix bmx7-info script's indentation
Roger Pueyo Centelles [Fri, 7 Dec 2018 16:47:22 +0000 (17:47 +0100)]
luci-app-bmx7: fix bmx7-info script's indentation

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
6 weeks agoluci-app-bmx7: update version, dependencies and maintainer
p4u [Thu, 6 Dec 2018 11:25:51 +0000 (12:25 +0100)]
luci-app-bmx7: update version, dependencies and maintainer

Signed-off-by: p4u <p4u@dabax.net>
6 weeks agoMerge pull request #429 from ecsv/batadv-2018.4
Simon Wunderlich [Fri, 7 Dec 2018 08:52:46 +0000 (09:52 +0100)]
Merge pull request #429 from ecsv/batadv-2018.4

batctl: Fix parsing of optional debug table command parameters

6 weeks agoluci-app-bmx7: refactory, multiple fixes and add topology graph
p4u [Thu, 6 Dec 2018 11:17:49 +0000 (12:17 +0100)]
luci-app-bmx7: refactory, multiple fixes and add topology graph

Signed-off-by: p4u <p4u@dabax.net>
6 weeks agobatctl: Fix parsing of optional debug table command parameters 429/head
Sven Eckelmann [Thu, 6 Dec 2018 08:21:15 +0000 (09:21 +0100)]
batctl: Fix parsing of optional debug table command parameters

The commands which should have no support for -t/-u/-m/-i were allowed to
accept these parameters but commands which should have accepted them were
denying them.

Fixes: 8936141bf038 ("batctl: upgrade package to latest release 2018.4")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 months agoMerge pull request #427 from ecsv/batadv-2018.4
Simon Wunderlich [Thu, 15 Nov 2018 09:12:33 +0000 (10:12 +0100)]
Merge pull request #427 from ecsv/batadv-2018.4

batman-adv 2018.4

2 months agobatman-adv: upgrade package to latest release 2018.4 427/head
Sven Eckelmann [Tue, 6 Nov 2018 09:49:18 +0000 (10:49 +0100)]
batman-adv: upgrade package to latest release 2018.4

* support latest kernels (3.16 - 4.20)
* coding style cleanups and refactoring
* improve tx performance by avoiding unnecessary locking
* add help messages regarding deprecation of debugfs files
* support for debug message tracepoints
* explicit ELP padding to allow TVLVs in the future
* bugs squashed:

  - fix skb_over_panic for merged fragments with small tailroom

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 months agobatctl: upgrade package to latest release 2018.4
Sven Eckelmann [Wed, 14 Nov 2018 20:49:25 +0000 (21:49 +0100)]
batctl: upgrade package to latest release 2018.4

* coding style cleanups and refactoring
* correction of manpage spelling errors
* new subcommand "event" to receive netlink notifications
* infrastructure to disable commands during build time
* drop of the legacy vis subcommands

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 months agoalfred: upgrade package to latest release 2018.4
Sven Eckelmann [Wed, 14 Nov 2018 20:50:02 +0000 (21:50 +0100)]
alfred: upgrade package to latest release 2018.4

* bugs squashed:

  - fixed detection of own IPv4 packets
  - use manual IPv4 ARP requests to retrieve MAC of neighbors

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2 months agoMerge pull request #426 from robimarko/babeld-1.8.4
zorun [Sun, 11 Nov 2018 09:11:29 +0000 (10:11 +0100)]
Merge pull request #426 from robimarko/babeld-1.8.4

babeld: Update to version 1.8.4

2 months agobabeld: Update to version 1.8.4 426/head
Robert Marko [Sat, 10 Nov 2018 23:34:59 +0000 (00:34 +0100)]
babeld: Update to version 1.8.4

9 November 2018: babeld-1.8.4

  * Fixed a bug that discarded pipelined commands received on the local
    configuration interface.
* Added the per-interface option rfc6126-compatible.

Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agobatman-adv: Re-add kmod-lib-crc16 back to dependency line
Sven Eckelmann [Mon, 22 Oct 2018 10:24:10 +0000 (12:24 +0200)]
batman-adv: Re-add kmod-lib-crc16 back to dependency line

The OpenWrt dependency builder cannot extract the crc16 dependency from
the KMOD_BATMAN_ADV_BLA dependencies. They have to be specified directly in
the OpenWrt Makefile's DEPENDS line to avoid error when BLA is enabled:

  Package kmod-batman-adv is missing dependencies for the following libraries:
  crc16.ko

Reported-by: Lech Perczak <lech.perczak@gmail.com>
Fixes: 0db66160aaab ("batman-adv: Sync config options with kernel Kconfig")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agoMerge pull request #421 from ecsv/batadv-2018.3
Simon Wunderlich [Thu, 18 Oct 2018 13:01:53 +0000 (15:01 +0200)]
Merge pull request #421 from ecsv/batadv-2018.3

batman-adv: Cleanup of configuration options

3 months agobatman-adv: Remove unused dependency kmod-crypto-crc32c 421/head
Sven Eckelmann [Sun, 14 Oct 2018 15:37:29 +0000 (17:37 +0200)]
batman-adv: Remove unused dependency kmod-crypto-crc32c

The translation table code from batman-adv is only using the function
crc32c which is part of kmod-lib-crc32c. The kmod-crypto-crc32c is then
only used by kmod-lib-crc32c but not batman-adv.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agobatman-adv: Use the kernel style Kconfig symbols
Sven Eckelmann [Sun, 14 Oct 2018 14:40:43 +0000 (16:40 +0200)]
batman-adv: Use the kernel style Kconfig symbols

Kernel modules like ath9k and ath10k are using the same Kconfig option
symbols as used in the kernel. This makes it easier to share them between
these two projects. A similar approach should be used for the batman-adv
module.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agobatman-adv: Sync config options with kernel Kconfig
Sven Eckelmann [Sun, 14 Oct 2018 14:24:20 +0000 (16:24 +0200)]
batman-adv: Sync config options with kernel Kconfig

The kernel already provides all available kernel options for batman-adv and
even includes more verbose descriptions of each option. Importing this
Kconfig (with minor adjustments) file as Config.in allows to share most
information between kernel and OpenWrt.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agobatman-adv: Disable MCAST during compilation
Sven Eckelmann [Sun, 14 Oct 2018 14:58:01 +0000 (16:58 +0200)]
batman-adv: Disable MCAST during compilation

The multicast optimization compile option is disabled by default in the
Kconfig of batman-adv. The out-of-tree module should keep this setting in
sync and thus has to also disable the build of multicast optimization by
default.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agobatman-adv: Order Kconfig config symbols like kernel
Sven Eckelmann [Sun, 14 Oct 2018 14:50:23 +0000 (16:50 +0200)]
batman-adv: Order Kconfig config symbols like kernel

The options in the kernel Kconfig have a different order than the one in
the OptionWrt Config.in. This makes it unnecessary hard to compare these
two files.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agobatman-adv: Add DEBUG_LOG -> DEBUGFS dependency
Sven Eckelmann [Sun, 14 Oct 2018 14:01:46 +0000 (16:01 +0200)]
batman-adv: Add DEBUG_LOG -> DEBUGFS dependency

The debug log is only available when the debugfs is also enabled. This
must be reflected in Kconfig to avoid incompatible selection of batman-adv
options.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agoMerge pull request #420 from ecsv/batadv-2018.3
Simon Wunderlich [Thu, 11 Oct 2018 08:34:05 +0000 (10:34 +0200)]
Merge pull request #420 from ecsv/batadv-2018.3

batman-adv package fixes

3 months agobatctl: Don't overwrite default PKG_BUILD_DIR 420/head
Sven Eckelmann [Sun, 7 Oct 2018 14:11:48 +0000 (16:11 +0200)]
batctl: Don't overwrite default PKG_BUILD_DIR

There is no benefit to overwrite the PKG_BUILD_DIR directory for batctl. As
seen with kmod-batman-adv, it actually can also break the build.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agoalfred: Add openwrt revision to internal version
Sven Eckelmann [Sun, 7 Oct 2018 09:10:05 +0000 (11:10 +0200)]
alfred: Add openwrt revision to internal version

OpenWrt is using a modified version of the software and these modifications
may introduce extra bugs (or behavior changes). It is also patched for
stable releases instead of switching to new releases. The revision should
therefore be added to the version number to make it easier understandable
which modified version the user may have installed.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agobatctl: Add openwrt revision to internal version
Sven Eckelmann [Sun, 7 Oct 2018 09:10:05 +0000 (11:10 +0200)]
batctl: Add openwrt revision to internal version

OpenWrt is using a modified version of the software and these modifications
may introduce extra bugs (or behavior changes). It is also patched for
stable releases instead of switching to new releases. The revision should
therefore be added to the version number to make it easier understandable
which modified version the user may have installed.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agobatman-adv: Add openwrt revision to internal version
Sven Eckelmann [Sun, 7 Oct 2018 09:10:05 +0000 (11:10 +0200)]
batman-adv: Add openwrt revision to internal version

OpenWrt is using a modified version of the software and these modifications
may introduce extra bugs (or behavior changes). It is also patched for
stable releases instead of switching to new releases. The revision should
therefore be added to the version number to make it easier understandable
which modified version the user may have installed.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agobatman-adv: Fix search for cfg80211 module symbols
Sven Eckelmann [Sun, 7 Oct 2018 11:20:30 +0000 (13:20 +0200)]
batman-adv: Fix search for cfg80211 module symbols

The Module.symvers with the exported symbols of all other kernel modules in
OpenWrt is usually placed in the main source directory of the package. But
the actual sources for batman-adv are found in net/batman-adv. OpenWrt must
therefore be informed to move it to this subdirectory or otherwise modpost
will fail to find the symbols

  WARNING: "cfg80211_get_station" [.../batman-adv-2018.3/net/batman-adv/batman-adv.ko] undefined!

The dependency will then be missing in the .modinfo depends= option and
thus it the kernel module loader will not correctly load the cfg80211.ko
during bootup.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agobatman-adv: Rebuild automatically on mac80211 changes
Sven Eckelmann [Sun, 7 Oct 2018 08:42:12 +0000 (10:42 +0200)]
batman-adv: Rebuild automatically on mac80211 changes

Signed-off-by: Sven Eckelmann <sven@narfation.org>
3 months agoMerge pull request #415 from unquietwiki/patch-1
Moritz Warning [Wed, 3 Oct 2018 17:53:13 +0000 (19:53 +0200)]
Merge pull request #415 from unquietwiki/patch-1

babeld: update to 1.8.3

3 months agobabeld: Update to version 1.8.3 + fix init 415/head
Michael Adams [Thu, 27 Sep 2018 02:14:45 +0000 (19:14 -0700)]
babeld: Update to version 1.8.3 + fix init

24 September 2018: babeld-1.8.3

  * Fixed a read-only two byte buffer overflow in the packet parser.
    This is a read-only overflow, and hence most probably not exploitable.
  * Fixed an issue with creating unreachable routes on recent kernels
    (4.16 and up).  Thanks to Christof Schulze.
  * Notice interface changes faster by listening to more netlink events.
    Thanks to Christof Schulze.
  * Fixed a local interface issue when an interface has no link-local
    address.  Thanks to Christof Schulze.

Also, the init script was edited to kill babeld on stop; restart works properly now, as well.

Signed-off-by: Michael Adams <unquietwiki@gmail.com>
3 months agoMerge pull request #419 from mwarning/nds_link_fix
Moritz Warning [Fri, 28 Sep 2018 13:31:14 +0000 (15:31 +0200)]
Merge pull request #419 from mwarning/nds_link_fix

nodogsplash: fix download link

3 months agonodogsplash: fix download hash 419/head
Moritz Warning [Fri, 28 Sep 2018 13:17:02 +0000 (15:17 +0200)]
nodogsplash: fix download hash

The tagging of the release was wrong, as a result, the hash of the downloaded files is different from the usual download package.
The content has been verified to be the same.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
3 months agonodogsplash: Version 3.2.1 release (#416)
Rob White [Thu, 27 Sep 2018 12:59:33 +0000 (13:59 +0100)]
nodogsplash: Version 3.2.1 release (#416)

nodogsplash: Release 3.2.1

Signed-off-by: Rob White <rob@blue-wave.net>
4 months agoMerge pull request #412 from ecsv/batadv-2018.3
Simon Wunderlich [Mon, 17 Sep 2018 08:46:21 +0000 (10:46 +0200)]
Merge pull request #412 from ecsv/batadv-2018.3

batman-adv 2018.3

4 months agobatman-adv: upgrade package to latest release 2018.3 412/head
Sven Eckelmann [Sat, 15 Sep 2018 08:20:02 +0000 (10:20 +0200)]
batman-adv: upgrade package to latest release 2018.3

* support latest kernels (3.16 - 4.19)
* coding style cleanups and refactoring
* enable the DAT by default for the in-tree Linux module
* bugs squashed:

  - fix segfault when writing to sysfs files under batman_adv/ with
    CONFIG_BATMAN_ADV_DEBUG enabled
  - avoid information leakage in probe ELP packets
  - adjust reference counters when queue_work fails
  - prevent duplicated entries in various lists

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 months agobatctl: upgrade package to latest release 2018.3
Sven Eckelmann [Sat, 15 Sep 2018 08:18:20 +0000 (10:18 +0200)]
batctl: upgrade package to latest release 2018.3

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 months agoalfred: upgrade package to latest release 2018.3
Sven Eckelmann [Sat, 15 Sep 2018 08:18:10 +0000 (10:18 +0200)]
alfred: upgrade package to latest release 2018.3

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 months agoMerge pull request #410 from bluewavenet/nodogsplash-3.2.0
Moritz Warning [Thu, 13 Sep 2018 14:39:42 +0000 (16:39 +0200)]
Merge pull request #410 from bluewavenet/nodogsplash-3.2.0

nodogsplash: add missing config options

4 months agonodogsplash: add missing config options 410/head
Rob White [Thu, 13 Sep 2018 14:05:26 +0000 (15:05 +0100)]
nodogsplash: add missing config options

sessiontimeout (minutes) until client is forced out
checkinterval (seconds) interval at which nodogsplash checks client timeout status

Add real world useful values to timeout options.

Signed-off-by: Rob White <rob@blue-wave.net>
4 months agoMerge pull request #406 from bluewavenet/nodogsplash-3.2.0
Moritz Warning [Mon, 3 Sep 2018 10:17:37 +0000 (12:17 +0200)]
Merge pull request #406 from bluewavenet/nodogsplash-3.2.0

nodogsplash: Release 3.2.0

4 months agoluci-app-cjdns: luci admin support for cjdns-v20.2 (#394)
William Fleurant [Mon, 3 Sep 2018 00:50:34 +0000 (00:50 +0000)]
luci-app-cjdns: luci admin support for cjdns-v20.2 (#394)

* luci-app-cjdns: luci admin support for cjdns-v20.2

* adds layer 2 and 3 address display column
* fixes switch label pinger
* get version from addr string
* parse addr string for peerStats publicKey

Signed-off-by: William Fleurant <william@netblazr.com>
* luci-app-cjdns: bump release, update repo-url and license year

Signed-off-by: William Fleurant <william@netblazr.com>
* luci-app-cjdns: support views for 17.01 and 18.06
- fixed user/name column
- removed latency column
- combind peerstats functions
- fix css on overview page
- table displays with `cbi_update_table` with fallback
- columns ordered similar to peerStats.js output
- normalized XHR polling to mimic wireless.htm by jow@openwrt

Signed-off-by: William Fleurant <william@netblazr.com>
4 months agonodogsplash: Release 3.2.0 406/head
Rob White [Sun, 2 Sep 2018 21:30:22 +0000 (22:30 +0100)]
nodogsplash: Release 3.2.0

Signed-off-by: Rob White <rob@blue-wave.net>
4 months agoMerge pull request #405 from bluewavenet/nodogsplash-3.1.0
Moritz Warning [Tue, 28 Aug 2018 08:47:37 +0000 (10:47 +0200)]
Merge pull request #405 from bluewavenet/nodogsplash-3.1.0

nodogsplash: Release 3.1.0

4 months agonodogsplash: Release 3.1.0 405/head
Rob White [Sun, 26 Aug 2018 21:57:12 +0000 (22:57 +0100)]
nodogsplash: Release 3.1.0

Signed-off-by: Rob White <rob@blue-wave.net>
5 months agoMerge pull request #404 from mwarning/nodogsplash
Moritz Warning [Fri, 17 Aug 2018 17:25:52 +0000 (19:25 +0200)]
Merge pull request #404 from mwarning/nodogsplash

nodogsplash: fix minor things

5 months agonodogsplash: fix minor package issues 404/head
Moritz Warning [Fri, 17 Aug 2018 09:38:57 +0000 (11:38 +0200)]
nodogsplash: fix minor package issues

- package now conflicts with nodogsplash2
- properly close heredoc block
- quiet uci when removing previous firewall hook

Signed-off-by: Moritz Warning <moritzwarning@web.de>
5 months agoMerge pull request #402 from crza/fix-ndppd
Moritz Warning [Thu, 16 Aug 2018 14:39:09 +0000 (16:39 +0200)]
Merge pull request #402 from crza/fix-ndppd

ndppd: fix compile error with musl

5 months agoMerge pull request #400 from cotequeiroz/bmx7_list.h
Moritz Warning [Thu, 16 Aug 2018 14:36:52 +0000 (16:36 +0200)]
Merge pull request #400 from cotequeiroz/bmx7_list.h

bmx7: avoid list.h namespace collision

5 months agobmx7: Avoid namespace collision with libubox. 400/head
Eneas U de Queiroz [Thu, 16 Aug 2018 14:04:21 +0000 (11:04 -0300)]
bmx7: Avoid namespace collision with libubox.

Applied Daniel Golle's patch from
https://github.com/bmx-routing/bmx7/pull/35 to "rename some list stuff
to avoid namespace collision with libubox."

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
5 months agoMerge pull request #401 from mwarning/nodogsplash2
Moritz Warning [Thu, 16 Aug 2018 13:51:26 +0000 (15:51 +0200)]
Merge pull request #401 from mwarning/nodogsplash2

nodogsplash2: update to 3.0 and merge packages

5 months agonodogsplash2: remove package 401/head
Moritz Warning [Thu, 16 Aug 2018 13:05:44 +0000 (15:05 +0200)]
nodogsplash2: remove package

Nodogplash 3.0.0 was released and makes the nodogsplash2 package unnecessary.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
5 months agonodogsplash: update to release 3.0.0
Moritz Warning [Thu, 16 Aug 2018 13:03:12 +0000 (15:03 +0200)]
nodogsplash: update to release 3.0.0

Signed-off-by: Moritz Warning <moritzwarning@web.de>
5 months agondppd: fix compile error with musl 402/head
Martin Strobel [Sun, 12 Aug 2018 16:03:38 +0000 (18:03 +0200)]
ndppd: fix compile error with musl

Error:
src/logger.cc: In static member function 'static std::string ndppd::logger::err()':
src/logger.cc:86:22: error: could not convert 'strerror_r((*__errno_location()), ((char*)(& buf)), sizeof (buf))'
                            from 'int' to 'std::string {aka std::basic_string<char>}'
    return strerror_r(errno, buf, sizeof(buf));

Added and modified some patches from
https://github.com/DanielAdolfsson/ndppd/compare/eb81b8f2d6d4d33545570402b049a73880b9ad01...navossoc:master
(See https://github.com/DanielAdolfsson/ndppd/issues/40 for details)

Compile-tested: octeon + mpc85xx openwrt master, musl + uclibc++
                octeon openwrt master, glibc + libstdc++

Run-tested: octeon openwrt master, musl + uclibc++

Signed-off-by: Martin Strobel <arctus@crza.de>
5 months agoMerge pull request #399 from mwarning/nodogsplash2_fix
Jo-Philipp Wich [Tue, 31 Jul 2018 16:33:58 +0000 (18:33 +0200)]
Merge pull request #399 from mwarning/nodogsplash2_fix

nodogsplash2: remove reference to dead code

5 months agonodogsplash2: remove reference to dead code 399/head
Moritz Warning [Tue, 31 Jul 2018 16:30:08 +0000 (18:30 +0200)]
nodogsplash2: remove reference to dead code

Signed-off-by: Moritz Warning <moritzwarning@web.de>
6 months agoMerge pull request #395 from mwarning/nodogsplash2
Moritz Warning [Mon, 23 Jul 2018 22:13:15 +0000 (00:13 +0200)]
Merge pull request #395 from mwarning/nodogsplash2

nodogsplash2: cleanup

6 months agonodogsplash2: init script cleanup and refactoring 395/head
Moritz Warning [Wed, 2 May 2018 19:35:39 +0000 (21:35 +0200)]
nodogsplash2: init script cleanup and refactoring

- refactor firewall restart hook
- remove dead code
- shorten existing code

Signed-off-by: Moritz Warning <moritzwarning@web.de>
6 months agoMerge pull request #397 from adrianschmutzler/fixalfred
Moritz Warning [Sat, 21 Jul 2018 15:15:02 +0000 (17:15 +0200)]
Merge pull request #397 from adrianschmutzler/fixalfred

alfred: Fix alfred.init

6 months agoalfred: Fix alfred.init 397/head
Adrian Schmutzler [Sat, 21 Jul 2018 13:57:51 +0000 (15:57 +0200)]
alfred: Fix alfred.init

The commit 45db0e6 introduced curly brackets which are not correct
syntax and thus broke the script.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
6 months agoMerge pull request #390 from aparcar/alfred_procd
Moritz Warning [Fri, 20 Jul 2018 12:22:52 +0000 (14:22 +0200)]
Merge pull request #390 from aparcar/alfred_procd

alfred: use procd fix #388

6 months agoalfred: use procd 390/head
Paul Spooren [Wed, 13 Jun 2018 15:08:51 +0000 (00:08 +0900)]
alfred: use procd

Signed-off-by: Paul Spooren <mail@aparcar.org>
6 months agoMerge pull request #396 from ecsv/batadv-2018.2
Simon Wunderlich [Wed, 18 Jul 2018 12:07:46 +0000 (05:07 -0700)]
Merge pull request #396 from ecsv/batadv-2018.2

batman-adv 2018.2

6 months agobatman-adv: upgrade package to latest release 2018.2 396/head
Sven Eckelmann [Tue, 17 Jul 2018 18:44:29 +0000 (20:44 +0200)]
batman-adv: upgrade package to latest release 2018.2

* support latest kernels (3.16 - 4.18)
* dropped support for kernels < 3.16 (note the removed build directory)
* coding style cleanups and refactoring
* avoid old nodes disabling multicast optimizations completely
* disable ethtool based B.A.T.M.A.N. V speed detection for virtual interfaces
* enable B.A.T.M.A.N. V compilation by default
* disable debugfs support by default
* bugs squashed:

  - fix TT sync flags for intermediate TT responses
  - avoid race in TT TVLV allocator helper
  - prevent TT request storms by not sending inconsistent TT TVLVs
  - fix best gw refcnt after netlink dump
  - adjust debugfs paths for interfaces after a namechange
  - fix single entry TT non-sync flag storage
  - fix multicast TT issues with bogus ROAM flags
  - work around insufficient memory initialization in cfg80211's station info

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agobatctl: upgrade package to latest release 2018.2
Sven Eckelmann [Tue, 17 Jul 2018 18:43:25 +0000 (20:43 +0200)]
batctl: upgrade package to latest release 2018.2

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agoalfred: upgrade package to latest release 2018.2
Sven Eckelmann [Tue, 17 Jul 2018 18:43:11 +0000 (20:43 +0200)]
alfred: upgrade package to latest release 2018.2

* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agobatman-adv: Simplify installation of files
Sven Eckelmann [Tue, 17 Jul 2018 19:20:14 +0000 (21:20 +0200)]
batman-adv: Simplify installation of files

It is not necessary to install each file manually to the target path. A
simple recursive copy is enough.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agobatctl: Drop unused clean rule
Sven Eckelmann [Tue, 17 Jul 2018 19:10:47 +0000 (21:10 +0200)]
batctl: Drop unused clean rule

The rule can be removed because the OpenWrt build system takes care of the
removal of the build directory.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agobatman-adv: Drop unused clean rule
Sven Eckelmann [Tue, 17 Jul 2018 19:10:47 +0000 (21:10 +0200)]
batman-adv: Drop unused clean rule

The path $(BUILD_DIR)/$(PKG_NAME) is not used anymore. The rule can be
removed and the OpenWrt build system takes care of the removal of the build
directory.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agobatman-adv: Drop manual installation of compat-hacks.h
Sven Eckelmann [Tue, 17 Jul 2018 18:59:22 +0000 (20:59 +0200)]
batman-adv: Drop manual installation of compat-hacks.h

OpenWrt is able since a while to automatically install all files in ./src/
to the PKG_BUILD_DIR. It is no longer necessary to provide special
Build/Prepare rules to do so.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agobatman-adv: Provide default settings examples for bat0
Sven Eckelmann [Wed, 13 Jun 2018 11:45:22 +0000 (13:45 +0200)]
batman-adv: Provide default settings examples for bat0

Users may want to know what options can be specified and in which form they
have to specified. A commented out list of settings is helpful here while
making it not necessary to copy the default settings from batman-adv to
this config all the time.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agobatman-adv: Remove unused option "interfaces" in config
Sven Eckelmann [Tue, 19 Jun 2018 10:21:30 +0000 (12:21 +0200)]
batman-adv: Remove unused option "interfaces" in config

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agobatman-adv: Disable CONFIG_BATMAN_ADV_DEBUGFS by default
Sven Eckelmann [Mon, 11 Jun 2018 10:49:46 +0000 (12:49 +0200)]
batman-adv: Disable CONFIG_BATMAN_ADV_DEBUGFS by default

All tools which were known to the batman-adv development team are
supporting the batman-adv netlink interface since a while. Also debugfs is
not supported for batman-adv interfaces in any non-default netns. Thus
disabling CONFIG_BATMAN_ADV_DEBUGFS by default should not cause problems on
most systems. It is still possible to enable it in case it is still
required in a specific setup.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agobatman-adv: Remove deprecated compat helpers
Sven Eckelmann [Fri, 8 Jun 2018 11:58:53 +0000 (13:58 +0200)]
batman-adv: Remove deprecated compat helpers

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agobatman-adv: Add compat for link_ksettings->base.autoneg
Sven Eckelmann [Fri, 18 May 2018 22:30:28 +0000 (00:30 +0200)]
batman-adv: Add compat for link_ksettings->base.autoneg

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agobatman-adv: Load module with AutoProbe
Sven Eckelmann [Tue, 5 Jun 2018 12:28:39 +0000 (14:28 +0200)]
batman-adv: Load module with AutoProbe

cfg80211 is loaded by kmodloader after the modules with a priority
(AutoLoad) are loaded. batman-adv should therefore also be loaded at that
time and must not load cfg80211 itself. The information in the ELF header
are enough for kmodloader to load these two modules in the correct order.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 months agoMerge pull request #387 from diizzyy/patch-2
Moritz Warning [Tue, 17 Jul 2018 16:39:19 +0000 (18:39 +0200)]
Merge pull request #387 from diizzyy/patch-2

bird2: Disable libssh support

6 months agoMerge pull request #392 from cotequeiroz/pimbd-constant_cpu_to_be32
Moritz Warning [Thu, 12 Jul 2018 18:45:54 +0000 (20:45 +0200)]
Merge pull request #392 from cotequeiroz/pimbd-constant_cpu_to_be32

pimbd: Fix gcc 7.3 compilation error

6 months agoMerge pull request #391 from dguglielmi/master
Moritz Warning [Thu, 12 Jul 2018 14:54:27 +0000 (16:54 +0200)]
Merge pull request #391 from dguglielmi/master

ndppd: bump to 0.2.5

6 months agotreewide: Basic cleanup and alignment to package guidelines (#383)
Daniel Engberg [Thu, 12 Jul 2018 14:50:47 +0000 (16:50 +0200)]
treewide: Basic cleanup and alignment to package guidelines (#383)

This is a very basic cleanup, several packages needs more work
but this at least drops git for https and removes the use of
PKG_MD5SUM and some minor fixes.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 months agoMerge pull request #389 from aparcar/bmx7_trigger
Axel Neumann [Wed, 20 Jun 2018 11:31:11 +0000 (13:31 +0200)]
Merge pull request #389 from aparcar/bmx7_trigger

bmx7: add config trigger

7 months agopimbd: update to current git HEAD 392/head
Eneas U de Queiroz [Tue, 19 Jun 2018 11:01:14 +0000 (08:01 -0300)]
pimbd: update to current git HEAD

Allow compilation with gcc 7.3.0.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
7 months agondppd: bump to 0.2.5 391/head
David Guglielmi [Sun, 17 Jun 2018 16:47:39 +0000 (18:47 +0200)]
ndppd: bump to 0.2.5
 * Remove downstream patches
 * Use github/codeload for source URL
 * Use PKG_HASH

7 months agobmx7: add config trigger 389/head
Paul Spooren [Wed, 13 Jun 2018 11:02:41 +0000 (20:02 +0900)]
bmx7: add config trigger

this should automatically reload bmx7 if the config files is changed

Signed-off-by: Paul Spooren <mail@aparcar.org>
7 months agoMerge pull request #384 from ecsv/batadv-2018.1
Simon Wunderlich [Wed, 13 Jun 2018 09:53:11 +0000 (11:53 +0200)]
Merge pull request #384 from ecsv/batadv-2018.1

batman-adv: add patches from 2018.1-maint 2018-06-12

7 months agobird2: Disable libssh support 387/head
Daniel Engberg [Tue, 12 Jun 2018 21:51:07 +0000 (23:51 +0200)]
bird2: Disable libssh support

Explicitly disable libssh support
Fixes build failure on buildbots

" Package bird2 is missing dependencies for the following libraries:
libssh.so.4 "
http://downloads.lede-project.org/snapshots/faillogs/arm_cortex-a9_neon/routing/bird2/compile.txt

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 months agobatman-adv: add patches from 2018.1-maint 2018-06-12 384/head 385/head
Sven Eckelmann [Tue, 12 Jun 2018 20:10:57 +0000 (22:10 +0200)]
batman-adv: add patches from 2018.1-maint 2018-06-12

* compat: initialize sinfo in cfg80211_get_station
* Avoid storing non-TT-sync flags on singular entries too
* Fix multicast TT issues with bogus ROAM flags

Signed-off-by: Sven Eckelmann <sven@narfation.org>
7 months agoMerge pull request #379 from ecsv/batadv-2018.1
Simon Wunderlich [Mon, 4 Jun 2018 12:12:48 +0000 (14:12 +0200)]
Merge pull request #379 from ecsv/batadv-2018.1

batman-adv: add patches from 2018.1-maint 2018-06-03

7 months agobatman-adv: add patches from 2018.1-maint 2018-06-03 379/head 380/head
Sven Eckelmann [Sun, 3 Jun 2018 13:52:30 +0000 (15:52 +0200)]
batman-adv: add patches from 2018.1-maint 2018-06-03

* Avoid race in TT TVLV allocator helper
* Fix TT sync flags for intermediate TT responses
* prevent TT request storms by not sending inconsistent TT TLVLs
* don't implement skb_postpush_rcsum() for linux >=4.4.47
* Fix bat_ogm_iv best gw refcnt after netlink dump
* Fix bat_v best gw refcnt after netlink dump
* Fix debugfs path for renamed hardif
* Fix debugfs path for renamed softif

Signed-off-by: Sven Eckelmann <sven@narfation.org>
8 months agoMerge pull request #378 from tohojo/bird-2.0
Moritz Warning [Thu, 17 May 2018 13:42:56 +0000 (15:42 +0200)]
Merge pull request #378 from tohojo/bird-2.0

Add a package for Bird 2.0

8 months agobird2: Add package 378/head
Toke Høiland-Jørgensen [Wed, 16 May 2018 10:36:52 +0000 (12:36 +0200)]
bird2: Add package

This adds a separate package for the 2.0 branch of Bird, allowing it to
co-exist with the bird1 package. The two packages conflict with each other,
so they can't be installed at the same time; but in the build system they
coexist just fine.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>