Matthias Schiffer
c3150d821f
gluon-announce{,d}: create a new UCI cursor for each run
2015-12-18 17:46:24 +01:00
Matthias Schiffer
eba7ecbbc0
gluon-announced: add support for caching announced data
2015-12-18 17:43:12 +01:00
Nils Schneider
9dffb1284f
gluon-announce(d): preload functions, collectgarbage
...
By calling collectgarbage() at various places I was able to reduce heap
usage by ~270kb.
2015-10-12 20:54:03 +02:00
Nils Schneider
435ded0c60
gluon-announce: build a tree of functions first
...
collect_dir() will now pre-load all files and return a function that will
collect all information.
2015-10-12 20:54:03 +02:00
Jan-Philipp Litza
15a80aaffd
Switch from luci-lib-json to luci-lib-jsonc
...
Apart from replacing a patch for the former by two patches for latter,
this involved minimal adaptations of the lua scripts in the following
packages:
* gluon-announce
* gluon-announced
* gluon-mesh-batman-adv-core
* gluon-status-page
2015-08-30 21:05:13 +02:00
Matthias Schiffer
6bcd9b92d4
gluon-announced: allow announced queries on WAN (if mesh-on-wan is enabled)
2015-04-28 05:25:56 +02:00
Matthias Schiffer
d7fb0c7fa0
gluon-announced: use respondd
...
This also adds an extended query protocol and deflate compression.
2015-04-23 18:36:00 +02:00
NeoRaider
4947578d48
Merge pull request #87 from freifunk-darmstadt/patch-1
...
gluon-announce: rename announce.lua to collect.lua
2015-01-24 11:11:55 +01:00
flokli
63ff54e4bc
gluon-announce: rename announce.lua to collect.lua
...
Signed-off-by: flokli <florian@darmstadt.freifunk.net>
2015-01-14 10:36:32 +01:00
flokli
fc62de55e3
gluon-announced: rename DEVLIST file to gluon-announced.devs
...
was gluon-announce.devs before
Signed-off-by: flokli <florian@darmstadt.freifunk.net>
2015-01-14 10:31:29 +01:00
flokli
0df0eaeaac
gluon-announced: add dependency to gluon-announce
...
the gluon-announced package installs a hotplug script
that uses announce.lua from the gluon-announce package.
So we need to include gluon-announce as dependency.
Signed-off-by: flokli <florian@darmstadt.freifunk.net>
2015-01-14 06:20:28 +01:00
Nils Schneider
a90920e373
gluon-announced: avoid spawning zombies
2014-08-25 21:53:21 +02:00
Jan-Philipp Litza
8a32dd7887
gluon-announced: fix help message
...
It incorrectly stated "-m" to be the multicast group option, when it really was "-g"
2014-08-08 14:50:00 +02:00
Nils Schneider
74dfce8a30
gluon-announced: do not strdup optarg
2014-08-04 20:41:00 +02:00
Nils Schneider
0a3bf70d56
split announce.d into nodeinfo + statistics
2014-07-20 14:00:10 +02:00
Nils Schneider
09e1de7dde
gluon-announced: send nodeinformation on request
...
This is a simple daemon that will respond to multicast UDP packets
containing the keyword "nodeinfo" with all the information we
currently distribute using alfred.
The daemon will listen on all mesh interface, that is the hard
interfaces batman-adv uses.
2014-07-14 16:50:26 +02:00