1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-13 10:49:17 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
Matthias Schiffer
9a364fb8d0
respondd: fix crash caused by division by zero
Fixes: 31eb441db1 ("respondd: make delays specific for group and interface")
2019-05-01 16:17:14 +02:00
Matthias Schiffer
cf3e8d1a08
respondd: exit on unknown command line parameters 2019-04-21 19:29:44 +02:00
Matthias Schiffer
0f57108e3d
respondd: make all internal functions static 2019-04-21 19:29:44 +02:00
Matthias Schiffer
593b2c6266
respondd: fix incorrect use of strncpy
Fortunately, the destination buffer is always big enough, so no buffer
overflow can happen. Use memcpy instead of strncpy to make this explicit
(and slightly more efficient).
2019-04-21 19:29:44 +02:00
Matthias Schiffer
31eb441db1
respondd: make delays specific for group and interface
Previously, delays were specific for interfaces, but not for the group
address. This behaviour was confusing when the same interface was passed
for multiple group addresses. Fix by keeping track of both groups and
interfaces.
2019-04-21 19:29:44 +02:00
Matthias Schiffer
2d89e972d9
respondd: 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:08:22 +02:00
Matthias Schiffer
a906d2447f
respondd: miniz: fix -Wmisleading-indentation warning 2019-04-21 17:30:57 +02:00
lemoer
50874ee142 respondd: add documentation for some protocol related functions (#194) 2018-09-17 22:43:51 +02:00
Thomas Weißschuh
706bef6245 respondd: add diagnostics about failed module load (#171) 2017-09-28 12:35:20 +02:00
Matthias Schiffer
5c25ed888f respondd: nicer error messages 2016-12-23 00:24:02 +01:00
Jan-Philipp Litza
5ab6385331 respondd: Accept multiple data provider directories 2016-12-09 10:13:27 +01:00
lemoer
e7fbcf75a9 respondd: add support for delayed replies to multicast requests (#144) 2016-12-06 19:46:40 +01:00
Matthias Schiffer
63376e23c8
respondd: don't listen on IPv4
Our firewall rules don't expect respondd to work for IPv4.
2016-05-16 02:16:17 +02:00
Matthias Schiffer
fd06c7d67d respondd: use C modules instead of Lua to provide data 2016-02-02 06:36:39 +01:00
Matthias Schiffer
c1aa8b847b respondd: add monotonic timestamp to lua calls to allow caching 2015-12-12 18:01:24 +01:00
Matthias Schiffer
e8ee21d116 Add new package respondd, a Lua-based version of gluon-announced 2015-04-23 15:07:26 +02:00