Matthias Schiffer
4658afb2c6
gluon-core: commit all UCI configs at the end
...
Avoid commiting configs inbetween to decrease number of flash writes.
Fixes #714 .
2016-04-02 18:56:45 +02:00
Matthias Schiffer
19242f4deb
Remove all uses of batman-adv-visdata
...
Should be redundant after 0bd0df6f93
2016-02-08 20:58:28 +01:00
Matthias Schiffer
0005b3b5a2
autoupdater: stop non-essential services before downloading the image
2016-02-02 09:22:50 +01:00
Matthias Schiffer
9004028cb4
Convert gluon-announce Lua code to C modules, rename to gluon-respondd
...
gluon-announced and gluon-announce are merged to gluon-respondd.
2016-02-02 09:18:12 +01:00
Daniel Golle
4ce85afc22
gluon-status-page-api: support batadv-in-VLAN on ibss interface
...
introduce function to recurse down to the lowest layer-2 interface
corresponding to a given interface.
also re-introduce some of the previously removed input validation plus
some more to protect against glob and path based exploits.
2016-01-13 12:59:16 +01:00
Matthias Schiffer
939087cec9
gluon-status-page-api: neighbours-batadv: use batman-adv-visdata, increase interval
2015-12-18 17:46:24 +01:00
Matthias Schiffer
90a64ca87f
gluon-status-page-api: use sse-multiplex
2015-12-18 17:46:24 +01:00
Matthias Schiffer
077dbe3c08
gluon-status-page-api: decrease dyn/statistics event frequency
...
The statistics data is now cached for 5s, no need to send an event every
second. The new interval is 3s, which is coprime with the cache timeout.
2015-12-18 17:45:45 +01:00
Jan-Philipp Litza
bae6519279
gluon-alfred/gluon-status-page: Query gluon-announced
...
By not executing all scripts from gluon.announce themselves, both should
be considerably faster and lighter on RAM usage.
2015-10-15 01:49:20 +02:00
Jan-Philipp Litza
d2ff7d5c22
gluon-neighbour-info: Add -l and -c parameter, make event type for -s configurable
2015-10-15 01:49:20 +02:00
Nils Schneider
014f5751c8
gluon-status-page-api: increase uhttp.max_requests to 32
...
Now that the status page api has been rewritten in C CPU load and memory
usage is much lower. Also, nodes with both ibss and 11s mesh and dual
band wifi may require up to 9 connections for a single client, thus the
previous limit of 12 seemed a little low.
2015-09-05 12:11:35 +02:00
Nils Schneider
8be372a590
gluon-status-page-api: rewrite stations in C
2015-09-05 12:11:33 +02:00
Nils Schneider
4b8f6c9835
gluon-status-page-api: rewrite neighbours-batadv in C
2015-09-05 11:47:44 +02:00
Nils Schneider
431ac81407
gluon-status-page-api: split API from gluon-status-page
...
This will make it easier to replace the API with C programs.
2015-09-05 11:47:44 +02:00