Jan-Tarek Butt
d68ca9e900
luasrc/usr/lib/lua/hoodselector/util.lua: check_site.lua simplify checksite script and fix if logic
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-05-26 19:47:04 +02:00
Jan-Tarek Butt
fd65fa20ce
package/gluon-hoodselector: fix if equal syntax
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-05-26 19:45:58 +02:00
Jan-Tarek Butt
3d3a6e8501
package/gluon-hoodselector: use : for gluon_version Val
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-05-26 19:45:22 +02:00
Jan-Tarek Butt
679561c7a4
package/gluon-hoodselector: check_site.lua reduce complexity
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-24 00:18:35 +02:00
Jan-Tarek Butt
5e1ec83f57
package/gluon-hoodselector: Makefile rewrite description update depends list
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 20:07:06 +02:00
Jan-Tarek Butt
e5de188d0e
package/gluon-hoodselector: util.lua use math-polygon lib and rm restart_services function. Rectengles will be converted into polygons now
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 20:05:50 +02:00
Jan-Tarek Butt
6984043cf3
package/gluon-hoodselector: hoodselector use gluon-reload for daemon restarts/reloads
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 20:02:27 +02:00
lrnzo
8d17f1583e
Update util.lua
...
now polygons with holes are recognized correctly. also a mix of nested polygons and boxes should be possible as shapes[]
2019-04-23 18:55:26 +02:00
Jan-Tarek Butt
a34617ca25
gluon-hoodselector util.lua: replace i iterator with _
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 18:55:26 +02:00
lrnzo
faf0dd6aa3
Update util.lua
...
processes are really restarted now. new (old) problem: nodes will not forget their former ipv6-addresses. watchdog could here with that.
2019-04-23 18:55:26 +02:00
lrnzo
6f90fd7f3d
small typo fixes
2019-04-23 18:55:26 +02:00
lrnzo
84a37646c1
small typo fixes
2019-04-23 18:55:26 +02:00
Jan-Tarek Butt
f977dc9c62
package/gluon-hoodselector util: fix wrong function signature
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 18:55:26 +02:00
Jan-Tarek Butt
7b241f68d2
package/gluon-hoodselector: rm duplicated print output
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 18:55:26 +02:00
Jan-Tarek Butt
d5ab39189b
gluon-hoodselector: drop VPN mode and rename hood to domain. Furthermore implement geolocator mode as neorayder way
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 18:55:26 +02:00
Jan-Tarek Butt
7f24875a26
gluon-hoodselector: check_site.lua: replace hood with domain
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 18:55:26 +02:00
Jan-Tarek Butt
1a8e41150b
gluon-hoodselector: hoodselector, use taps instead of spaces.
...
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-23 18:55:26 +02:00
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
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
Jan-Tarek Butt
f0d0edde57
gluon-hoodselector: automatically set SECTION and CATEGORY for Gluon packages
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
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
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
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
bobcanthelpyou
149b55526f
gluon.mk: fix reference to LuaSrcDiet binary
2019-04-14 11:21:31 +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