feed/routing.git
4 years agoMerge pull request #585 from ecsv/batadv-for-18.06
Simon Wunderlich [Tue, 7 Jul 2020 07:20:09 +0000 (09:20 +0200)]
Merge pull request #585 from ecsv/batadv-for-18.06

openwrt-18.06: batctl: Merge bugfixes from 2020.2

4 years agobatctl: Merge bugfixes from 2020.2 585/head
Sven Eckelmann [Mon, 6 Jul 2020 18:12:06 +0000 (20:12 +0200)]
batctl: Merge bugfixes from 2020.2

* fix endianness when reading radiotap header
* Only remove batadv interface on hardif reduction

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agonodogsplash: update to 4.0.3
Alexander Couzens [Mon, 4 May 2020 22:44:39 +0000 (00:44 +0200)]
nodogsplash: update to 4.0.3

Fix a traversal path attack.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
4 years agoMerge pull request #564 from ecsv/batadv-for-18.06
Simon Wunderlich [Mon, 27 Apr 2020 08:25:46 +0000 (10:25 +0200)]
Merge pull request #564 from ecsv/batadv-for-18.06

openwrt-18.06: batman-adv: Merge bugfixes from 2020.1

4 years agobatman-adv: Merge bugfixes from 2020.1 564/head
Sven Eckelmann [Fri, 24 Apr 2020 18:52:25 +0000 (20:52 +0200)]
batman-adv: Merge bugfixes from 2020.1

* fix batadv_nc_random_weight_tq
* Fix refcnt leak in batadv_show_throughput_override
* Fix refcnt leak in batadv_store_throughput_override
* Fix refcnt leak in batadv_v_ogm_process

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agobatctl: Merge bugfixes from 2020.1
Sven Eckelmann [Fri, 24 Apr 2020 18:46:29 +0000 (20:46 +0200)]
batctl: Merge bugfixes from 2020.1

* Return EXIT_FAILURE when throughputmeter failed

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoMerge pull request #555 from ecsv/batadv-for-18.06
Simon Wunderlich [Tue, 10 Mar 2020 16:08:55 +0000 (17:08 +0100)]
Merge pull request #555 from ecsv/batadv-for-18.06

openwrt-18.06: batman-adv: Merge bugfixes from 2020.0

4 years agobatman-adv: Merge bugfixes from 2020.0 555/head
Sven Eckelmann [Fri, 6 Mar 2020 19:51:17 +0000 (20:51 +0100)]
batman-adv: Merge bugfixes from 2020.0

* Don't schedule OGM for disabled interface

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agoquagga: update to version 1.1.1 (#541)
Josef Schlehofer [Sun, 26 Jan 2020 22:13:23 +0000 (23:13 +0100)]
quagga: update to version 1.1.1 (#541)

Makefile changes:
- Use HTTPS everywhere
- Reorder some things to have it in sync with other packages
- Fixed SPDX License Identifier
- Added PKG_LICENSE_FILES
- For checksum use SHA256

Refreshed patches

Fixes CVEs:
- CVE-2017-5495
- CVE-2017-16227

Fixes security issues:
- Quagga-2018-0543: attr_endp used for NOTIFY data
https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-0543.txt
- Quagga-2018-1114: bgpd double free
https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1114.txt
- Quagga-2018-1550: debug overrun in notify lookup tables
https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1550.txt
- Quagga-2018-1975: BGP capability inf. loop
https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.txt

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
4 years ago[OpenWrt 18.06] bird: Update to version 1.6.8 (security fix) (#539)
Josef Schlehofer [Wed, 1 Jan 2020 16:33:24 +0000 (17:33 +0100)]
[OpenWrt 18.06] bird: Update to version 1.6.8 (security fix) (#539)

* bird: Bump to v1.6.7

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
(cherry-picked from commit 559619d9d9014dc8894166731a935758558e42f0)

* bird: Update to version 1.6.8

Fixes CVE-2019-16159

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit
6c61ab5d2ef59d2559a8735b8252b5a0238013b43e5fb8a96c5d9d06e7bc00b2)

Co-authored-by: Toke Høiland-Jørgensen <toke@toke.dk>
4 years agoMerge pull request #537 from ecsv/batadv-for-18.06
Simon Wunderlich [Sat, 14 Dec 2019 15:59:15 +0000 (16:59 +0100)]
Merge pull request #537 from ecsv/batadv-for-18.06

openwrt-18.06: batman-adv: Merge bugfixes from 2019.5

4 years agobatman-adv: Merge bugfixes from 2019.5 537/head
Sven Eckelmann [Fri, 13 Dec 2019 21:11:22 +0000 (22:11 +0100)]
batman-adv: Merge bugfixes from 2019.5

* fix DAT candidate selection on little endian systems

Signed-off-by: Sven Eckelmann <sven@narfation.org>
4 years agopimbd: update to current git HEAD (#534)
Josef Schlehofer [Sun, 8 Dec 2019 14:38:03 +0000 (15:38 +0100)]
pimbd: update to current git HEAD (#534)

Allow compilation with gcc 7.3.0.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry-picked from commit c299f8bcea26669bc93db16f59e12f9272a30f8d)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
5 years agoMerge pull request #520 from ecsv/batadv-for-18.06
Simon Wunderlich [Sat, 26 Oct 2019 08:30:47 +0000 (10:30 +0200)]
Merge pull request #520 from ecsv/batadv-for-18.06

openwrt-18.06: batman-adv: Merge bugfixes from 2019.4

5 years agobatman-adv: Merge bugfixes from 2019.4 520/head
Sven Eckelmann [Fri, 25 Oct 2019 20:25:10 +0000 (22:25 +0200)]
batman-adv: Merge bugfixes from 2019.4

* fix uninit-value in batadv_netlink_get_ifindex()
* Only read OGM tvlv_len after buffer len check
* Only read OGM2 tvlv_len after buffer len check
* Avoid free/alloc race when handling OGM2 buffer
* Avoid free/alloc race when handling OGM buffer
* Introduce own OGM2 buffer mutex
* Avoid OGM workqueue synchronous cancel deadlock

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoMerge pull request #511 from adrianschmutzler/babeld1806
zorun [Tue, 3 Sep 2019 22:34:51 +0000 (00:34 +0200)]
Merge pull request #511 from adrianschmutzler/babeld1806

[18.06] babeld: Update to version 1.8.5

5 years agobabeld: Update to version 1.8.5 511/head
Adrian Schmutzler [Wed, 21 Aug 2019 13:45:50 +0000 (15:45 +0200)]
babeld: Update to version 1.8.5

This updates babeld to the latest release from the
babeld-1.8-branch, which introduces mostly fixes:

22 July 2019: babeld-1.8.5

  * 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).

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.

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.

During the last months, "babeld-1.8.5" has shown superior stability
compared to earlier versions in my tests.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
5 years agonodogsplash: Backport Version 4.0.1. (#493)
Rob White [Tue, 30 Jul 2019 14:20:15 +0000 (15:20 +0100)]
nodogsplash: Backport Version 4.0.1. (#493)

This version has numerous fixes and enhancements.
It is compatible with the previous v3.2.1 release and onwards.

 Important fixes in this version:
 * Fix coding error in fas-aes.php [bluewavenet]
 * Make debuglevel platform independent [mwarning]
 * Fix memory handling bug, issue nodogsplash/nodogsplash#341 [mwarning] [stevo01]
 * ndsctl_thread - ignore interupts when returning from epoll [lynxis]
 * auth.c - use correct types to prevent cast and comparement of uint and int [lynxis]
 * openwrt/init.d - prevent start of the daemon if configuration generation fails [lynxis]
 * Generate Error 403 Forbidden, if Gateway Port is accessed directly [bluewavenet]
 * Validate fasremoteip as a valid dotted format IPv4 address [bluewavenet] [mwarning]
 * Prevent client CPD "Too Many Redirects" error. [bluewavenet]

Maintainer: Moritz Warning <moritzwarning@web.de>

Signed-off-by: Rob White <rob@blue-wave.net>
5 years agonodogsplash: Backport of Version 4.0.0. (#486)
Rob White [Thu, 25 Jul 2019 11:32:53 +0000 (12:32 +0100)]
nodogsplash: Backport of Version 4.0.0. (#486)

This version has numerous fixes and enhancements.
It is compatible with the previous v3.2.1 release and onwards.

Maintainer: Moritz Warning <moritzwarning@web.de>

Signed-off-by: Rob White <rob@blue-wave.net>
5 years agoMerge pull request #455 from BKPepe/bird-openwrt18.06
Jo-Philipp Wich [Wed, 26 Jun 2019 17:24:35 +0000 (19:24 +0200)]
Merge pull request #455 from BKPepe/bird-openwrt18.06

[OpenWrt 18.06] bird: update to version 1.6.6

5 years agoMerge pull request #474 from ecsv/batadv-for-18.06
Simon Wunderlich [Sun, 2 Jun 2019 20:41:16 +0000 (22:41 +0200)]
Merge pull request #474 from ecsv/batadv-for-18.06

openwrt-18.06: batman-adv: Fix duplicated OGMs on NETDEV_UP

5 years agobatman-adv: Fix duplicated OGMs on NETDEV_UP 474/head
Sven Eckelmann [Sun, 2 Jun 2019 09:39:24 +0000 (11:39 +0200)]
batman-adv: Fix duplicated OGMs on NETDEV_UP

The state of slave interfaces are handled differently depending on whether
the interface is up or not. All active interfaces (IFF_UP) will transmit
OGMs. But for B.A.T.M.A.N. IV, also non-active interfaces are scheduling
(low TTL) OGMs on active interfaces. The code which setups and schedules
the OGMs must therefore already be called when the interfaces gets added as
slave interface and the transmit function must then check whether it has to
send out the OGM or not on the specific slave interface.

But v2016.3 moved the setup code from the enable function to the activate
function. The latter is called either when the added slave was already up
when batadv_hardif_enable_interface processed the new interface or when a
NETDEV_UP event was received for this slave interfac. As result, each
NETDEV_UP would schedule a new OGM worker for the interface and thus OGMs
would be send a lot more than expected.

Fixes: 549909f89dd7 ("batman-adv: upgrade package to latest release 2016.3")
Reported-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoMerge pull request #469 from ecsv/batadv-for-18.06
Simon Wunderlich [Fri, 24 May 2019 07:45:38 +0000 (09:45 +0200)]
Merge pull request #469 from ecsv/batadv-for-18.06

openwrt-18.06: batman-adv: Merge bugfixes from 2019.2

5 years agobatman-adv: Merge bugfixes from 2019.2 469/head
Sven Eckelmann [Thu, 23 May 2019 17:08:44 +0000 (19:08 +0200)]
batman-adv: Merge bugfixes from 2019.2

* mcast: fix multicast tt/tvlv worker locking
* fix for leaked TVLV handler

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agobatman-adv: Reorder patches
Sven Eckelmann [Thu, 23 May 2019 17:08:04 +0000 (19:08 +0200)]
batman-adv: Reorder patches

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoMerge pull request #462 from ecsv/batadv-18.06
Simon Wunderlich [Fri, 29 Mar 2019 12:33:01 +0000 (13:33 +0100)]
Merge pull request #462 from ecsv/batadv-18.06

openwrt-18.06: batman-adv: Merge bugfixes from 2019.1

5 years agobatman-adv: Merge bugfixes from 2019.1 462/head
Sven Eckelmann [Thu, 28 Mar 2019 19:39:10 +0000 (20:39 +0100)]
batman-adv: Merge bugfixes from 2019.1

* fix uninit-value in batadv_interface_tx()
* Reduce claim hash refcnt only for removed entry
* Reduce tt_local hash refcnt only for removed entry
* Reduce tt_global hash refcnt only for removed entry

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agonodogsplash: fix invalid pointer bug when clock is turned back (#456)
Moritz Warning [Thu, 14 Mar 2019 17:23:32 +0000 (18:23 +0100)]
nodogsplash: fix invalid pointer bug when clock is turned back (#456)

Signed-off-by: Moritz Warning <moritzwarning@web.de>
5 years agobird: update to version 1.6.6 455/head
Josef Schlehofer [Wed, 13 Feb 2019 15:17:13 +0000 (16:17 +0100)]
bird: update to version 1.6.6

Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
5 years agoMerge pull request #452 from dangowrt/openwrt-18.06
Axel Neumann [Mon, 4 Mar 2019 23:52:11 +0000 (00:52 +0100)]
Merge pull request #452 from dangowrt/openwrt-18.06

bmx7: update to git snapshot as of 2018-12-29

5 years agoluci-app-bmx7: update to v0.1-alpha 452/head
Daniel Golle [Sat, 2 Mar 2019 21:30:16 +0000 (22:30 +0100)]
luci-app-bmx7: update to v0.1-alpha

consolidated commits from master branch:
 fce1287 luci-app-bmx7: show mDNS menu if available
 3e259f8 luci-app-bmx7: fix bmx7-info script's "$info" call
 a7d7f4b luci-app-bmx7: fix bmx7-info script's indentation
 9345df9 luci-app-bmx7: update version, dependencies and maintainer
 a1e1020 luci-app-bmx7: refactory, multiple fixes and add topology graph

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 years agobmx7: update to git snapshot as of 2018-12-29
Daniel Golle [Sat, 2 Mar 2019 21:22:23 +0000 (22:22 +0100)]
bmx7: update to git snapshot as of 2018-12-29

consolidated commits from master branch:
 25916fb bmx7: update to git snapshot as of 2018-12-29
(dfe8097 bmx7: Avoid namespace collision with libubox.)
(43449bc treewide: Basic cleanup and alignment to package guidelines (#383))
 440ad46 bmx7: add config trigger

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 years agobatman-adv: Refresh patches
Sven Eckelmann [Mon, 11 Feb 2019 10:24:47 +0000 (11:24 +0100)]
batman-adv: Refresh patches

Signed-off-by: Sven Eckelmann <sven@narfation.org>
5 years agoMerge pull request #442 from ecsv/batadv-18.06
Simon Wunderlich [Wed, 16 Jan 2019 09:00:25 +0000 (10:00 +0100)]
Merge pull request #442 from ecsv/batadv-18.06

openwrt-18.06: batman-adv: Merge bugfixes from 2019.0

5 years agobatman-adv: Merge bugfixes from 2019.0 442/head
Sven Eckelmann [Wed, 16 Jan 2019 08:41:28 +0000 (09:41 +0100)]
batman-adv: Merge bugfixes from 2019.0

* Avoid WARN on net_device without parent in netns
* Force mac header to start of data on xmit

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 years agoMerge pull request #425 from ecsv/batadv-18.06
Simon Wunderlich [Thu, 8 Nov 2018 10:38:58 +0000 (11:38 +0100)]
Merge pull request #425 from ecsv/batadv-18.06

openwrt-18.06: batman-adv: Merge bugfixes from 2018.4

6 years agoalfred: Merge bugfixes from 2018.4 425/head
Sven Eckelmann [Wed, 7 Nov 2018 23:00:26 +0000 (00:00 +0100)]
alfred: Merge bugfixes from 2018.4

* Fix detection of own packets for IPv4 mode
* Request MAC resolution for IPv4 address not in ARP cache

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 years agobatman-adv: Merge bugfixes from 2018.4
Sven Eckelmann [Wed, 7 Nov 2018 23:00:26 +0000 (00:00 +0100)]
batman-adv: Merge bugfixes from 2018.4

* Use explicit tvlv padding for ELP packets
* Expand merged fragment buffer for full packet

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 years agoMerge pull request #422 from ecsv/batadv-18.06
Simon Wunderlich [Thu, 18 Oct 2018 13:01:58 +0000 (15:01 +0200)]
Merge pull request #422 from ecsv/batadv-18.06

openwrt-18.06: batman-adv package fixes

6 years agobatctl: Don't overwrite default PKG_BUILD_DIR 422/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>
6 years 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>
6 years 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>
6 years 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>
6 years 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 years 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.1/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>
6 years 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 years 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>
6 years 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>
6 years agonodogsplash: fix download hash
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>
6 years agoMerge pull request #417 from bluewavenet/openwrt-18.06
Moritz Warning [Thu, 27 Sep 2018 16:37:13 +0000 (18:37 +0200)]
Merge pull request #417 from bluewavenet/openwrt-18.06

nodogsplash: Backport v3.2.1 to OpenWrt 18.06

6 years agonodogsplash: Backport v3.2.1 to OpenWrt 18.06 417/head
Rob White [Thu, 27 Sep 2018 13:51:23 +0000 (14:51 +0100)]
nodogsplash: Backport v3.2.1 to OpenWrt 18.06

This release provides bugfixes and some minor enhancements:

  * reset upload/download counter when a client has been authenticated a second time [mwarning]
  * print sesssion duration as 0 in "ndsctl json" and "ndsctl clients" output when a session has not been started [mwarning]
  * rework html templater to speed up splash page generation [mwarning]
  * FAS documentation updates [bluewavenet]
  * Add CSS file and update splash and status html [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
6 years agoMerge pull request #414 from ecsv/batadv-18.06
Simon Wunderlich [Mon, 17 Sep 2018 08:55:06 +0000 (10:55 +0200)]
Merge pull request #414 from ecsv/batadv-18.06

openwrt-18.06: batman-adv: Merge bugfixes from 2018.3

6 years agoMerge pull request #411 from bluewavenet/openwrt-18.06
Moritz Warning [Sat, 15 Sep 2018 10:14:59 +0000 (12:14 +0200)]
Merge pull request #411 from bluewavenet/openwrt-18.06

nodogsplash: add missing config options

6 years agobatman-adv: Merge bugfixes from 2018.3 414/head
Sven Eckelmann [Sat, 15 Sep 2018 09:19:36 +0000 (11:19 +0200)]
batman-adv: Merge bugfixes from 2018.3

* Avoid probe ELP information leak
* Fix segfault when writing to throughput_override
* Fix segfault when writing to sysfs elp_interval
* fix backbone_gw refcount on queue_work() failure
* fix hardif_neigh refcount on queue_work() failure
* Prevent duplicated gateway_node entry
* Prevent duplicated nc_node entry
* Prevent duplicated softif_vlan entry
* Prevent duplicated global TT entry
* Prevent duplicated tvlv handler

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 years agonodogsplash: add missing config options 411/head
Rob White [Sat, 15 Sep 2018 09:02:54 +0000 (10:02 +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
6 years agoMerge pull request #409 from wfleurant/backport-fix-luci-cjdns
Moritz Warning [Tue, 11 Sep 2018 09:22:04 +0000 (11:22 +0200)]
Merge pull request #409 from wfleurant/backport-fix-luci-cjdns

backport: luci-app-cjdns: luci admin support for cjdns-v20.2 (#394)

6 years agoluci-app-cjdns: luci admin support for cjdns-v20.2 (#394) 409/head
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>
Signed-off-by: William Fleurant <william@netblazr.com>
6 years agoMerge pull request #407 from bluewavenet/openwrt-18.06
Moritz Warning [Wed, 5 Sep 2018 12:23:59 +0000 (14:23 +0200)]
Merge pull request #407 from bluewavenet/openwrt-18.06

nodogsplash: Backport v3.2.0 to Openwrt 18.06

6 years agonodogsplash: Backport v3.2.0 407/head
Rob White [Tue, 4 Sep 2018 16:15:48 +0000 (17:15 +0100)]
nodogsplash: Backport v3.2.0

Signed-off-by: Rob White <rob@blue-wave.net>
6 years agonodogsplash: Remove nodogsplash and nodogsplash2
Rob White [Tue, 4 Sep 2018 16:12:31 +0000 (17:12 +0100)]
nodogsplash: Remove nodogsplash and nodogsplash2
in preparation for backport of v3.2.0

Signed-off-by: Rob White <rob@blue-wave.net>
6 years agoMerge pull request #403 from dangowrt/bmx7-for-openwrt-18.06
Moritz Warning [Sun, 19 Aug 2018 14:01:22 +0000 (16:01 +0200)]
Merge pull request #403 from dangowrt/bmx7-for-openwrt-18.06

bmx7: sync with master branch

6 years agobmx7: Avoid namespace collision with libubox. 403/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>
6 years agobmx7: add config trigger
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>
6 years agoMerge pull request #385 from ecsv/batadv-2018.1
Simon Wunderlich [Wed, 13 Jun 2018 09:53:17 +0000 (11:53 +0200)]
Merge pull request #385 from ecsv/batadv-2018.1

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

6 years 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>
6 years agoMerge pull request #380 from ecsv/batadv-2018.1
Simon Wunderlich [Mon, 4 Jun 2018 12:12:59 +0000 (14:12 +0200)]
Merge pull request #380 from ecsv/batadv-2018.1

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

6 years 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>
6 years agonodogsplash2: update to version 2.1.1 (#376)
Moritz Warning [Mon, 14 May 2018 14:24:33 +0000 (16:24 +0200)]
nodogsplash2: update to version 2.1.1 (#376)

Signed-off-by: Moritz Warning <moritzwarning@web.de>
6 years agoMerge pull request #377 from zorun/master
zorun [Sat, 12 May 2018 23:09:00 +0000 (01:09 +0200)]
Merge pull request #377 from zorun/master

babeld: Update to 1.8.2

6 years agobabeld: Update to 1.8.2 377/head
Baptiste Jonglez [Sat, 12 May 2018 23:05:47 +0000 (01:05 +0200)]
babeld: Update to 1.8.2

This fixes a serious bug where IPv4 routes were not being redistributed.

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
6 years agoMerge pull request #372 from ldir-EDB0/dropminiupnpd
Jo-Philipp Wich [Sat, 5 May 2018 17:40:44 +0000 (19:40 +0200)]
Merge pull request #372 from ldir-EDB0/dropminiupnpd

miniupnpd: drop from repo

6 years agoMerge pull request #374 from dedeckeh/pr_nat46_hash
Jo-Philipp Wich [Thu, 3 May 2018 08:59:23 +0000 (10:59 +0200)]
Merge pull request #374 from dedeckeh/pr_nat46_hash

nat46: fixup PKG_MIRROR_HASH

6 years agonat46: fixup PKG_MIRROR_HASH 374/head
Hans Dedecker [Thu, 3 May 2018 08:29:37 +0000 (10:29 +0200)]
nat46: fixup PKG_MIRROR_HASH

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
6 years agonodogsplash2: Add NDS Restart Hook for Firewall (#369)
Rob White [Wed, 2 May 2018 18:42:19 +0000 (19:42 +0100)]
nodogsplash2: Add NDS Restart Hook for Firewall (#369)

NodogSplash iptables entries are overwritten if the OpenWrt Firewall is restarted.
This change adds a restart hook to firewall.user to restart NoDogSplash if firewall is restarted.
Author-name: Rob White
Signed-off-by: Rob White rob@blue-wave.net
6 years agoMerge pull request #355 from neheb/patch-1
Moritz Warning [Wed, 2 May 2018 14:58:46 +0000 (16:58 +0200)]
Merge pull request #355 from neheb/patch-1

smcroute: Change download to HTTP

6 years agoMerge pull request #361 from akru/cjdns-build-fixes
Moritz Warning [Wed, 2 May 2018 14:51:59 +0000 (16:51 +0200)]
Merge pull request #361 from akru/cjdns-build-fixes

cjdns: v20.1 -> v20.2

6 years agoMerge pull request #367 from ecsv/batadv-2018.1
Moritz Warning [Wed, 2 May 2018 14:50:57 +0000 (16:50 +0200)]
Merge pull request #367 from ecsv/batadv-2018.1

batman-adv 2018.1

6 years agoMerge pull request #354 from adrianschmutzler/fe80master
Moritz Warning [Wed, 2 May 2018 14:49:32 +0000 (16:49 +0200)]
Merge pull request #354 from adrianschmutzler/fe80master

alfred: Support interface IDs with more than two digits

6 years agocjdns: 20.1 -> 20.2 361/head
Alexander Krupenkin [Wed, 2 May 2018 14:33:13 +0000 (17:33 +0300)]
cjdns: 20.1 -> 20.2

6 years agoMerge pull request #368 from gabri94/master
Saverio Proto [Wed, 2 May 2018 09:01:44 +0000 (11:01 +0200)]
Merge pull request #368 from gabri94/master

prince: version bump to v0.4

6 years agoprince: version bump to v0.4 368/head
Gabriele Gemmi [Wed, 25 Apr 2018 00:16:07 +0000 (02:16 +0200)]
prince: version bump to v0.4

Signed-off-by: Gabriele Gemmi <gabriel@autistici.org>
6 years agominiupnpd: drop from repo 372/head
Kevin Darbyshire-Bryant [Mon, 30 Apr 2018 10:20:14 +0000 (11:20 +0100)]
miniupnpd: drop from repo

As no maintainer take the opportunity to drop from this repo and put in
main openwrt/packages repo.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
6 years agominiupnpd: De-maintainering myself.
Markus Stenberg [Sun, 29 Apr 2018 18:28:47 +0000 (21:28 +0300)]
miniupnpd: De-maintainering myself.

I haven't used the package personally for last 3 years, so
de-maintainering myself as testing version updates is extra work I do
not need for stuff I do not use.

6 years agobmx7: bump version
Axel Neumann [Wed, 25 Apr 2018 21:10:20 +0000 (23:10 +0200)]
bmx7: bump version
  * Fix memory leaks 300522 and 300520 due to changed interface status and increased nlmsg size
  * Fix physical channel detection: https://github.com/bmx-routing/bmx7/issues/19
  * Enable DEBUG_MALLOC and CORE_LIMIT=20000 by default

6 years agobatman-adv: upgrade package to latest release 2018.1 367/head
Sven Eckelmann [Wed, 25 Apr 2018 19:18:35 +0000 (21:18 +0200)]
batman-adv: upgrade package to latest release 2018.1

* support latest kernels (3.2 - 4.17)
* coding style cleanups and refactoring
* add DAT cache and multicast flags netlink support
* avoid redundant multicast TT entries
* bugs squashed:

  - update data pointers after skb_cow()
  - fix header size check in batadv_dbg_arp()
  - fix skbuff rcsum on packet reroute
  - fix multicast-via-unicast transmission with AP isolation
  - fix packet loss for broadcasted DHCP packets to a server
  - fix multicast packet loss with a single WANT_ALL_IPV4/6 flag

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 years agobatctl: upgrade package to latest release 2018.1
Sven Eckelmann [Wed, 25 Apr 2018 19:18:00 +0000 (21:18 +0200)]
batctl: upgrade package to latest release 2018.1

* synchronization of batman-adv netlink and packet headers
* add DAT cache and multicast flags netlink support
* disable translation support for non-unicast mac addresses

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 years agoalfred: upgrade package to latest release 2018.1
Sven Eckelmann [Wed, 25 Apr 2018 19:17:08 +0000 (21:17 +0200)]
alfred: upgrade package to latest release 2018.1

* synchronization of batman-adv netlink header

Signed-off-by: Sven Eckelmann <sven@narfation.org>
6 years agoMerge pull request #364 from aparcar/bmx7-reload
axn [Wed, 25 Apr 2018 06:50:21 +0000 (08:50 +0200)]
Merge pull request #364 from aparcar/bmx7-reload

bmx7: use configReaload on service reload

6 years agobmx7: use configReaload on service reload 364/head
Paul Spooren [Tue, 24 Apr 2018 04:16:50 +0000 (13:16 +0900)]
bmx7: use configReaload on service reload

It's #363 for procdbmx7: use configReaload on service reload

Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
6 years agoMerge pull request #360 from dangowrt/bmx7_use_procd
axn [Mon, 16 Apr 2018 18:26:28 +0000 (20:26 +0200)]
Merge pull request #360 from dangowrt/bmx7_use_procd

bmx7: convert init script to use procd

6 years agoMerge pull request #362 from aparcar/patch-1
axn [Mon, 16 Apr 2018 18:26:08 +0000 (20:26 +0200)]
Merge pull request #362 from aparcar/patch-1

bmx7: keep bmx7 secret keys on sysupgrade

6 years agobmx7: keep bmx7 secret keys on sysupgrade 362/head
Paul Spooren [Sun, 15 Apr 2018 15:59:49 +0000 (00:59 +0900)]
bmx7: keep bmx7 secret keys on sysupgrade

Sysupgrade currently leads to a loss of the content of /etc/bmx7 which
contains the secret keys.  After the reboot the device creates new IPs
leading to a new "identity" aka ID, shortID and IPv6 changes.

6 years agocjdns: build fixes
Alexander Krupenkin [Fri, 13 Apr 2018 09:17:51 +0000 (12:17 +0300)]
cjdns: build fixes

6 years agobabeld: release 1.8.1
Gabriel Kerneis [Tue, 10 Apr 2018 15:49:18 +0000 (17:49 +0200)]
babeld: release 1.8.1

6 years agoalfred: Support interface IDs with more than two digits 354/head
Adrian Schmutzler [Mon, 19 Mar 2018 13:16:54 +0000 (14:16 +0100)]
alfred: Support interface IDs with more than two digits

Occationally /proc/net/if_inet6 contains interface IDs with
three digits. In this case, the regex in wait_for_ll_address()
does not work anymore and alfred is not starting.

This patch changes the evaluation so that fields are used instead
of the mere position by counting characters.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
6 years agobmx7: convert init script to use procd 360/head
Daniel Golle [Thu, 8 Mar 2018 16:13:42 +0000 (17:13 +0100)]
bmx7: convert init script to use procd

Using procd allows better control and monitoring of the bmx7 process.
Keep polling for mac80211.sh process for now until we find a better
way to make sure that wireless configuration has been generated before
starting bmx7.
Setting maximum core size to 20000 looks dangerous on small devices,
but keep it as it was before, we shall discuss this separately.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
6 years agoMerge pull request #359 from bluewavenet/patch-4
Moritz Warning [Thu, 5 Apr 2018 10:22:34 +0000 (12:22 +0200)]
Merge pull request #359 from bluewavenet/patch-4

 nodogsplash2: Add compatibility with mwan3 v2

6 years ago nodogsplash2: Add compatibility with mwan3 v2 359/head
Rob White [Wed, 4 Apr 2018 21:44:19 +0000 (22:44 +0100)]
 nodogsplash2: Add compatibility with mwan3 v2

nodogsplash2: Add compatibility with mwan3 version 2
Changes in mwan3 version 2 resulted in previous recommended fix for Nodogsplash to fail.
Setting fw_mark to use bits set "higher" than used in mwan3 solves the problem. This works also for all previous versions of Nodogsplash.
Author-name: Rob White
Signed-off-by: Rob White <rob@blue-wave.net>
6 years agosmcroute: Change download to HTTP 355/head
Rosen Penev [Mon, 26 Mar 2018 02:42:44 +0000 (19:42 -0700)]
smcroute: Change download to HTTP

FTP is a lot more unreliable than HTTP(S). uscan was recently having trouble.

Signed-off-by: Rosen Penev <rosenp@gmail.com
6 years agobmx7: bump version
Axel Neumann [Fri, 9 Mar 2018 16:03:00 +0000 (17:03 +0100)]
bmx7: bump version

    * use Linux' sysfs to extract the lower-interface of virtual interfaces