Commit Graph

1531 Commits

Author SHA1 Message Date
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
Rob White 9d7a3f6428 nodogsplash: Release 3.2.0
Signed-off-by: Rob White <rob@blue-wave.net>
2018-09-02 22:30:22 +01:00
Moritz Warning b6efcd5cba
Merge pull request #405 from bluewavenet/nodogsplash-3.1.0
nodogsplash: Release 3.1.0
2018-08-28 10:47:37 +02:00
Rob White 0b21cb77d9 nodogsplash: Release 3.1.0
Signed-off-by: Rob White <rob@blue-wave.net>
2018-08-26 22:57:12 +01:00
Moritz Warning f18bdeab6c
Merge pull request #404 from mwarning/nodogsplash
nodogsplash: fix minor things
2018-08-17 19:25:52 +02:00
Moritz Warning 02966f80c1 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>
2018-08-17 19:23:00 +02:00
Moritz Warning 938e4dbaa3
Merge pull request #402 from crza/fix-ndppd
ndppd: fix compile error with musl
2018-08-16 16:39:09 +02:00
Moritz Warning e737f4f9c7
Merge pull request #400 from cotequeiroz/bmx7_list.h
bmx7: avoid list.h namespace collision
2018-08-16 16:36:52 +02:00
Eneas U de Queiroz dfe80970d5 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>
2018-08-16 11:05:51 -03:00
Moritz Warning 85d01f8280
Merge pull request #401 from mwarning/nodogsplash2
nodogsplash2: update to 3.0 and merge packages
2018-08-16 15:51:26 +02:00
Moritz Warning 6f82d5128e nodogsplash2: remove package
Nodogplash 3.0.0 was released and makes the nodogsplash2 package unnecessary.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2018-08-16 15:05:49 +02:00
Moritz Warning 1a27c9a34d nodogsplash: update to release 3.0.0
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2018-08-16 15:03:29 +02:00
Martin Strobel 9333cdff05 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
eb81b8f2d6...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>
2018-08-12 18:03:38 +02:00
Jo-Philipp Wich 76773ec5dd
Merge pull request #399 from mwarning/nodogsplash2_fix
nodogsplash2: remove reference to dead code
2018-07-31 18:33:58 +02:00
Moritz Warning c7d0e1c7a4 nodogsplash2: remove reference to dead code
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2018-07-31 18:30:08 +02:00
Moritz Warning e46736e78c
Merge pull request #395 from mwarning/nodogsplash2
nodogsplash2: cleanup
2018-07-24 00:13:15 +02:00
Moritz Warning fa70e4cdc6 nodogsplash2: init script cleanup and refactoring
- refactor firewall restart hook
- remove dead code
- shorten existing code

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2018-07-23 22:25:15 +02:00
Moritz Warning 512084e948
Merge pull request #397 from adrianschmutzler/fixalfred
alfred: Fix alfred.init
2018-07-21 17:15:02 +02:00
Adrian Schmutzler 52e2545198 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>
2018-07-21 16:00:20 +02:00
Moritz Warning 4c7b4a349b
Merge pull request #390 from aparcar/alfred_procd
alfred: use procd fix #388
2018-07-20 14:22:52 +02:00
Paul Spooren 45db0e60d2 alfred: use procd
Signed-off-by: Paul Spooren <mail@aparcar.org>
2018-07-20 18:23:10 +09:00
Simon Wunderlich d01c661c6d
Merge pull request #396 from ecsv/batadv-2018.2
batman-adv 2018.2
2018-07-18 05:07:46 -07:00
Sven Eckelmann afba8ae2c0 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>
2018-07-17 21:23:54 +02:00
Sven Eckelmann afc7b8f64c batctl: upgrade package to latest release 2018.2
* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2018-07-17 21:23:54 +02:00