feed/routing.git
6 years agoMerge pull request #402 from crza/fix-ndppd
Moritz Warning [Thu, 16 Aug 2018 14:39:09 +0000 (16:39 +0200)]
Merge pull request #402 from crza/fix-ndppd

ndppd: fix compile error with musl

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

bmx7: avoid list.h namespace collision

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

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

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

nodogsplash2: update to 3.0 and merge packages

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

Nodogplash 3.0.0 was released and makes the nodogsplash2 package unnecessary.

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

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

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

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

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

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

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

nodogsplash2: remove reference to dead code

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

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

nodogsplash2: cleanup

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

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

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

alfred: Fix alfred.init

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

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

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

alfred: use procd fix #388

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

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

batman-adv 2018.2

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

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

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

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

* (no changes)

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

* (no changes)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

bird2: Disable libssh support

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

pimbd: Fix gcc 7.3 compilation error

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

ndppd: bump to 0.2.5

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

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

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

bmx7: add config trigger

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

Allow compilation with gcc 7.3.0.

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

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

this should automatically reload bmx7 if the config files is changed

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

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

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

Explicitly disable libssh support
Fixes build failure on buildbots

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

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
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 #379 from ecsv/batadv-2018.1
Simon Wunderlich [Mon, 4 Jun 2018 12:12:48 +0000 (14:12 +0200)]
Merge pull request #379 from ecsv/batadv-2018.1

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

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 agoMerge pull request #378 from tohojo/bird-2.0
Moritz Warning [Thu, 17 May 2018 13:42:56 +0000 (15:42 +0200)]
Merge pull request #378 from tohojo/bird-2.0

Add a package for Bird 2.0

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

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

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
6 years agobird: Rename to bird1 and bump to v1.6.4
Toke Høiland-Jørgensen [Wed, 16 May 2018 10:24:00 +0000 (12:24 +0200)]
bird: Rename to bird1 and bump to v1.6.4

This renames the bird and bird-openwrt packages to bird1, to make it
possible for bird2 (added in a subsequent commit) to coexist with it.

The packages are renamed to bird1-ipv{4,6} to avoid the confusion of
having packages named 'bird2', 'bird4' and 'bird6'.

Also bump to v1.6.4 as that contains important bug fixes.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
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

6 years 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)

6 years 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

6 years 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

6 years 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

6 years 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>
6 years 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>
6 years 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>
6 years 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>
6 years 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>
6 years 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

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

6 years 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

6 years 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

6 years 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>
6 years 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

6 years 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>
6 years 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

6 years 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>
6 years 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>
6 years 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

6 years 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>
6 years 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