feed/routing.git
7 weeks agoMerge pull request #462 from ecsv/batadv-18.06 openwrt-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

7 weeks 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>
2 months 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>
2 months 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

2 months 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>
2 months 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>
3 months 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>
4 months 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

4 months 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 months 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 months 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 months 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>
7 months 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

7 months 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>
7 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>
7 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>
7 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>
7 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>
7 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.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>
7 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>
7 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>
7 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>
7 months 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>
7 months 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

7 months 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>
8 months 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

8 months 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

8 months 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>
8 months 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
8 months 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)

8 months 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>
8 months 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

8 months 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>
8 months 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>
9 months 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

9 months 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>
9 months 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>
11 months 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

11 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>
11 months 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

11 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>
12 months 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>
12 months 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

12 months 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>
12 months 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

12 months 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

12 months 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>
12 months 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
12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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

12 months 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>
12 months 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>
12 months 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.

12 months 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

12 months 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>
12 months 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>
12 months 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>
12 months 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

12 months 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>
13 months 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

13 months 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

13 months 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.

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

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

13 months 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>
13 months 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>
13 months 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

13 months 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>
13 months 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
14 months 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

14 months agobmx7: bump version
Axel Neumann [Sun, 4 Mar 2018 21:12:34 +0000 (22:12 +0100)]
bmx7: bump version
 * Sort links by name
 * Allow configuring invalid --pathLq1Threshold (due to configReload problem) and fix it in description
 * Introduce --linkThroughputEfficiency=0 (70) and cleanup metric algos
 * Update expectedThroughput only if estimation exists
 * Calculate and use average expected throughput instead of fluctuating current value
 * Rename wireless expected throughput variables
 * Align ordering of link_status struct and field_format
 * Fix: Interpret expected TP as Kbps
 * Fix txRateExpected typos
 * Add expected throughput as reported by minstrel(_ht)

14 months agoMerge pull request #348 from akru/cjdns-v20.1
Moritz Warning [Sat, 3 Mar 2018 23:15:26 +0000 (00:15 +0100)]
Merge pull request #348 from akru/cjdns-v20.1

cjdns: v20 -> v20.1

14 months agoMerge pull request #349 from ecsv/batadv-2018.0
Moritz Warning [Sat, 3 Mar 2018 23:12:39 +0000 (00:12 +0100)]
Merge pull request #349 from ecsv/batadv-2018.0

batman-adv 2018.0

14 months agoMerge pull request #352 from dangowrt/bmx-add-PKG_MIRROR_HASH
axn [Sat, 3 Mar 2018 13:14:43 +0000 (14:14 +0100)]
Merge pull request #352 from dangowrt/bmx-add-PKG_MIRROR_HASH

bmx6/7: add pkg mirror hash

14 months agobmx7: add PKG_MIRROR_HASH 352/head
Daniel Golle [Thu, 1 Mar 2018 22:04:38 +0000 (23:04 +0100)]
bmx7: add PKG_MIRROR_HASH

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
14 months agobmx6: add PKG_MIRROR_HASH
Daniel Golle [Fri, 16 Feb 2018 02:01:11 +0000 (03:01 +0100)]
bmx6: add PKG_MIRROR_HASH

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
14 months agoalfred: upgrade package to latest release 2018.0 349/head
Sven Eckelmann [Tue, 27 Feb 2018 13:00:29 +0000 (14:00 +0100)]
alfred: upgrade package to latest release 2018.0

* synchronization of batman-adv netlink and packet headers
* mark licenses clearer, change batman-adv UAPI header from ISC to MIT
* coding style cleanups and refactoring

Signed-off-by: Sven Eckelmann <sven@narfation.org>
14 months agobatctl: upgrade package to latest release 2018.0
Sven Eckelmann [Tue, 27 Feb 2018 12:59:55 +0000 (13:59 +0100)]
batctl: upgrade package to latest release 2018.0

* synchronization of batman-adv netlink and packet headers
* mark licenses clearer, change batman-adv UAPI header from ISC to MIT
* coding style cleanups and refactoring

Signed-off-by: Sven Eckelmann <sven@narfation.org>
14 months agobatman-adv: upgrade package to latest release 2018.0
Sven Eckelmann [Tue, 27 Feb 2018 12:59:03 +0000 (13:59 +0100)]
batman-adv: upgrade package to latest release 2018.0

* support latest kernels (3.2 - 4.16)
* coding style cleanups and refactoring
* mark licenses clearer, change UAPI header from ISC to MIT
* bugs squashed:

  - fix packet checksum handling in receive path
  - fix handling of large number of interfaces
  - fix netlink dumping of gateways and BLA claims+backbones

Signed-off-by: Sven Eckelmann <sven@narfation.org>
15 months agobmx7: bump version to 58b3823262512a48f5174e6778b2368c55bd05d9
Axel Neumann [Sun, 18 Feb 2018 21:47:57 +0000 (22:47 +0100)]
bmx7: bump version to 58b3823262512a48f5174e6778b2368c55bd05d9

 * crypt: Fix broken MBEDTLS_THREADING_C support due to missing rsa_init()
 * Common.mk: remove unneeded linker dependency -lmbedtls
 * bmx ip link prof: fix several potential sprintf() buffer overwrites

15 months agocjdns: v20 -> v20.1 348/head
Alexander Krupenkin [Sun, 18 Feb 2018 10:44:02 +0000 (13:44 +0300)]
cjdns: v20 -> v20.1

15 months agobmx7: bump version
Axel Neumann [Wed, 7 Feb 2018 20:43:00 +0000 (21:43 +0100)]
bmx7: bump version

 * bmx desc json node: muting sys-level debug messages
 * Fix json-descriptions files
 * json: dump json originators file with relevance 2, do not remove descriptions due to deleted routes
 * json: change default json files update interval to a minute
 * bmx: fixing origs/keys_status_creator() with given key_node data
 * json: fixing /var/run/originators/... and cleanup
 * json: set json jshow default relevance to 1 (medium)
 * Cleanup and simplify status memory usage report
 * tun: --tunOutDelay=100 delay catched and rescheduled tunnel packets for us  to complete proper dedicated tunnel setup

15 months agobmx6: bump to latest upstream version
Axel Neumann [Fri, 9 Feb 2018 13:47:02 +0000 (14:47 +0100)]
bmx6: bump to latest upstream version
 * mute warning for unknown description-frame types
 * introduce --tunCatchDelay=100 to delay catched and rescheduled tunnel packets for us  to complete proper dedicated tunnel setup
 * Revert "hna: Use real or zero remote tunnel addresses"
   Which does not work with current openwrt/lede kernels
   due to their patched ip6_tunnel.c code for supporting MAP-E-FMRs.
 * Fix linker problem when compiling topology plugin with -DPROFILING

16 months agobird: fix build dependencies
Jo-Philipp Wich [Tue, 16 Jan 2018 15:30:36 +0000 (16:30 +0100)]
bird: fix build dependencies

The PKG_BUILD_DEPENDS variable must refer to source packages instead of
binary package names.

Fixes the following errors on current OpenWrt master:

Upon scripts/feeds install:

    WARNING: No feed for source package 'libncurses' found
    WARNING: No feed for source package 'libreadline' found

Upon metadata scanning and dependency resolution:

    WARNING: Makefile 'package/feeds/routing/bird/Makefile' has a build dependency on 'libncurses', which does not exist
    WARNING: Makefile 'package/feeds/routing/bird/Makefile' has a build dependency on 'libreadline', which does not exist

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
16 months agoMerge pull request #346 from dedeckeh/pr_nat46_xlat
Jo-Philipp Wich [Tue, 16 Jan 2018 14:46:29 +0000 (15:46 +0100)]
Merge pull request #346 from dedeckeh/pr_nat46_xlat

nat46: harden 464xlat teardown logic

16 months agonat46: harden 464xlat teardown logic 346/head
Hans Dedecker [Tue, 16 Jan 2018 09:29:20 +0000 (10:29 +0100)]
nat46: harden 464xlat teardown logic

Quit the teardown function in case the file 464-$cfg-anycast is not
present as it means no clean up of ip rules is required.
It fixes error traces like "cat: can't open '/tmp/464-wan6_4-anycast':
No such file or directory" and "Error: inet6 prefix is expected rather
than "lookup"."
At the same time remove the unused variable anycast_active.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
16 months agobmx6: fix gcc6&7 warnings, avoid json-c patch
Axel Neumann [Sat, 13 Jan 2018 12:50:26 +0000 (13:50 +0100)]
bmx6: fix gcc6&7 warnings, avoid json-c patch

16 months agonodogsplash2: update to version 2.0.1 (#344)
Moritz Warning [Mon, 8 Jan 2018 22:34:18 +0000 (23:34 +0100)]
nodogsplash2: update to version 2.0.1 (#344)

Signed-off-by: Moritz Warning <moritzwarning@web.de>
16 months agonodogsplash2: Fix Startup Failure (#343)
bluewavenet [Mon, 8 Jan 2018 22:33:14 +0000 (22:33 +0000)]
nodogsplash2: Fix Startup Failure (#343)

nodogsplash2: fix startup failure

The underlying network_get_device() used for option network is not reliable. Use option gatewayinterface for now.

Signed-off-by: Rob White <rob@blue-wave.net>
16 months agoMerge pull request #337 from ecsv/batadv-2017.4
Moritz Warning [Sat, 6 Jan 2018 21:37:25 +0000 (22:37 +0100)]
Merge pull request #337 from ecsv/batadv-2017.4

batman-adv: Fix missing function name for timer_setup in compat-hacks

16 months agomcproxy: update to latest version (#339)
Álvaro Fernández Rojas [Sat, 6 Jan 2018 21:34:31 +0000 (22:34 +0100)]
mcproxy: update to latest version (#339)

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
16 months agobmx7_json: Fix broken include of json.h
Axel Neumann [Sat, 6 Jan 2018 19:52:44 +0000 (20:52 +0100)]
bmx7_json: Fix broken include of json.h

16 months agonodogsplash2: change configuration defaults (#341)
bluewavenet [Thu, 4 Jan 2018 19:42:07 +0000 (19:42 +0000)]
nodogsplash2: change configuration defaults (#341)

nodogsplash2: change configuration defaults

Changes:
* set default to NoDogsplash enabled as rest of config should now be safe and is possible to SSH to router to stop NDS if needed
* change clientidletimeout to 120 minutes (2 hours)
* add clientforcetimeout set to 1440 minutes (24 hours)
* comment out the two provided example authenticated_users block lines
* add list authenticated_users 'allow all'
* comment original list authenticated_users allow... entries and leave them as examples
* set preauth default to no use remote DNS. All devices used at a public wifi venues should be configured for DHCP. To force the use of the local DNS server makes DNS tunnelling very inefficient if not unusable on a typical OpenWrt device.
* set fw_mark settings for compatibility with other OpenWrt packages

16 months agobmx: Use repos from https://github.com/bmx-routing and remove bmx7 json-c patch
Axel Neumann [Tue, 2 Jan 2018 17:06:23 +0000 (18:06 +0100)]
bmx: Use repos from https://github.com/bmx-routing and remove bmx7 json-c patch

16 months agonodogsplash2: set the default webroot explicitly
Moritz Warning [Thu, 28 Dec 2017 12:16:26 +0000 (13:16 +0100)]
nodogsplash2: set the default webroot explicitly

16 months agobatman-adv: Fix missing function name for timer_setup 337/head
Sven Eckelmann [Tue, 26 Dec 2017 10:52:22 +0000 (11:52 +0100)]
batman-adv: Fix missing function name for timer_setup

Signed-off-by: Sven Eckelmann <sven@narfation.org>