aiyion.prime
3c206e85be
fixup! fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-15 11:17:06 +02:00
aiyion.prime
98efb82ec0
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-15 09:12:00 +02:00
aiyion.prime
d513d001f4
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-15 09:11:51 +02:00
aiyion.prime
1acc783a09
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-15 09:11:24 +02:00
aiyion.prime
6aa7d85c12
fixup! gluon-web-admin: use util.popen3 in remote.lua
2021-07-15 08:57:56 +02:00
aiyion.prime
77bf2f9cbf
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-13 12:43:42 +02:00
aiyion.prime
a125242f4c
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-13 09:15:58 +02:00
aiyion.prime
47f835e254
fixup! gluon-web-admin: use util.popen3 in remote.lua
2021-07-13 09:03:47 +02:00
aiyion.prime
b5655410e5
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-13 09:01:09 +02:00
J. Burfeind
f68a2eb478
Update package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua
...
Co-authored-by: Matthias Schiffer <mschiffer@universe-factory.net>
2021-07-13 08:58:51 +02:00
aiyion.prime
1d7fc2dd43
fixup! gluon-web-admin: use util.popen3 in remote.lua
2021-07-11 23:45:00 +02:00
aiyion.prime
436b06d910
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-11 22:39:36 +02:00
aiyion.prime
e9e42fa261
fixup! gluon-web-admin: use util.popen3 in remote.lua
2021-07-11 22:20:43 +02:00
aiyion.prime
a66e8b815d
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-11 22:17:26 +02:00
aiyion.prime
63d4409316
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-11 18:08:11 +02:00
aiyion.prime
939720deb9
fixup! gluon-web-admin: use util.popen3 in remote.lua
2021-07-09 10:40:35 +02:00
aiyion.prime
2502b2c6c0
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-06 17:31:02 +02:00
aiyion.prime
50ef57f7f5
fixup! gluon-web-admin: use util.popen3 in remote.lua
2021-07-06 12:26:55 +02:00
aiyion.prime
0b3f0e9b4e
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-06 12:22:25 +02:00
aiyion.prime
c1df15690b
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-06 11:42:27 +02:00
aiyion.prime
e2ec7f6e5c
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-06 11:37:53 +02:00
aiyion.prime
ba2886e487
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-06 11:24:05 +02:00
aiyion.prime
12d2f3a252
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-06 11:07:51 +02:00
aiyion.prime
fd6c77d134
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-06 10:55:38 +02:00
aiyion.prime
daa95f1ac7
fixup! gluon-core: implement popen3() in gluon/util.lua
2021-07-06 10:52:21 +02:00
aiyion.prime
588d77ddd8
gluon-web-admin: use util.popen3 in remote.lua
2021-06-28 10:04:27 +02:00
aiyion.prime
95a9188607
gluon-core: implement popen3() in gluon/util.lua
2021-06-28 10:04:24 +02:00
Matthias Schiffer
7e45878b4e
Merge pull request #2240 from blocktrron/pr-gluon-mesh-vpn-respondd-fix
...
gluon-mesh-vpn-core: fix potential null pointer dereferences
2021-06-16 17:29:15 +02:00
David Bauer
344f8a47db
gluon-mesh-vpn-core: fix two more missing NULL checks
...
read_stdout can return NULL and thus the return value need to be checked
prior to accessing it.
Signed-off-by: David Bauer <mail@david-bauer.net>
2021-06-16 10:31:49 +02:00
Matthias Schiffer
f7e473edfa
gluon-mesh-vpn-tunneldigger: fix Lua mesh-vpn provider module location
2021-06-15 16:32:37 +02:00
David Bauer
7e1e9fe2bd
gluon-mesh-vpn-core: avoid reading null pointer
...
In case the limit_ingress or limit_egress options are not present in
gluon's mesh_vpn section the respondd provider compares a string literal
with a NULL pointer, crashing respondd.
Check both pointers prior to comparing them in order to mitigate this
issue.
Suggested-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: David Bauer <mail@david-bauer.net>
2021-06-14 11:08:38 +02:00
Matthias Schiffer
8a422ac0cb
treewide: use lua-jsonc instead of lua-cjson for JSON handling during build
2021-06-12 23:30:47 +02:00
Martin Weinelt
c97be1e18a
Merge pull request #2209 from T-X/pr-batman-adv-noflood+mcast-fw-relax
2021-06-08 01:40:12 +02:00
aiyion.prime
b973c8f133
gluon-status-page: show bandwidth limits
2021-06-07 21:21:42 +02:00
aiyion.prime
c71959df68
gluon-mesh-vpn-core: add simple-tc respondd-provider
...
omit unlimited bandwidth limit
A value of '-' marks a streamdirection as unlimited.
2021-06-07 11:27:12 +02:00
aiyion.prime
b53997836f
gluon-status-page: show vpn protocol
2021-06-05 21:39:34 +02:00
aiyion.prime
b0b80a32b7
gluon-mesh-vpn-core: add vpn protocol respondd provider
2021-06-04 18:41:10 +02:00
David Bauer
98a1c196ed
mesh-vpn: fully abstract VPN methods
...
This fully abstracts VPN methods, making gluon-mesh-vpn-fastd and
gluon-mesh-vpn-tunneldigger completely self-contained.
Provide a LUA interface for generic interacting with VPN methods in
gluon-mesh-vpn-core and web packages.
This also adds the ability to install tunneldigger and fastd to the same
image, selecting the VPN method based on the selected domain.
Signed-off-by: David Bauer <mail@david-bauer.net>
2021-05-22 06:54:23 +02:00
David Bauer
436b29d767
gluon-config-mode-core: add missing uci save
...
A missing uci save for gluon-setup-mode caused the initial setup-process
to be stuck in a config-mode loop.
2021-05-18 19:16:18 +02:00
Matthias Schiffer
42335a07c9
gluon-config-mode-core: unconditionally run gluon-reconfigure
...
Simplify the individual form providers by always running reconfigure. This
also commits all UCI packages, so we can remove all tracking of UCI
sections from the wizard code.
Instead of returning a list of packages to commit, the providers just
save their settings directly. Explicit runs of upgrade scripts are
removed, as they are now run by reconfigure.
2021-05-15 00:03:02 +02:00
Matthias Schiffer
16fab561db
gluon-config-mode-mesh-vpn: override Section:write() instead of Section:handle()
2021-05-15 00:03:02 +02:00
Matthias Schiffer
df9fa32d58
gluon-web-model: add state tracking to sections
...
This add support for a write() method on sections, in addition to the
value and form level write(). write() is only called when the section is
valid and visible. In addition, write() is empty by default, so it can be
overridden more easily.
2021-05-15 00:02:44 +02:00
Martin Weinelt
0ac3061225
Merge pull request #2214 from AiyionPrime/status_page_mesh_protocol
2021-05-09 16:53:49 +02:00
aiyion.prime
5c12b037d7
libgluonutil: free getline
...
Co-Authored-By: lemoer <git@irrelefant.net>
2021-05-08 20:35:24 +02:00
David Bauer
1c38906eef
Merge pull request #2163 from lemoer/pr_vpn_as_gluon_wired
...
Generalize proto "gluon_wired.sh"
2021-05-07 00:10:27 +02:00
aiyion.prime
a683486514
fixup! gluon-status-page: add mesh protocol to status-page
2021-05-06 19:03:06 +02:00
aiyion.prime
77a6b9a947
gluon-status-page: add mesh protocol to status-page
2021-05-06 16:37:32 +02:00
lemoer
bbecd44be1
gluon-core: extend gluon_wired proto for l3 devices
...
This is a preparation to use the gluon_wired.sh proto on top of
layer 3 tunnel interfaces.
2021-05-06 00:43:01 +02:00
lemoer
c14b4c0b4b
gluon-core: add vxlan option to gluon_wired proto
...
Before this commit the decision whether a vxlan layer will be
introduced between the lower interface before the interface is
added to batman was inside the proto. Now the decision is moved
to the user of the proto.
2021-05-06 00:43:01 +02:00
David Bauer
9e09d08cf6
Merge pull request #2177 from blocktrron/pr-wan-radio-ifname
...
gluon-web-private-wifi: define ifname for WAN radio
2021-05-03 17:39:31 +02:00