Commit Graph

3013 Commits

Author SHA1 Message Date
Jan-Tarek Butt
4554e23b37 gluon-hoodselector: util.lua, use taps instead of spaces. Use posix.unistd.access instead of io.open
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
45b8a190dd docs: gluon-hoodselector.rst, chnage 'VPN-mode' to VPN mode and 'trigon polygon' to triangle
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
8e99dea0dc package/gluon-hoodselector: hoodselector code cleanup and refactoring 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
b03e039116 package/gluon-hoodselector: util.lua code cleanup and refactoring 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
f750853741 package/gluon-hoodselector: check_site.lua rm domain seed check thus its already checked by gluon-core 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
436bc8f5b0 gluon-hoodselector: remove outdated comments 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
898ceff9a8 gluon-hoodselector: apply changes of mesh vpn lib 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
12f6387ad0 gluon-hoodselector: Makefile add gluon-mesh-vpn-core as dependency 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
459d1e03b4 gluon-hoodselector: use VPN abstraction layer. the hoodselectore does
not need to know about all individual VPN protocols.
2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
e40f8de09b sbin/hoodselector: load hoods only if necessary 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
6e75a35c97 sbin/hoodselector: remove nixio requiemend 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
12eae15f20 add luaposix and luabitop to pakage dependency 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
d57f5f3219 Revert "gluon-hoodselector-add-VPN-MODE: check running hoodselector before loading lua"
This reverts commit 535b0a1b2fb73e563bf6a44b568a796440bd307f.
2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
168beae793 gluon-hoodselector-add-VPN-MODE: remove nixio dependency from hoodselector util 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
502405b62a gluon-hoodselector-add-VPN-MODE: check running hoodselector before loading lua 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
d16a9066e5 gluon-hoodselector-add-VPN-MODE: add micrond & libjson-c dependency 2019-04-23 18:55:25 +02:00
Andreas Ziegler
b84cfca245 gluon-hoodselector: docs: fix spelling/grammar 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
f0d0edde57 gluon-hoodselector: automatically set SECTION and CATEGORY for Gluon packages 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
a5e74416d1 gluon-hoodselector docs: replace 'Router have' with 'Router has' 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
9922f6c8d7 gluon-hoodselector docs: add package documentation
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 18:55:25 +02:00
Andreas Ziegler
843691e04c gluon-hoodselector: fix spelling/grammar 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
64b64cb415 gluon-hoodselector: fix language syntax and use autoupdate lock mechanism. 2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
3190011e27 gluon-hoodselector: fix language syntax in util.lua
realaise -> realised
2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
c67f380cc8 gluon-hoodselector: fix language syntax in hoodselector
can not -> can't
routers -> router's
continure -> continue
to next -> to the next
TMP -> temporary
for current -> for the current
continure -> continue
with next -> with the next
thier -> there
provides -> provide
possition -> position
therfore -> therefore
2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
064e77d4d8 check_site.lua: fix language syntax
muss -> must
rage -> range
at lease -> at least
coordiantes -> coordinates
realaise -> realised
2019-04-23 18:55:25 +02:00
Jan-Tarek Butt
7f42ea3a72 add gluon-hoodselector: Integrate VPN Mode
This MR includs only the VPN MODE of the hoodselector whitch simply set
hoods base on their geopositions.

Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 18:55:25 +02:00
Tata
e81d1a390f Add mechanism to reload domain related services (#1710) 2019-04-23 17:34:49 +02:00
Petr Štetiar
9dc1ac7f58
build: replace hardcoded paths with overridable variables
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-04-22 22:00:45 +02:00
Matthias Schiffer
1c1ccc3c2f
modules: update Gluon packages
ac0f8ac4b588 batman-adv-legacy: update to latest git

Fixes build for targets using kernel 4.9.
2019-04-22 00:17:27 +02:00
Matthias Schiffer
6412177a45
Refresh openwrt patches 2019-04-21 19:39:27 +02:00
Matthias Schiffer
59a44274cb
gluon-respondd: do not join link-local multicast group on br-client
Fixes #1701
2019-04-21 19:31:32 +02:00
Matthias Schiffer
befc439a61
modules: update Gluon packages
cf3e8d1a080f respondd: exit on unknown command line parameters
0f57108e3d65 respondd: make all internal functions static
593b2c626690 respondd: fix incorrect use of strncpy
31eb441db163 respondd: make delays specific for group and interface
2d89e972d9dd respondd: fix inet_pton() error message
a906d2447fbd respondd: miniz: fix -Wmisleading-indentation warning
42da0795e2dd batman-adv-legacy: update package version number
3dd552288959 batman-adv-legacy: restore Build/Prepare step
df0dd9cd6b49 batman-adv-legacy: update to latest git
2019-04-21 19:30:44 +02:00
Matthias Schiffer
a5614a5019
gluon-neighbour-info: fix outgoing interface for non-link-local multicast addresses 2019-04-21 19:19:02 +02:00
Matthias Schiffer
e9e1e2d18a
gluon-neighbour-info: exit on unknown parameters 2019-04-21 19:19:02 +02:00
Matthias Schiffer
7dec8ebf87
gluon-neighbour-info: fix mixed tab/space indentation 2019-04-21 19:19:02 +02:00
Matthias Schiffer
fc5f93604e
gluon-neighbour-info: fix inet_pton() error message
inet_pton() doesn't set errno on regular parse errors, so using perror()
doesn't make sense (and we avoid a confusing "Success" message).
2019-04-21 19:19:02 +02:00
bobcanthelpyou
aeebcf272c docs: add GLUON_DEBUG 2019-04-21 16:05:57 +02:00
Tata
12b87b2441 ipq40xx: add jalapeno from 8devices (#1706)
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-19 15:15:00 +02:00
Matthias Schiffer
134a6460a7
build: move hostapd-mini package from generic target to Makefile
By passing the package name through merge_packages, it becomes possible to
override the package choice in GLUON_SITE_PACKAGES again, for example:

	GLUON_SITE_PACKAGES += -hostapd-mini hostapd
2019-04-19 13:53:09 +02:00
Linus Lüssing
8e04679be6 gluon-mesh-batman-adv: add batctl dependency to gluon-mesh-batman-adv-14
The batctl v2013.4 build was removed from the batman-adv-legacy package
as the current, upstream batctl releases work with batman-adv-legacy,
too.

As a replacement we need to add the upstream batctl dependency to
gluon-mesh-batman-adv-14 to have a batctl available again here.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2019-04-16 12:03:20 +02:00
Linus Lüssing
a2bbc125b3 batctl: remove kmod-batman-adv dependency
This always pulls in the batman-adv compat 15 kernel module. However,
batctl works just as well with batman-adv-legacy (compat 14).

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2019-04-16 12:03:20 +02:00
Linus Lüssing
01fd25de42 modules: update Gluon packages
972e67f batman-adv-legacy: remove batctl v2013.4 (#213)
524ae77 tunneldigger: update to newest upstream commit (#216)
2019-04-16 12:03:20 +02:00
bobcanthelpyou
149b55526f gluon.mk: fix reference to LuaSrcDiet binary 2019-04-14 11:21:31 +02:00
bobcanthelpyou
2ce07ae2fe ar71xx: add support for TP-Link TL-WR840N v2 (#1697) 2019-04-12 01:32:11 +02:00
bobcanthelpyou
2c4f022994 build: rename DEVICES to GLUON_DEVICES (#1686) 2019-04-12 01:05:04 +02:00
bobcanthelpyou
078184a59c docs: add notice for opkg repo change (#1693) 2019-04-11 08:54:52 +02:00
Tata
d4c066a0f8 gluon-config-mode-mesh-vpn: 0300-mesh-vpn.lua fix limit_ingress default value (#1682)
in case of default disabled simple-tc for tunneldigger

Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-11 08:50:48 +02:00
Sven Eckelmann
e13a614420 gluon-status-page-mesh-batman-adv: Save if metrics chose neighbor as own best nexthop
The commit a080049735 ("gluon-status-page-mesh-batman-adv: Retrieve TQ of
neighbors with non-best direct link") removed the check whether a neighbor
has the BATADV_ATTR_FLAG_BEST set. But consumers may still want to filter
out or mark neighbors which don't have this flag set. To assist with such a
feature, enhance the neighbor object with an extra boolean "best" attribute
which stores whether the BATADV_ATTR_FLAG_BEST was found or not.

Reported-by: Vincent Wiemann <webmaster@codefetch.de>
2019-04-09 01:31:51 +02:00
Sven Eckelmann
cef21e584a gluon-mesh-batman-adv: Save if metrics chose neighbor as own best nexthop
The commit ee63ed42fe ("gluon-mesh-batman-adv: List neighbors with
non-best direct link") removed the check whether a neighbor has the
BATADV_ATTR_FLAG_BEST set. But consumers may still want to filter out or
mark neighbors which don't have this flag set. To assist with such a
feature, enhance the neighbor object with an extra boolean "best" attribute
which stores whether the BATADV_ATTR_FLAG_BEST was found or not.

Reported-by: Vincent Wiemann <webmaster@codefetch.de>
2019-04-09 01:31:51 +02:00
Sven Eckelmann
d0df47d943 gluon-status-page-mesh-batman-adv: Retrieve TQ of neighbors with non-best direct link
Links between two direct neighbors are not always the best route between
these devices. The flag BATADV_ATTR_FLAG_BEST would not be set for these
originator entries and the respondd module would just ignore this entry.

If these neighbors are not accepted and returned to the status page then
some of the neighbor entries will show a name, (acceptable) signal strength
and mac address but no TQ value.

Fixes: 28668c8c52 ("gluon-status-page: API")
2019-04-09 01:31:51 +02:00