Commit Graph

1504 Commits

Author SHA1 Message Date
Moritz Warning f438333a6a
Merge pull request #438 from cotequeiroz/hnetd_openssl-1.1
hnetd: add compatiblity with openssl 1.1.x
2019-01-11 01:17:10 +01:00
p4u fce1287bd7 luci-app-bmx7: show mDNS menu if available
Signed-off-by: p4u <p4u@dabax.net>
2019-01-10 20:30:01 +01:00
Eneas U de Queiroz 2c9f89cc76 hnetd: add compatiblity with openssl 1.1.x
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-13 11:21:08 -02:00
Roger Pueyo Centelles 6c63383f0d 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>
2018-12-09 21:06:18 +01:00
Pau a7c447903c
Merge pull request #435 from rogerpueyo/bmx6-graph-tunnels
luci-app-bmx6: Fix corner case in bmx6-info?tunnels
2018-12-08 22:26:04 +01:00
Roger Pueyo Centelles 2cc3c50bed 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>
2018-12-08 22:20:42 +01:00
Pau 9bc518e8c8
Merge pull request #433 from rogerpueyo/bmx6-graph
luci-app-bmx6: Fix URL of network topology JSON file
2018-12-08 22:12:52 +01:00
Roger Pueyo Centelles b6815d5942 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>
2018-12-08 22:02:48 +01:00
p4u 940d621757 Merge branch 'p4u/luci-app-bmx7/refactory' 2018-12-07 19:15:16 +01:00
Pau 3264d15492
Merge pull request #431 from rogerpueyo/p4u/luci-app-bmx7/refactory
Fix bmx7-info indentation and "$info" call
2018-12-07 18:44:19 +01:00
Roger Pueyo Centelles 3e259f8ec5 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>
2018-12-07 18:04:10 +01:00
Roger Pueyo Centelles a7d7f4baa8 luci-app-bmx7: fix bmx7-info script's indentation
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
2018-12-07 17:47:22 +01:00
p4u 9345df949e luci-app-bmx7: update version, dependencies and maintainer
Signed-off-by: p4u <p4u@dabax.net>
2018-12-07 16:55:11 +01:00
Simon Wunderlich a31ebca77e
Merge pull request #429 from ecsv/batadv-2018.4
batctl: Fix parsing of optional debug table command parameters
2018-12-07 09:52:46 +01:00
p4u a1e102093f luci-app-bmx7: refactory, multiple fixes and add topology graph
Signed-off-by: p4u <p4u@dabax.net>
2018-12-06 12:17:49 +01:00
Sven Eckelmann db1869971d 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: 8936141bf0 ("batctl: upgrade package to latest release 2018.4")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2018-12-06 09:21:15 +01:00
Simon Wunderlich 3d97690ba3
Merge pull request #427 from ecsv/batadv-2018.4
batman-adv 2018.4
2018-11-15 10:12:33 +01:00
Sven Eckelmann 4167ad2c62 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>
2018-11-14 21:50:38 +01:00
Sven Eckelmann 8936141bf0 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>
2018-11-14 21:50:38 +01:00
Sven Eckelmann 3528a5df09 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>
2018-11-14 21:50:38 +01:00
zorun 2681019264
Merge pull request #426 from robimarko/babeld-1.8.4
babeld: Update to version 1.8.4
2018-11-11 10:11:29 +01:00
Robert Marko 6151c44f22
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>
2018-11-11 00:34:59 +01:00
Sven Eckelmann 9bc898b8f4 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: 0db66160aa ("batman-adv: Sync config options with kernel Kconfig")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2018-10-22 12:34:32 +02:00
Simon Wunderlich 71664bae65
Merge pull request #421 from ecsv/batadv-2018.3
batman-adv: Cleanup of configuration options
2018-10-18 15:01:53 +02:00
Sven Eckelmann c3b60d4c84 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>
2018-10-14 17:41:53 +02:00
Sven Eckelmann 6a25fd5ce5 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>
2018-10-14 17:41:52 +02:00
Sven Eckelmann 0db66160aa 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>
2018-10-14 17:41:52 +02:00
Sven Eckelmann 45c12f406f 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>
2018-10-14 16:58:01 +02:00
Sven Eckelmann c5092c6e78 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>
2018-10-14 16:50:23 +02:00
Sven Eckelmann 726b00dc9f 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>
2018-10-14 16:07:42 +02:00
Simon Wunderlich c7f14ce932
Merge pull request #420 from ecsv/batadv-2018.3
batman-adv package fixes
2018-10-11 10:34:05 +02:00
Sven Eckelmann e6a8135faa 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>
2018-10-07 16:11:48 +02:00
Sven Eckelmann 3736630676 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>
2018-10-07 13:31:32 +02:00
Sven Eckelmann c903a445a8 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>
2018-10-07 13:31:16 +02:00
Sven Eckelmann 542a63720f 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>
2018-10-07 13:31:01 +02:00
Sven Eckelmann 8112737cdc 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>
2018-10-07 13:29:24 +02:00
Sven Eckelmann 003607ac1e batman-adv: Rebuild automatically on mac80211 changes
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2018-10-07 10:42:12 +02:00
Moritz Warning 4303ca68a6
Merge pull request #415 from unquietwiki/patch-1
babeld: update to 1.8.3
2018-10-03 19:53:13 +02:00
Michael Adams bab933d4ca 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>
2018-10-03 10:04:46 -07:00
Moritz Warning c5094aac9b
Merge pull request #419 from mwarning/nds_link_fix
nodogsplash: fix download link
2018-09-28 15:31:14 +02:00
Moritz Warning 372ed0da13 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>
2018-09-28 15:29:16 +02:00
Rob White 4bfb63f25b nodogsplash: Version 3.2.1 release (#416)
nodogsplash: Release 3.2.1

Signed-off-by: Rob White <rob@blue-wave.net>
2018-09-27 14:59:33 +02:00
Simon Wunderlich a8d3f89007
Merge pull request #412 from ecsv/batadv-2018.3
batman-adv 2018.3
2018-09-17 10:46:21 +02:00
Sven Eckelmann 02e3cb6db9 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>
2018-09-15 10:20:02 +02:00
Sven Eckelmann 22fd5c5f06 batctl: upgrade package to latest release 2018.3
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2018-09-15 10:19:39 +02:00
Sven Eckelmann 99430a87e3 alfred: upgrade package to latest release 2018.3
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2018-09-15 10:19:39 +02:00
Moritz Warning 89edf8c15d
Merge pull request #410 from bluewavenet/nodogsplash-3.2.0
nodogsplash: add missing config options
2018-09-13 16:39:42 +02:00
Rob White 00a6bef40b 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>
2018-09-13 15:05:26 +01:00
Moritz Warning c394f54b63
Merge pull request #406 from bluewavenet/nodogsplash-3.2.0
nodogsplash: Release 3.2.0
2018-09-03 12:17:37 +02:00
William Fleurant cc7986a774
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>
2018-09-03 00:50:34 +00:00